You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
v0.49.0: add interaction_mode: off — silent agent mode
Adds "off" as a valid interaction_mode value that suppresses all
per-iteration render output (iteration headers, thinking, tool calls,
tool results, summary) and delivers the clean final answer to stdout.
Implementation:
- Add interactionMode field + SetInteractionMode() to loop Engine
- Gate all 6 render call sites with e.interactionMode != "off"
- Wire interactionMode from Agent Config to engine
- CLI: skip rend.Start() header, print clean result to stdout
- Telegram: force toolProgress="off" when interaction_mode="off"
- Update /mode help, config docs, and AGENTS.md
- Unit tests at loop level (render suppression) and config level (value acceptance)
- Set global config: interaction_mode=off, tool_progress=new
fmt.Fprint(w, `{"choices":[{"message":{"content":"Let me check.","tool_calls":[{"id":"call_1","function":{"name":"echo","arguments":"{\"text\":\"hello\"}"}}]}}]}`)
fmt.Fprint(w, `{"choices":[{"message":{"content":"Let me check.","tool_calls":[{"id":"call_1","function":{"name":"echo","arguments":"{\"text\":\"hello\"}"}}]}}]}`)
0 commit comments