chore: clean up

This commit is contained in:
Simon
2026-02-11 19:27:14 +08:00
parent 1fcf931685
commit fcb9ec4e57
4 changed files with 5 additions and 28 deletions

View File

@@ -75,7 +75,7 @@ export function useAgent(): UseAgentResult {
const execute = useCallback(async (task: string) => {
const agent = agentRef.current
console.log('Fire task:', task, agent)
console.log('🚀 [useAgent] start executing task:', task)
if (!agent) throw new Error('Agent not initialized')
setCurrentTask(task)