Skip to content

Commit

Permalink
Modified app/utils/agixt.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
birdup000 committed Dec 26, 2024
1 parent 9f3165d commit 56ff249
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions app/utils/agixt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand All @@ -143,8 +143,6 @@ const handleRunChain = async (task: any, selectedAgent: string, backendUrl: stri
'Task Management',
task.text,
selectedAgent,
false,
1,
{
conversation_name: conversationName,
}
Expand Down Expand Up @@ -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
);

Expand Down

0 comments on commit 56ff249

Please sign in to comment.