mirror of
https://git.mirrors.martin98.com/https://github.com/bytedance/deer-flow
synced 2025-10-04 15:46:44 +08:00
feat: add necessary log when no tool calls (#16)
This commit is contained in:
parent
a4da95f412
commit
091f437bc5
@ -225,6 +225,12 @@ def coordinator_node(
|
|||||||
break
|
break
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.error(f"Error processing tool calls: {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(
|
return Command(
|
||||||
update={"locale": locale},
|
update={"locale": locale},
|
||||||
goto=goto,
|
goto=goto,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user