Move Compact Chat to Global Settings - #740
Merged
Merged
Conversation
RANGROO
marked this pull request as ready for review
August 26, 2026 05:33
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
chim_context_modechoice during migration, then remove the legacy row and Focus Mode runtime path.compact_chatthrough the status APIs expected by the CHIM client already merged in Dwemer-Dynamics/CHIM#173.Recovery context
PR #739 was mistakenly stacked on #733 and therefore merged into that feature branch rather than
unstable. This recovery branch starts directly from currentorigin/unstableand contains only the Compact Chat feature. After this lands, #733 should be rebased without reintroducing its duplicate Compact Chat changes.Migration and compatibility
Migration
general_settings 20260825001is idempotent:COMPACT_CHAT_ENABLEDvalue when present.public.conf_opts.chim_context_modevalue.true.Validation
true.unstableprotocol contract probes passed.unstablebase: 270 tests, 2625 assertions, the same 16 errors, 2 failures, and 1 warning.PGPASSWORD, missing ZipArchive, and order-dependent baseline failures.Performance
No new recurring query or polling path is added. Runtime reads the already-loaded global value instead of querying the legacy
conf_optsrow, and enabled Compact Chat reduces conversation-history prompt size. Quickstart adds one settings upsert only when its Local LLM preset is applied.Review size
25 files, 159 changed lines reported by Git; 151 are substantive and 8 are line-ending-only churn around the added sample-config line.
Limits