Skip to content

chore(tools): add tool-dispatch boundary logs - #1236

Merged
yaozheng-fang merged 3 commits into
mainfrom
feat/tool-blocking-diagnostics
Nov 26, 2026
Merged

yaozheng-fang merged 3 commits into
mainfrom
feat/tool-blocking-diagnostics

Conversation

@wujiaming-ai

Copy link
Copy Markdown
Collaborator

Log function_calls/call_tool entry and exit boundaries plus bash_tool path and subprocess phases so blocking during tool dispatch can be localized from logs alone.

Logging only; return values, exceptions, timeouts and control flow are unchanged.

Log function_calls/call_tool entry and exit boundaries plus bash_tool path and subprocess phases so blocking during tool dispatch can be localized from logs alone.

Logging only; return values, exceptions, timeouts and control flow are unchanged.
Add fail-open boundary logs around the paths that can block a turn for
tens of minutes: LLM request/stream lifecycle, turn execution, tool
dispatch, bash subprocess lifecycle, run_code, and Volcengine HTTP calls.

All new log points go through safe_info/safe_warning so a broken logging
backend can never interrupt execution; formatter work in log arguments
is also guarded. No return values, exceptions, or timeout semantics are
changed.
@yaozheng-fang
yaozheng-fang merged commit 6800ad2 into main Nov 26, 2026
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants