-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
♻️ refactor(commands): 重构命令处理逻辑并优化错误处理
- 【基础】在 BaseCommand 中添加统一的错误处理方法 handleError - 【重构】将模型选择器逻辑抽取到独立的 ModelPickerService 服务 - 【优化】重构 GenerateCommitCommand 中的配置处理逻辑,提取至独立方法 - 【改进】简化 SelectModelCommand 中的模型选择器实现 - 【错误处理】统一使用本地化的错误消息展示
- Loading branch information
1 parent
fa072f1
commit d708190
Showing
3 changed files
with
46 additions
and
147 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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