mirror of https://github.com/kortix-ai/suna.git
Merge branch 'kortix-ai:main' into feat/task_list_tool
This commit is contained in:
commit
90063d7c59
|
@ -95,6 +95,7 @@ class AgentConfigTool(AgentBuilderBaseTool):
|
|||
avatar_color: Optional[str] = None
|
||||
) -> ToolResult:
|
||||
try:
|
||||
account_id = await self._get_current_account_id()
|
||||
client = await self.db.client
|
||||
|
||||
agent_result = await client.table('agents').select('*').eq('agent_id', self.agent_id).execute()
|
||||
|
@ -155,7 +156,7 @@ class AgentConfigTool(AgentBuilderBaseTool):
|
|||
current_version_obj = await version_service.get_version(
|
||||
agent_id=self.agent_id,
|
||||
version_id=current_agent['current_version_id'],
|
||||
user_id=self.account_id
|
||||
user_id=account_id
|
||||
)
|
||||
current_version = current_version_obj.to_dict()
|
||||
except Exception as e:
|
||||
|
@ -224,7 +225,7 @@ class AgentConfigTool(AgentBuilderBaseTool):
|
|||
|
||||
new_version = await version_service.create_version(
|
||||
agent_id=self.agent_id,
|
||||
user_id=self.account_id,
|
||||
user_id=account_id,
|
||||
system_prompt=current_system_prompt,
|
||||
configured_mcps=current_configured_mcps,
|
||||
custom_mcps=current_custom_mcps,
|
||||
|
|
|
@ -59,47 +59,6 @@ export function KortixProcessModal() {
|
|||
employees data.
|
||||
</p>
|
||||
|
||||
<div className="space-y-8 mb-auto flex-shrink-0">
|
||||
<div className="transition-all duration-300 hover:translate-x-1 group">
|
||||
<h3 className="text-base md:text-lg font-medium mb-3 flex items-center">
|
||||
<span className="bg-primary text-primary-foreground w-7 h-7 rounded-full inline-flex items-center justify-center mr-3 text-sm group-hover:shadow-md transition-all duration-300">
|
||||
1
|
||||
</span>
|
||||
<span>Record</span>
|
||||
</h3>
|
||||
<p className="text-base text-muted-foreground ml-10">
|
||||
We record what employees do to understand their workflows
|
||||
and tasks.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div className="transition-all duration-300 hover:translate-x-1 group">
|
||||
<h3 className="text-base md:text-lg font-medium mb-3 flex items-center">
|
||||
<span className="bg-primary text-primary-foreground w-7 h-7 rounded-full inline-flex items-center justify-center mr-3 text-sm group-hover:shadow-md transition-all duration-300">
|
||||
2
|
||||
</span>
|
||||
<span>Train</span>
|
||||
</h3>
|
||||
<p className="text-base text-muted-foreground ml-10">
|
||||
AI is trained on the captured data to learn the tasks and
|
||||
decision-making.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div className="transition-all duration-300 hover:translate-x-1 group">
|
||||
<h3 className="text-base md:text-lg font-medium mb-3 flex items-center">
|
||||
<span className="bg-primary text-primary-foreground w-7 h-7 rounded-full inline-flex items-center justify-center mr-3 text-sm group-hover:shadow-md transition-all duration-300">
|
||||
3
|
||||
</span>
|
||||
<span>Automate</span>
|
||||
</h3>
|
||||
<p className="text-base text-muted-foreground ml-10">
|
||||
AI agents automate tasks previously done by humans, with
|
||||
continuous learning and improvement.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="border-t border-gray-200 dark:border-gray-800 pt-6 mt-6 flex-shrink-0">
|
||||
<p className="text-base font-medium mb-3">Key Benefits</p>
|
||||
<div className="grid grid-cols-1 md:grid-cols-2 gap-y-2 gap-x-4">
|
||||
|
|
Loading…
Reference in New Issue