mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #3442] [Engine] Full context window even in new chats #1396
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#1396
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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:
@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:
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
@github-actions[bot] commented on GitHub (Oct 20, 2026):
Thanks, this follows the format now.
@hacktek commented on GitHub (Oct 20, 2026):
This is happening to me too using deepseek harness
@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.
@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:
Problem:
Agentic coding sessions repeatedly stop with:
The desktop log contains:
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?
@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:
/reopen. A check runs and either reopens the issue or lists what is still missing.The rules are in CONTRIBUTING.md.