From 56ff249aa8b37655ae197a8ad75f0177cbd343d0 Mon Sep 17 00:00:00 2001 From: Birdup <34012548+birdup000@users.noreply.github.com> Date: Wed, 25 Dec 2024 18:50:22 -0600 Subject: [PATCH] Modified app/utils/agixt.ts --- app/utils/agixt.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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 );