mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-04-13 10:24:44 +08:00
feat: add necessary log when no tool calls (#16)
This commit is contained in:
@@ -225,6 +225,12 @@ def coordinator_node(
|
||||
break
|
||||
except Exception as e:
|
||||
logger.error(f"Error processing tool calls: {e}")
|
||||
else:
|
||||
logger.warning(
|
||||
"Coordinator response contains no tool calls. Terminating workflow execution."
|
||||
)
|
||||
logger.debug(f"Coordinator response: {response}")
|
||||
|
||||
return Command(
|
||||
update={"locale": locale},
|
||||
goto=goto,
|
||||
|
||||
Reference in New Issue
Block a user