Repository navigation
fix(web): distinguish models by provider identity - #486
Merged
tt-a1i merged 4 commits intoSep 8, 2026
Merged
Conversation
# Conflicts: # tests/web/openpi-web.e2e.ts # web/dist/app.js
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.
问题
Web Composer 目前只显示模型的可读名称。当不同 Provider 提供同名模型时,用户无法在下拉菜单和选中状态中区分它们。解决 #458。
价值
用户可以在选择或使用模型前,确认准确的 Provider 和 model ID。辅助技术也能读取完整的模型身份信息。
实现方案
名称 (provider/model-id)。provider/id选择值和状态管理逻辑。验证
bun run checkbun run testbun run test:web:e2e影响
Web Composer 的模型名称和菜单无障碍名称现在包含完整模型身份。Provider 默认值、认证、持久化配置和运行时模型选择逻辑均未改变。