refactor(provider): 收敛 provider 架构并清理旧兼容残留#79
Merged
Conversation
Codex/provider mvp support surface
# Conflicts: # internal/config/model.go
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
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.
变更说明
本次改动围绕 provider 模块做了一次完整收口,目标是把 provider 定义、运行时构建、TUI 选择能力和配置持久化边界重新拉直。重点解决了 provider 依赖 YAML 固化、TUI 承担非 UI 职责、runtime 按厂商分支构建 provider、以及修改后残留的旧兼容代码等问题。
主要改动
预期收益
测试验证
执行 go test ./...,全量通过。
补充并更新了 config/provider/runtime/TUI 相关测试,覆盖 provider overrides、旧配置迁移、provider/model 选择、picker 刷新尺寸保持、以及构造器依赖约束等关键路径。
close #79