diff --git a/app/utils/agixt.ts b/app/utils/agixt.ts index dd3ef32..8f33432 100644 --- a/app/utils/agixt.ts +++ b/app/utils/agixt.ts @@ -123,7 +123,7 @@ const parseSubtasks = (result: string): Task[] => { } }; -const handleRunChain = async (task: any, selectedAgent: string, backendUrl: string, authToken: string) => { +const handleRunChain = async (task: any, selectedAgent: string, backendUrl: string, authToken: string) =>{ if (!selectedAgent) { return; } @@ -143,8 +143,6 @@ const handleRunChain = async (task: any, selectedAgent: string, backendUrl: stri 'Task Management', task.text, selectedAgent, - false, - 1, { conversation_name: conversationName, } @@ -260,9 +258,10 @@ Example format: .replace('{priority}', task.priority || '') .replace('{additionalContext}', ''); - const result = await agixt.prompt( + const result = await agixt.prompt( selectedAgent, userInput, + {}, conversationName );