deerflow2/backend/packages/harness/deerflow/tools/builtins
SHIYAO ZHANG 690d80f46f
fix(task_tool): fallback to configurable thread_id when context is mi… (#1343)
* fix(task_tool): fallback to configurable thread_id when context is missing

task_tool only read thread_id from runtime.context, but when invoked
via LangGraph Server, thread_id lives in config.configurable instead.
Add the same fallback that ThreadDataMiddleware uses (PR #1237).

Fixes subagent execution failure: 'Thread ID is required in runtime
context or config.configurable'

* remove debug logging from task_tool
2026-03-28 16:44:15 +08:00
..
__init__.py refactor: split backend into harness (deerflow.*) and app (app.*) (#1131) 2026-03-14 22:55:52 +08:00
clarification_tool.py refactor: split backend into harness (deerflow.*) and app (app.*) (#1131) 2026-03-14 22:55:52 +08:00
invoke_acp_agent_tool.py feat(acp): add env field to ACPAgentConfig for subprocess env injection (#1447) 2026-03-27 20:03:30 +08:00
present_file_tool.py fix: add null checks for runtime.context in middlewares and tools (#1269) 2026-03-25 08:46:42 +08:00
setup_agent_tool.py fix: add null checks for runtime.context in middlewares and tools (#1269) 2026-03-25 08:46:42 +08:00
task_tool.py fix(task_tool): fallback to configurable thread_id when context is mi… (#1343) 2026-03-28 16:44:15 +08:00
tool_search.py feat(harness): integration ACP agent tool (#1344) 2026-03-26 14:20:18 +08:00
view_image_tool.py refactor: split backend into harness (deerflow.*) and app (app.*) (#1131) 2026-03-14 22:55:52 +08:00