[GH-ISSUE #2297] Agent history with long tool_calls arguments produces reasoning_content + empty content on final turns #927

Closed
opened 2026-11-04 01:47:05 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @bys13 on GitHub (Oct 13, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/2297

Agent history with long tool_calls arguments produces reasoning_content + empty content on final turns

Environment

  • Strata 0.1.43.1, --serve
  • Model: Qwen3.8-Flash-Next-UD-IQ4_XS (served as qwen3.8-flash-next-unsloth-ud-iq4_xs)
  • Launch flags: --spec 4 --mtp rt --max-context 262144 --kv int8 --kv-resident 32768 --resident-budget-gib 55 --vision --vram-reserve-mib 700 --spec-min-p 0.5
  • /metrics engine block: expert_slots 15896, pcie_frac 0.55, spec 6, mtp_max 4, lookup 3, vram_free_mib 1208, kv int8, kv_resident 32768
  • Client: pi 1.2.0 via /v1/chat/completions, chat_template_kwargs: {"enable_thinking": true}, assistant history replayed with reasoning_content

Symptom

On the final turn of an agent loop — the turn that should produce a user-facing answer — the response comes back with a complete reasoning_content block, finish_reason: "stop", several hundred output tokens, and content: "".

finish_reason = "stop"
reasoning_content = "... 2000+ chars of correct, on-topic analysis ..."
content           = ""
output_tokens     = 340

The reasoning is coherent and answers the question — it just never gets emitted as content. Sometimes content contains a truncated fragment of the reasoning instead of the answer, which looks like the `

Originally created by @bys13 on GitHub (Oct 13, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/2297 # Agent history with long `tool_calls` arguments produces `reasoning_content` + empty `content` on final turns ## Environment - Strata **0.1.43.1**, `--serve` - Model: `Qwen3.8-Flash-Next-UD-IQ4_XS` (served as `qwen3.8-flash-next-unsloth-ud-iq4_xs`) - Launch flags: `--spec 4 --mtp rt --max-context 262144 --kv int8 --kv-resident 32768 --resident-budget-gib 55 --vision --vram-reserve-mib 700 --spec-min-p 0.5` - `/metrics` engine block: `expert_slots 15896`, `pcie_frac 0.55`, `spec 6`, `mtp_max 4`, `lookup 3`, `vram_free_mib 1208`, `kv int8`, `kv_resident 32768` - Client: pi 1.2.0 via `/v1/chat/completions`, `chat_template_kwargs: {"enable_thinking": true}`, assistant history replayed with `reasoning_content` ## Symptom On the **final turn of an agent loop** — the turn that should produce a user-facing answer — the response comes back with a complete `reasoning_content` block, `finish_reason: "stop"`, several hundred output tokens, and **`content: ""`**. ``` finish_reason = "stop" reasoning_content = "... 2000+ chars of correct, on-topic analysis ..." content = "" output_tokens = 340 ``` The reasoning is coherent and answers the question — it just never gets emitted as `content`. Sometimes `content` contains a truncated fragment of the reasoning instead of the answer, which looks like the `
Author
Owner

@Niko1221 commented on GitHub (Oct 19, 2026):

Thanks for taking the time to report this.

We're resetting the tracker for 0.2.0-beta. There are more than 1,300 open issues and pull requests, too many for us to read properly, so we're closing everything that isn't being worked on right now. Closed here does not mean rejected.

To reopen it takes about two minutes:

  1. Re-test on 0.2.0-beta. It may already be fixed. Write down what you see.
  2. Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other].
  3. Fill in the parts of the issue form: what happened, the Strata version, your graphics card, memory and system.
  4. Comment /reopen. A check runs and either reopens the issue or lists what is still missing.

The rules are in CONTRIBUTING.md.

<!-- gh-comment-id:6270935994 --> @Niko1221 commented on GitHub (Oct 19, 2026): Thanks for taking the time to report this. We're resetting the tracker for 0.2.0-beta. There are more than 1,300 open issues and pull requests, too many for us to read properly, so we're closing everything that isn't being worked on right now. Closed here does not mean rejected. To reopen it takes about two minutes: 1. Re-test on 0.2.0-beta. It may already be fixed. Write down what you see. 2. Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other]. 3. Fill in the parts of the issue form: what happened, the Strata version, your graphics card, memory and system. 4. Comment `/reopen`. A check runs and either reopens the issue or lists what is still missing. The rules are in [CONTRIBUTING.md](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#927
No description provided.