[GH-ISSUE #552] Is there any way to continue when the context llimit reached? #263

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

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

I was testing vibe coding. Got this message

Image

and the command line shows...

Image

Is there any way to get it compress the context (like Hermes does) and continue?

Originally created by @SoftologyPro on GitHub (Oct 2, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/552 I was testing vibe coding. Got this message <img width="973" height="477" alt="Image" src="https://github.com/user-attachments/assets/17e7ba4f-89b4-4cbd-aa1d-0e224d70f0e9" /> and the command line shows... <img width="1384" height="133" alt="Image" src="https://github.com/user-attachments/assets/e3fa2bdd-59d1-495f-aa35-a75240cbd0cc" /> Is there any way to get it compress the context (like Hermes does) and continue?
Author
Owner

@MK-AI1412 commented on GitHub (Oct 2, 2026):

use a harness for that

<!-- gh-comment-id:5962359026 --> @MK-AI1412 commented on GitHub (Oct 2, 2026): use a harness for that
Author
Owner

@fenrir-labs76 commented on GitHub (Oct 2, 2026):

@SoftologyPro, When using it in OpenCode I have it setup to automatically run Compaction when I reach 85% of the Context. (You need to find your own magic number).

You may want to have a small summary-carry-forward approach to feed into the context after compaction to ensure you do not lose important parts of the context.

<!-- gh-comment-id:5962790890 --> @fenrir-labs76 commented on GitHub (Oct 2, 2026): @SoftologyPro, When using it in OpenCode I have it setup to automatically run Compaction when I reach 85% of the Context. (You need to find your own magic number). You may want to have a small summary-carry-forward approach to feed into the context after compaction to ensure you do not lose important parts of the context.
Author
Owner

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

Ok, thanks. Hermes seems to work ok with Strata.

<!-- gh-comment-id:5962910254 --> @SoftologyPro commented on GitHub (Oct 2, 2026): Ok, thanks. Hermes seems to work ok with Strata.
Author
Owner

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

Strata serves the context you chose in setup (up to 262K) and never cuts a request, so compacting the conversation is the client's job. Hermes does it, and so does OpenCode (it compacts near its context limit; 0.1.38's docs/DETAILS.md has an OpenCode config). Setting the client's context to the same size as Strata's makes it compact in time. Closing since Hermes works for you.

<!-- gh-comment-id:5964029001 --> @Niko1221 commented on GitHub (Oct 3, 2026): Strata serves the context you chose in setup (up to 262K) and never cuts a request, so compacting the conversation is the client's job. Hermes does it, and so does OpenCode (it compacts near its context limit; 0.1.38's docs/DETAILS.md has an OpenCode config). Setting the client's context to the same size as Strata's makes it compact in time. Closing since Hermes works for you.
Author
Owner

@HamedEmine commented on GitHub (Oct 3, 2026):

Actually, this fixes it:
Add this in your strata-*.json config file:

"fit_max_tokens": true,

The bottom of the json config file should look like this:

 "port": 8082,
 "fit_max_tokens": true,
 "gpu": 0,
 "gpus_asked": true,

That fixed it for me.

<!-- gh-comment-id:5971807271 --> @HamedEmine commented on GitHub (Oct 3, 2026): Actually, this fixes it: Add this in your strata-*.json config file: ``` "fit_max_tokens": true, ``` The bottom of the json config file should look like this: ``` "port": 8082, "fit_max_tokens": true, "gpu": 0, "gpus_asked": true, ``` That fixed it for me.
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#263
No description provided.