Telegram agent leaks tool-call JSON after step limit #64
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
When a local LLM requests another tool after TELEGRAM_AGENT_MAX_STEPS is exhausted, the terminal agent returns the raw protocol object to Telegram instead of a user-facing answer.
Observed response begins with {type:tool_call,...} after successful evidence/scenario/brief tools.
Acceptance criteria
Actively handled now on branch
codex/issue-64-agent-finalization.