[codex] Compact provider model capability badges#242
Merged
XingYu-Zhong merged 1 commit intoJun 13, 2026
Conversation
-- Commit By Codex --
Collaborator
Author
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.


中文
变更内容
修复原因
模型列表中多个能力标识与模型名处在同一行时,会抢占模型名宽度,导致模型名被截断得过短,影响识别。
影响
设置页的模型列表更容易阅读,尤其是带有上下文、识图、推理等多个能力标识的模型。
验证
npm test -- src/renderer/src/components/settings-section-provider-models.test.tsnpm run dist:macEnglish
What changed
Why
When several capability badges were rendered on the same row as the model name, they consumed horizontal space and caused model names to truncate too aggressively.
Impact
The provider model list in Settings is easier to scan, especially for models with context, vision, and reasoning badges.
Validation
npm test -- src/renderer/src/components/settings-section-provider-models.test.tsnpm run dist:mac