Merge pull request #1015 from joaquinescalante23/fix/search-resilience-and-timeouts

feat: improve search resilience with timeouts and widget error handling
This commit is contained in:
Kushagra Srivastava
2026-03-10 19:05:09 +05:30
committed by GitHub
2 changed files with 27 additions and 5 deletions

View File

@@ -19,6 +19,9 @@ class APISearchAgent {
chatHistory: input.chatHistory,
followUp: input.followUp,
llm: input.config.llm,
}).catch((err) => {
console.error(`Error executing widgets: ${err}`);
return [];
});
let searchPromise: Promise<ResearcherOutput> | null = null;