[GH-ISSUE #507] Naive question about context window #236

Closed
opened 2026-11-04 01:41:10 +07:00 by bsakaguchi · 3 comments
Owner

Originally created by @jefmud on GitHub (Oct 2, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/507

(Note that, I did set up the repository with UV Python (since I can readily version hop) and substituted all the "pip" calls with "uv pip" -- Which worked without a hitch.)

I think Strata is pretty awesome. Your wizardry with my 64 GB RAM/16GB VRAM is quite impressive. I easily tested Qwen3.8 Next (although heavily quantized) successfully both in the Browser and the Pi programming harness. I generated around 40 t/s for the session.

However, when I hit my maximum context in Pi, I got an error message stating I had "error: hit maximum context" I was expecting a compacting stage but it wouldn't proceed. Did I do something wrong in setup or is this a feature yet to be fully developed?

Feel free to close the issue if compaction is not goal.

Thanks and keep up the good work!
J

Originally created by @jefmud on GitHub (Oct 2, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/507 (Note that, I did set up the repository with UV Python (since I can readily version hop) and substituted all the "pip" calls with "uv pip" -- Which worked without a hitch.) **I think Strata is pretty awesome. Your wizardry with my 64 GB RAM/16GB VRAM is quite impressive.** I easily tested Qwen3.8 Next (although heavily quantized) successfully both in the Browser and the Pi programming harness. I generated around 40 t/s for the session. However, when I hit my maximum context in Pi, I got an error message stating I had "error: hit maximum context" I was expecting a compacting stage but it wouldn't proceed. **Did I do something wrong in setup or is this a feature yet to be fully developed?** Feel free to close the issue if compaction is not goal. Thanks and keep up the good work! J
Author
Owner

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

Nothing went wrong in setup. Strata never cuts a conversation itself: when a prompt doesn't fit, it answers with an error, and compacting is the client's job. Pi compacts based on the context window it is configured with, so if that is larger than the context Strata runs with, Strata's error comes first. Set Pi's context window to Strata's (shown on the server's ready: line and in /v1/models as meta.n_ctx), or run setup again with a larger context (START-HERE.bat --setup --context 262144, if your RAM allows). Closing as answered.

<!-- gh-comment-id:5956990401 --> @Niko1221 commented on GitHub (Oct 2, 2026): Nothing went wrong in setup. Strata never cuts a conversation itself: when a prompt doesn't fit, it answers with an error, and compacting is the client's job. Pi compacts based on the context window it is configured with, so if that is larger than the context Strata runs with, Strata's error comes first. Set Pi's context window to Strata's (shown on the server's `ready:` line and in `/v1/models` as `meta.n_ctx`), or run setup again with a larger context (`START-HERE.bat --setup --context 262144`, if your RAM allows). Closing as answered.
Author
Owner
<!-- gh-comment-id:5957589710 --> @jefmud commented on GitHub (Oct 2, 2026): Much appreciated! J On Fri, Oct 2, 2026 at 12:46 PM Niko ***@***.***> wrote: > Closed #507 <https://github.com/Niko1221/Strata/issues/507> as completed. > > — > Reply to this email directly, view it on GitHub > <https://github.com/Niko1221/Strata/issues/507?email_source=notifications&email_token=AA6KUBEQ3RP75IXOXNYGDV35R7LVXA5CNFSNUABQM5UWIORPF5TWS5BNNB2WEL2JONZXKZKFOZSW45CON52GSZTJMNQXI2LPNYXTGMRTGUYDGMRTHA3TFJTSMVQXG33OUZQXK5DIN5ZKKZLWMVXHJLDGN5XXIZLSL5RWY2LDNM#event-32350323872>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/AA6KUBCHQ7XFJL6J2BXYU235R7LVXAVCNFSNUABGKJSXA33TNF2G64TZHMYTGOBVHE2DMMZQGE5US43TOVSTWNJWG44TKMZXGEYDJILWAI> > . > Triage notifications, keep track of coding agent tasks and review pull > requests on the go with GitHub Mobile for iOS > <https://github.com/notifications/mobile/ios/AA6KUBDDTO3KDZMGNYE7U6T5R7LVXA5CNFSNUABQM5UWIORPF5TWS5BNNB2WEL2JONZXKZKFOZSW45CON52GSZTJMNQXI2LPNYXTGMRTGUYDGMRTHA3TFJTSMVQXG33OUZQXK5DIN5ZKKZLWMVXHJKTGN5XXIZLSL5UW64Y> > and Android > <https://github.com/notifications/mobile/android/AA6KUBFB7CBIX2YGLRXFJND5R7LVXA5CNFSNUABQM5UWIORPF5TWS5BNNB2WEL2JONZXKZKFOZSW45CON52GSZTJMNQXI2LPNYXTGMRTGUYDGMRTHA3TFJTSMVQXG33OUZQXK5DIN5ZKKZLWMVXHJLTGN5XXIZLSL5QW4ZDSN5UWI>. > Download it today! > You are receiving this because you authored the thread.Message ID: > ***@***.***> > -- Jeff Muday Wake Forest University mudayja @ wfu . edu
Author
Owner

@jefmud commented on GitHub (Oct 2, 2026):

I found the problem; it was exactly where you predicted. The provider/model was set at context of 262K and I had only allowed 65K in Strata.
Thanks again,
J

<!-- gh-comment-id:5958782070 --> @jefmud commented on GitHub (Oct 2, 2026): I found the problem; it was exactly where you predicted. The provider/model was set at context of 262K and I had only allowed 65K in Strata. Thanks again, J
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#236
No description provided.