问题 / #3442

#3442 [Engine] Full context window even in new chats

open · @HyperOrnstein · 2 评论 · 去 GitHub 看

Setup & installServer & APIAMD / HIPModels & quants

说明

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>

本站相关内容

相关页面的快捷入口。