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
2026-04-05 11:59:00 +02:00
committed by GitHub
2 changed files with 4 additions and 3 deletions
-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)