import { useState } from 'react' import { Play, Brain, Plus, Trash2, Settings2, Loader2, Wrench } from 'lucide-react' import { useAgentStore } from '../store/agentStore' import { tools as builtinTools } from '../utils/tools' import { agents } from '../utils/agents' const EMPTY_PARAMS = '{"type":"object","properties":{}}' function ToolChip({ call }) { return (
{call?.function?.arguments || ''}
目前沒有工具
} {toolsList.map((t) => (自訂多步工具呼叫迴圈(最多 6 步)· 目前 Agent:{currentAgent.icon} {currentAgent.name}
{currentAgent.description}
輸入任務後按 Enter 執行
切換後會以該 Agent 的 system prompt 執行下一輪。