feat: add support for thought processing in conversation flow and introduce ReActAgent

This commit is contained in:
Siddhant Rai
2025-03-27 23:19:08 +05:30
parent 1620b4f214
commit 82d377abf5
11 changed files with 643 additions and 334 deletions

View File

@@ -21,6 +21,7 @@ export interface Answer {
result: string;
conversationId: string | null;
title: string | null;
thought: string;
sources: { title: string; text: string; source: string }[];
tool_calls: ToolCallsType[];
}
@@ -32,6 +33,7 @@ export interface Query {
error?: string;
conversationId?: string | null;
title?: string | null;
thought?: string;
sources?: { title: string; text: string; source: string }[];
tool_calls?: ToolCallsType[];
}