[GH-ISSUE #5288] [Engine] Clients not getting loaded models context size + potential fix #3152

Open
opened 2026-11-07 14:38:29 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @mAd-DaWg on GitHub (Nov 5, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/5288

When connecting clients like zed to Strata, Strata doesnt reply with the loaded models context size. This causes all sorts of issues as often these clients have several context length management strategies which break or run too frequently (for example compacting the agent history at 100k tokens instead of near the models capacity).

Attached is a patch i used to get Strata to report the models context size in a way clients can use

Environment: Debian, RX 9070xt/16gig, 64gig ram

zed-context-fix.patch

Originally created by @mAd-DaWg on GitHub (Nov 5, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/5288 When connecting clients like zed to Strata, Strata doesnt reply with the loaded models context size. This causes all sorts of issues as often these clients have several context length management strategies which break or run too frequently (for example compacting the agent history at 100k tokens instead of near the models capacity). Attached is a patch i used to get Strata to report the models context size in a way clients can use Environment: Debian, RX 9070xt/16gig, 64gig ram [zed-context-fix.patch](https://github.com/user-attachments/files/34419531/zed-context-fix.patch)
Author
Owner

@github-actions[bot] commented on GitHub (Nov 5, 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:

  • Add your graphics card with its VRAM, your RAM and your operating system.

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:6655144153 --> @github-actions[bot] commented on GitHub (Nov 5, 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: - [ ] Add your graphics card with its VRAM, your RAM and your operating system. 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 (Nov 5, 2026):

Thanks, this follows the format now.

<!-- gh-comment-id:6655207696 --> @github-actions[bot] commented on GitHub (Nov 5, 2026): Thanks, this follows the format now.
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#3152
No description provided.