mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-05-03 02:30: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
|
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,
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ These outstanding projects form the backbone of DeerFlow and exemplify the trans
|
|||||||
### Special Thanks
|
### Special Thanks
|
||||||
Finally, we want to express our heartfelt gratitude to the core authors of `DeerFlow`:
|
Finally, we want to express our heartfelt gratitude to the core authors of `DeerFlow`:
|
||||||
|
|
||||||
- **[DanielWalnut](https://github.com/hetaoBackend/)**
|
- **[Daniel Walnut](https://github.com/hetaoBackend/)**
|
||||||
- **[Henry Li](https://github.com/magiccube/)**
|
- **[Henry Li](https://github.com/magiccube/)**
|
||||||
|
|
||||||
Without their vision, passion and dedication, `DeerFlow` would not be what it is today.
|
Without their vision, passion and dedication, `DeerFlow` would not be what it is today.
|
||||||
|
|||||||
Reference in New Issue
Block a user