Repository navigation
fix: restore per-model editor and stabilize model dropdown width - #104
Merged
Merged
Conversation
The daemon catalog replaced context_config/thinking_config with flat availableContextWindows/efforts fields, leaving the editor without tiers or efforts and hiding its entry point. Map the flat shapes as a fallback so the pencil editor returns while old servers keep working. Co-authored-by: QoderAI (Qwen 3.8 Max) <qoder_ai@qoder.com>
Hovering a row revealed the edit affordance in flow, widening the content-sized dropdown whenever the longest row was hovered. Stack meta and the affordance in one trailing grid slot so swapping them never resizes the row, and cap the list by its anchor width so narrow sidebars ellipsize instead of clipping at the leaf edge. Co-authored-by: QoderAI (Qwen 3.8 Max) <qoder_ai@qoder.com>
Co-authored-by: QoderAI (Qwen 3.8 Max) <qoder_ai@qoder.com>
…policy The resolveModel provider validated editor overrides against the legacy context_config/thinking_config blocks. Daemon catalogs carry flat fields instead, so a live entry without thinking_config silently dropped the disable-thinking override. Read the flat flags and window/effort lists with the same rich-first fallback the probe uses. Co-authored-by: QoderAI (Qwen 3.8 Max) <qoder_ai@qoder.com>
Review follow-ups: skip the anchor-width cap when the anchor measures zero (hidden view) instead of collapsing the list, keep the 340px ceiling in wide panes, and apply the cap before measuring for the flip decision. Treat empty rich catalog blocks as absent in the model policy, matching the probe, and cover the trailing slot and width cap with unit tests. Co-authored-by: QoderAI (Qwen 3.8 Max) <qoder_ai@qoder.com>
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
context_config/thinking_configblocks to flatavailableContextWindows/efforts/supportsDisabledfields. Two consumers still read only the rich shapes:resolveModelpolicy, so the editor's disable-thinking override was silently dropped whenever a live catalog entry was present.Both now map the flat shapes with a rich-first fallback, covered by unit tests.
Verification
npm run typechecknpm run lintnpm run test(3611 passed)npm run buildnpm run release:checknpm run audit:prodSafety
CHANGELOG.mdCo-authored-by: QoderAI (Qwen 3.8 Max) qoder_ai@qoder.com