File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -265,12 +265,13 @@ async def generate_plan(
265265 if last_message .get ("role" ) == "assistant" and isinstance (last_message .get ("content" ), str ):
266266 content = last_message ["content" ]
267267
268- print (f"[INFO] Received chunk from planner agent: { content } " )
269268
270269 # Extract JSON from markdown code block if present
271270 match = re .search (r'```json\n(.*?)\n```' , content , re .DOTALL )
272271 final_response_str = match .group (1 ) if match else content
273-
272+
273+ print (f"[INFO] Received chunk from planner agent: { content } " )
274+ print (f"[INFO] Final response from planner agent: { final_response_str } " )
274275 if not final_response_str :
275276 raise HTTPException (status_code = 500 , detail = "Planner agent returned an empty response." )
276277
You can’t perform that action at this time.
0 commit comments