[GH-ISSUE #3764] [TUI] Strata 'connect' set up too high reserveTokens #1579

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

Originally created by @julianlam on GitHub (Oct 22, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/3764

Hi,

Strata set up on R9700 + 32 GB system RAM. ctx size tested 128k and 64k

In both ctx size setups I used the bundled settings configurator to save the pi config.

128k

{
  "lastChangelogVersion": "1.4.0",
  "defaultProvider": "strata",
  "defaultModel": "swift-1.5-iq2_xs",
  "defaultThinkingLevel": "medium",
  "packages": [
    "npm:@sting8k/pi-vcc"
  ],
  "theme": "dark",
  "compaction": {
    "enabled": true,
    "reserveTokens": 116072,
    "keepRecentTokens": 4000
  }
}

Note reserveTokens is too high, it basically triggered compaction immediately.

I don't have the settings.json backup for 64k, but it was somewhere north of 50k.

I just removed the compaction block entirely, and that fixed it right up.

Originally created by @julianlam on GitHub (Oct 22, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/3764 Hi, Strata set up on R9700 + 32 GB system RAM. ctx size tested 128k and 64k In both ctx size setups I used the bundled settings configurator to save the **pi** config. **128k** ``` { "lastChangelogVersion": "1.4.0", "defaultProvider": "strata", "defaultModel": "swift-1.5-iq2_xs", "defaultThinkingLevel": "medium", "packages": [ "npm:@sting8k/pi-vcc" ], "theme": "dark", "compaction": { "enabled": true, "reserveTokens": 116072, "keepRecentTokens": 4000 } } ``` Note `reserveTokens` is too high, it basically triggered compaction immediately. I don't have the settings.json backup for 64k, but it was somewhere north of 50k. I just removed the `compaction` block entirely, and that fixed it right up.
Author
Owner

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

  • Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other], then a short description. Example: "[Engine] decode stops after 2 minutes".

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:6350209129 --> @github-actions[bot] commented on GitHub (Oct 22, 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: - [ ] Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other], then a short description. Example: "[Engine] decode stops after 2 minutes". 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 (Oct 22, 2026):

Thanks, this follows the format now.

<!-- gh-comment-id:6350221896 --> @github-actions[bot] commented on GitHub (Oct 22, 2026): Thanks, this follows the format now.
Author
Owner

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

Fixed in 0.2.5: strata connect no longer writes a reserve that compacts at 15,000 tokens; pi now compacts at about half of the input limit. Run strata connect pi again after updating.

<!-- gh-comment-id:6423174645 --> @Niko1221 commented on GitHub (Oct 26, 2026): Fixed in 0.2.5: strata connect no longer writes a reserve that compacts at 15,000 tokens; pi now compacts at about half of the input limit. Run strata connect pi again after updating.
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#1579
No description provided.