Refresh IQ3 client context and compaction settings for 262K

This commit is contained in:
Mikei386 committed 2026-10-13 19:19:28 +02:00
1 parent 0c0af6894a
commit eda684eb83
7 files changed
+623 -2

No files matched your search

@@ -15,3 +15,25 @@ Official upstream multi-slot support: https://github.com/Niko1221/Strata/blob/ma
Validation: five targeted unit tests cover 512K acceptance, rejection of one million/two slots, native/extended scaling, hardware tuning, reserve behavior and server command. No inference tests or service restarts performed during preparation.
Native Debian/restore: same pinned Strata runtime and weight revision from strata_sources.json; no new dependency. Deploy changed profiles.py, strata_worker.py, strata_sources.json and strata-ui.js with the native Deck app, then restart only in approved idle maintenance window. Profile entries and endpoint selection belong to encrypted Deck state backup. No credentials/weights in Git. Full native fresh-host restore is still unverified (see deploy/NATIVE_INSTALL_REQUIREMENTS.md).
## Client settings
Live IQ3 262144 correction applied to Mac/Unraid OpenCode. OpenWebUI IQ3 model
parameter `compact_token_threshold` set to floor(context * .85) = 222822.
Context Display and Tool Context Guard mappings updated to 262144. Private
before-values stored in OpenWebUI settings-backups (not Git). No service restart.
Persisted values verified; no full compaction/inference test while user is using
Deck. UI or active client sessions may retain old settings until refreshed.
512K activation checklist additionally requires:
- OpenCode: add pending API ID with context524288 after endpoint registration;
remove IQ2 from client picker only after its endpoint is disabled.
- OpenWebUI: create/update the 512K model's own threshold445644; preserve262K
threshold222822 and thresholds of other profiles.
- Raise official global context-compaction token_cap from222822 to445644 via
authenticated settings UI/API. Installed implementation uses
min(model-specific threshold or global fallback, global cap), so this step
matters. Preserve fallback token_threshold80000 and retention_percentage40.
- Add512K to both context-display and tool-context-guard mappings only on
activation. Existing IQ3 identity remains262K.
- Do not apply future model metadata as though512K is already serving.