deerflow2/src
Willem Jiang 3f15133c36 feat: add comprehensive debug logging for issue #477 hanging/freezing diagnosis (#662)
* feat: add comprehensive debug logging for issue #477 hanging/freezing diagnosis
- Add debug logging to src/server/app.py for event streaming and message chunk processing
- Track graph event flow with thread IDs for correlation
- Add detailed logging in interrupt event processing
- Add debug logging to src/agents/tool_interceptor.py for tool execution and interrupt handling
- Log interrupt decision flow and user feedback processing
- Add debug logging to src/graph/nodes.py for agent node execution
- Track step execution progress and agent coordination in research_team_node
- Add debug logging to src/agents/agents.py for agent creation and tool wrapping
- Update server.py to enable debug logging when --log-level debug is specified
- Add thread ID correlation throughout for better diagnostics
- Helps diagnose hanging/freezing issues during workflow execution

* Apply suggestions from code review

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-27 08:21:30 +08:00
..
agents feat: add comprehensive debug logging for issue #477 hanging/freezing diagnosis (#662) 2025-10-27 08:21:30 +08:00
config feat: implement tool-specific interrupts for create_react_agent (#572) (#659) 2025-10-26 09:47:03 +08:00
crawler fix: resolve issue #651 - crawl error with None content handling (#652) 2025-10-24 17:06:54 +08:00
graph feat: add comprehensive debug logging for issue #477 hanging/freezing diagnosis (#662) 2025-10-27 08:21:30 +08:00
llms feat: add context compress (#590) 2025-09-27 21:42:22 +08:00
podcast refactor: refactor the prompt management mechanism (#17) 2025-05-09 15:50:46 +08:00
ppt/graph fix: some lint fix using tools (#98) 2025-07-12 13:59:02 +08:00
prompt_enhancer feat: Add comprehensive Chinese localization support for issue #412 (#649) 2025-10-24 16:31:19 +08:00
prompts fix: repair missing step_type fields in Plan validation (#653) 2025-10-24 21:26:48 +08:00
prose/graph feat: 1. replace black with ruff for fomatting and sort import (#489) 2025-08-17 22:57:23 +08:00
rag feat: add strategic_investment report style (#595) 2025-09-24 09:50:36 +08:00
server feat: add comprehensive debug logging for issue #477 hanging/freezing diagnosis (#662) 2025-10-27 08:21:30 +08:00
tools Fix: clarification bugs - max rounds, locale passing, and over-clarification (#647) 2025-10-24 16:43:39 +08:00
utils fix: parsed json with extra tokens issue (#656) 2025-10-26 07:24:25 +08:00
__init__.py docs: refine readme 2025-04-17 11:54:24 +08:00
workflow.py fix: Refine clarification workflow state handling (#641) 2025-10-22 22:49:07 +08:00