Merge pull request #459 from octo-patch/fix/issue-382-prevent-server-crash-on-query-error

fix: return HTTP 500 instead of crashing server on query errors
This commit is contained in:
Martin authored and GitHub committed 2026-04-05 11:59:00 +02:00
commit 7b8a2271a3
2 files changed
+4 -3

No files matched your search

-2
View File
@@ -271,8 +271,6 @@ class PlannerAgent(Agent):
agents_tasks = []
required_infos = None
agents_work_result = dict()
answer = ""
self.stop = False
self.status_message = "Making a plan..."
agents_tasks = await self.make_plan(goal)