[GH-ISSUE #3442] [Engine] Full context window even in new chats #1396

Closed
opened 2026-11-04 01:50:58 +07:00 by bsakaguchi · 6 comments
Owner

Originally created by @HyperOrnstein on GitHub (Oct 20, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/3442

Hi guys, I'm running the latest AppImage and it worked really well earlier today.
But now everytime I try prompting something I get the message:
_The conversation no longer fits the model's context window. 400: {"type":"invalid_request_error","message":"request exceeds the context window: prompt (252865 tokens) leaves no room to answer in the context (65536); requests are never truncated"}
_
This problem stays no matter what I do, even in new chats, when I delete old chats or switch models.
Is there anything I can do? Or is this a bug?

Problem:
Environment: <Strata 0.2.1, CachyOS, GPU RX 9070 XT 12GB/VRAM 48GB, Qwen3.8-Flash-Next IQ2_XS and IQ3_XXS, relevant settings>
Reproduce:
Expected:
Actual: <The conversation no longer fits the model's context window. 400: {"type":"invalid_request_error","message":"request exceeds the context window: prompt (252865 tokens) leaves no room to answer in the context (65536); requests are never truncated"}>
Evidence: <Strata diagnostics 2026-10-20T13:14:42.057Z
Version 0.1.46

== Engine messages ==
2026-10-20T13:02:36.472Z control: [strata-mcp] ready (Strata folder /home/joke/.local/share/strata/install)

2026-10-20T13:03:59.288Z 0e52e29c-5b04-4e9c-b858-1a09f89a3aa1: Strata Control reports the engine is ready.

== Operations ==
2026-10-20T06:50:12.265Z install error: Some model files are missing. Use Download / repair to restore them.
2026-10-20T06:50:28.068Z remove done
2026-10-20T06:51:19.739Z install error: Some model files are missing. Use Download / repair to restore them.
2026-10-20T07:10:18.452Z install error: Some model files are missing. Use Download / repair to restore them.
2026-10-20T07:24:18.193Z install error: Some model files are missing. Use Download / repair to restore them.
2026-10-20T07:31:02.742Z install done
2026-10-20T07:34:15.780Z install done
2026-10-20T07:49:34.792Z install done
2026-10-20T12:40:21.361Z install done
2026-10-20T12:53:23.423Z install done
2026-10-20T13:03:19.482Z load done
2026-10-20T13:06:08.293Z autotune done

== Desktop shell: window crash logs (0 newest) ==

== Desktop shell: last lines of the newest 2 run logs ==

-- desktop-20261020-130232.log
[shell] Strata desktop 0.2.1 starting (pid 94470)
[host] strata host · http://127.0.0.1:47831
[host] hardware · Advanced Micro Devices, Inc. [AMD/ATI] Navi 48 [Radeon RX 9070/9070 XT/9070 GRE] (rev c0) / vulkan / 8 cores / 47 GB
[host] models dir · /home/.../Dokumente/Strata/Models
[host] workspace · /home/.../Documents/Strata/Workspace
[host] inference · Strata engine 0.1.46 is installed; no model is loaded yet
[window]
[window] ** (strata-desktop:94515): WARNING **: 15:02:57.827: atk-bridge: get_device_events_reply: unknown signature
[host] agent · Harness 0.2.1-alpha.3 ready (pid 96348, 1 route(s))
[host] agent · compact after a stopped turn: error Compaction could not produce a useful summary. The attempt is recorded in the session log.
[host] agent · compact after a stopped turn: error Compaction could not produce a useful summary. The attempt is recorded in the session log.

-- desktop-20261020-074822.log
[shell] Strata desktop 0.2.0-beta starting (pid 22929)
[host] strata host · http://127.0.0.1:47831
[host] hardware · Advanced Micro Devices, Inc. [AMD/ATI] Navi 48 [Radeon RX 9070/9070 XT/9070 GRE] (rev c0) / vulkan / 8 cores / 47 GB
[host] inference · unpacking the bundled engine… (about a minute the first time)
[host] models dir · /home/.../Dokumente/Strata/Models
[host] workspace · /home/.../Documents/Strata/Workspace
[window]
[window] ** (strata-desktop:22969): WARNING **: 09:48:47.729: atk-bridge: get_device_events_reply: unknown signature
[host] agent · Harness 0.2.1-alpha.3 ready (pid 25345, 1 route(s))
[host] agent · the Harness process exited (code 0)
[host] agent · Harness 0.2.1-alpha.3 ready (pid 87990, 1 route(s))
[host] agent · compact after a stopped turn: error Compaction could not produce a useful summary. The attempt is recorded in the session log.
[host] agent · compact after a stopped turn: error Compaction could not produce a useful summary. The attempt is recorded in the session log.
[host] agent · compact after a stopped turn: error Compaction could not produce a useful summary. The attempt is recorded in the session log.
[host] agent · compact after a stopped turn: error Compaction could not produce a useful summary. The attempt is recorded in the session log.
[host] agent · the Harness process exited (code 0)
[host] agent · Harness 0.2.1-alpha.3 ready (pid 92367, 1 route(s))
[host] agent · compact after a stopped turn: error Compaction could not produce a useful summary. The attempt is recorded in the session log.
[shell] the window was closed: stopping the host
[host] agent · the Harness process exited (code 0)>
Reproduction status:

Originally created by @HyperOrnstein on GitHub (Oct 20, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/3442 Hi guys, I'm running the latest AppImage and it worked really well earlier today. But now everytime I try prompting something I get the message: _The conversation no longer fits the model's context window. 400: {"type":"invalid_request_error","message":"request exceeds the context window: prompt (252865 tokens) leaves no room to answer in the context (65536); requests are never truncated"} _ This problem stays no matter what I do, even in new chats, when I delete old chats or switch models. Is there anything I can do? Or is this a bug? Problem: <exceeded context window> Environment: <Strata 0.2.1, CachyOS, GPU RX 9070 XT 12GB/VRAM 48GB, Qwen3.8-Flash-Next IQ2_XS and IQ3_XXS, relevant settings> Reproduce: <exact command or short sequence> Expected: <documented or intended behavior> Actual: <The conversation no longer fits the model's context window. 400: {"type":"invalid_request_error","message":"request exceeds the context window: prompt (252865 tokens) leaves no room to answer in the context (65536); requests are never truncated"}> Evidence: <Strata diagnostics 2026-10-20T13:14:42.057Z Version 0.1.46 == Engine messages == 2026-10-20T13:02:36.472Z control: [strata-mcp] ready (Strata folder /home/joke/.local/share/strata/install) 2026-10-20T13:03:59.288Z 0e52e29c-5b04-4e9c-b858-1a09f89a3aa1: Strata Control reports the engine is ready. == Operations == 2026-10-20T06:50:12.265Z install error: Some model files are missing. Use Download / repair to restore them. 2026-10-20T06:50:28.068Z remove done 2026-10-20T06:51:19.739Z install error: Some model files are missing. Use Download / repair to restore them. 2026-10-20T07:10:18.452Z install error: Some model files are missing. Use Download / repair to restore them. 2026-10-20T07:24:18.193Z install error: Some model files are missing. Use Download / repair to restore them. 2026-10-20T07:31:02.742Z install done 2026-10-20T07:34:15.780Z install done 2026-10-20T07:49:34.792Z install done 2026-10-20T12:40:21.361Z install done 2026-10-20T12:53:23.423Z install done 2026-10-20T13:03:19.482Z load done 2026-10-20T13:06:08.293Z autotune done == Desktop shell: window crash logs (0 newest) == == Desktop shell: last lines of the newest 2 run logs == -- desktop-20261020-130232.log [shell] Strata desktop 0.2.1 starting (pid 94470) [host] strata host · http://127.0.0.1:47831 [host] hardware · Advanced Micro Devices, Inc. [AMD/ATI] Navi 48 [Radeon RX 9070/9070 XT/9070 GRE] (rev c0) / vulkan / 8 cores / 47 GB [host] models dir · /home/.../Dokumente/Strata/Models [host] workspace · /home/.../Documents/Strata/Workspace [host] inference · Strata engine 0.1.46 is installed; no model is loaded yet [window] [window] ** (strata-desktop:94515): WARNING **: 15:02:57.827: atk-bridge: get_device_events_reply: unknown signature [host] agent · Harness 0.2.1-alpha.3 ready (pid 96348, 1 route(s)) [host] agent · compact after a stopped turn: error Compaction could not produce a useful summary. The attempt is recorded in the session log. [host] agent · compact after a stopped turn: error Compaction could not produce a useful summary. The attempt is recorded in the session log. -- desktop-20261020-074822.log [shell] Strata desktop 0.2.0-beta starting (pid 22929) [host] strata host · http://127.0.0.1:47831 [host] hardware · Advanced Micro Devices, Inc. [AMD/ATI] Navi 48 [Radeon RX 9070/9070 XT/9070 GRE] (rev c0) / vulkan / 8 cores / 47 GB [host] inference · unpacking the bundled engine… (about a minute the first time) [host] models dir · /home/.../Dokumente/Strata/Models [host] workspace · /home/.../Documents/Strata/Workspace [window] [window] ** (strata-desktop:22969): WARNING **: 09:48:47.729: atk-bridge: get_device_events_reply: unknown signature [host] agent · Harness 0.2.1-alpha.3 ready (pid 25345, 1 route(s)) [host] agent · the Harness process exited (code 0) [host] agent · Harness 0.2.1-alpha.3 ready (pid 87990, 1 route(s)) [host] agent · compact after a stopped turn: error Compaction could not produce a useful summary. The attempt is recorded in the session log. [host] agent · compact after a stopped turn: error Compaction could not produce a useful summary. The attempt is recorded in the session log. [host] agent · compact after a stopped turn: error Compaction could not produce a useful summary. The attempt is recorded in the session log. [host] agent · compact after a stopped turn: error Compaction could not produce a useful summary. The attempt is recorded in the session log. [host] agent · the Harness process exited (code 0) [host] agent · Harness 0.2.1-alpha.3 ready (pid 92367, 1 route(s)) [host] agent · compact after a stopped turn: error Compaction could not produce a useful summary. The attempt is recorded in the session log. [shell] the window was closed: stopping the host [host] agent · the Harness process exited (code 0)> Reproduction status: <reproduced locally>
Author
Owner

@github-actions[bot] commented on GitHub (Oct 20, 2026):

Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing:

  • Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other], then a short description. Example: "[Engine] decode stops after 2 minutes".

Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment /reopen.

Details: CONTRIBUTING.md

<!-- gh-comment-id:6292021230 --> @github-actions[bot] commented on GitHub (Oct 20, 2026): Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing: - [ ] Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other], then a short description. Example: "[Engine] decode stops after 2 minutes". Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment `/reopen`. Details: [CONTRIBUTING.md](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md)
Author
Owner

@github-actions[bot] commented on GitHub (Oct 20, 2026):

Thanks, this follows the format now.

<!-- gh-comment-id:6292042432 --> @github-actions[bot] commented on GitHub (Oct 20, 2026): Thanks, this follows the format now.
Author
Owner

@hacktek commented on GitHub (Oct 20, 2026):

This is happening to me too using deepseek harness

<!-- gh-comment-id:6303788477 --> @hacktek commented on GitHub (Oct 20, 2026): This is happening to me too using deepseek harness
Author
Owner

@Ashdemai commented on GitHub (Oct 22, 2026):

happening to me too, filled the context once and now I cannot clear context even with new chats. Tried other models too, but the context still isn't cleared.

<!-- gh-comment-id:6351900013 --> @Ashdemai commented on GitHub (Oct 22, 2026): happening to me too, filled the context once and now I cannot clear context even with new chats. Tried other models too, but the context still isn't cleared.
Author
Owner

@aestuar commented on GitHub (Oct 25, 2026):

I'm experiencing a similar issue on Bazzite Linux (Fedora Atomic/KDE) with Strata Desktop 0.2.2 and Agent Harness 0.2.1-alpha.3.

Setup:

  • Model: Qwen3.8-Flash-Next GSQ-RCO IQ3_S
  • GPU: RTX 4070 Ti SUPER (16 GB VRAM)
  • System RAM: 64 GB
  • Context window: 32K (previously 64K)
  • Engine: 0.1.50
  • KV cache: INT8

Problem:

Agentic coding sessions repeatedly stop with:

"In this chat I've run out of space, so I've stopped. Strata is summarizing older messages to make room. Type 'continue' or start a new chat."

The desktop log contains:

[host] agent · compact after a stopped turn: error Compaction could not produce a useful summary.

This happened multiple times, including in relatively short sessions where no new subagents were launched.

Previously, longer coding sessions with subagents worked successfully. The issue persisted after switching between disk-backed (--mmap-experts) and RAM-resident (--resident-experts) modes.

The inference engine remains running, so this does not appear to be an OOM crash.

Is this a known issue with context compaction in Agent Harness 0.2.1-alpha.3? Are there additional session logs or diagnostics that would help identify why compaction fails?

<!-- gh-comment-id:6402366442 --> @aestuar commented on GitHub (Oct 25, 2026): I'm experiencing a similar issue on Bazzite Linux (Fedora Atomic/KDE) with Strata Desktop 0.2.2 and Agent Harness 0.2.1-alpha.3. **Setup:** - Model: Qwen3.8-Flash-Next GSQ-RCO IQ3_S - GPU: RTX 4070 Ti SUPER (16 GB VRAM) - System RAM: 64 GB - Context window: 32K (previously 64K) - Engine: 0.1.50 - KV cache: INT8 **Problem:** Agentic coding sessions repeatedly stop with: > "In this chat I've run out of space, so I've stopped. Strata is summarizing older messages to make room. Type 'continue' or start a new chat." The desktop log contains: ``` [host] agent · compact after a stopped turn: error Compaction could not produce a useful summary. ``` This happened multiple times, including in relatively short sessions where no new subagents were launched. Previously, longer coding sessions with subagents worked successfully. The issue persisted after switching between disk-backed (`--mmap-experts`) and RAM-resident (`--resident-experts`) modes. The inference engine remains running, so this does not appear to be an OOM crash. Is this a known issue with context compaction in Agent Harness 0.2.1-alpha.3? Are there additional session logs or diagnostics that would help identify why compaction fails?
Author
Owner

@Niko1221 commented on GitHub (Nov 5, 2026):

Thanks for taking the time to report this.

Strata has changed a lot since this was opened, and 0.2.11 is out now, so many older reports no longer apply. We're closing issues older than a week that have had no new reports in the last week. Closed here does not mean rejected.

To reopen it takes about two minutes:

  1. Re-test on 0.2.11. 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:6659480119 --> @Niko1221 commented on GitHub (Nov 5, 2026): Thanks for taking the time to report this. Strata has changed a lot since this was opened, and 0.2.11 is out now, so many older reports no longer apply. We're closing issues older than a week that have had no new reports in the last week. Closed here does not mean rejected. To reopen it takes about two minutes: 1. Re-test on 0.2.11. 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#1396
No description provided.