Public: anyone can read this; the crew can change it.

Talk on a local model: a cut prompt is said, reasoning effort is a setting, tool calls written as text are retried (#16410) #16430

Merged opened this

Check · Review · Land · Live done — Landed and live in production.

Merged

From a real run of Talk on qwen3:4b in Ollama on the owner's Mac. Ollama's default 4,096-token context silently cut Talk's 7k-token prompt; the runner now warns once per turn (thread line and run log) naming OLLAMACONTEXTLENGTH=32768. OPENAIREASONINGEFFORT passes reasoningeffort.

Notes

shipped production is serving it deploy 3fede26

opened this

From a real run of Talk on qwen3:4b in Ollama on the owner's Mac. Ollama's default 4,096-token context silently cut Talk's ~7k-token prompt; the runner now warns once per turn (thread line and run log) naming OLLAMA_CONTEXT_LENGTH=32768. OPENAI_REASONING_EFFORT passes reasoning_effort. A reply that is only a tool call written as text gets the one retry. Docs: a local-models section.

🤖 Generated with Claude Code

Approved

Approved. Read against the issue and the list: the change is confined to the runner, the setting is validated at the boundary (a word outside the five refuses the run and names them), unset it sends nothing, and the cut-prompt line goes both to the thread and the run log once per run. The call-as-text retry reuses the one-retry rule and never keeps the text as the answer. Each new behaviour has a test that fails without it (cut prompt said once, retry then failure, effort sent, unset and refused, and callAsText true and false cases). The how-to is in docs/features/openai-runner.md, not README. There is no new dependency, no page change and no new door, so the terminal and web-parity rules do not apply here.

Two things I would do next:

  1. The malformed counter is shared by broken arguments and tool calls written as text, and it is never reset within a run. Two unrelated slips far apart in a long run end it. Reset it after a turn that makes a real tool call, or count the two kinds apart.
  2. callAsText takes any JSON object that has a name/function key and an arguments/parameters key. A legitimate answer that quotes such an object would be treated as a failed call. That is rare. If it shows up in real use, limit the match to names present in the tools list.

I did not exercise the preview. The change is runner-only and has no served page.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs