A full-screen TUI CLI agent powered by local LLMs via Docker Model Runner
Something went wrong. Try again.
:bug: fix(tui): attach tool_calls to assistant turn in agent loop master
The loop pushed an empty assistant message with no tool_calls before each tool result, so the model never saw its own request and re-issued the same call until MAX_TOOL_ITERATIONS, surfacing "[Max tool iterations reached]" when starting a proposal. Record the assistant turn with its tool_calls, answer every call (including unknown tools) via tool_call_id, and share a ChatMessage type across the loop and DMR client.
Author Sylvain Gougouzian Date (Jul 13, 2026, 9:06 PM UTC) Commit 5b0dfc21 5b0dfc21e9af44dd4fd2fa543defe96d20cc3cba Parent 5ec497cb 5ec497cbfdc0a273b0f7652db0ec8ea20e646429