mirror of
https://github.com/ErlichLiu/DeepClaude.git
synced 2026-04-25 05:05:57 +03:00
[PR #52] [MERGED] 配置系统增强 #111
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/DeepClaude#111
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ErlichLiu/DeepClaude/pull/52
Author: @GowayLee
Created: 2/25/2025
Status: ✅ Merged
Merged: 2/25/2025
Merged by: @GowayLee
Base:
dev← Head:config-enhancement📝 Commits (8)
f532761docs: update .gitignoreaa9eb28Merge branch 'ErlichLiu:main' into config-enhancement80fb545feat: add model.example.yaml and related data model classes with validators6f99eecfeat: shown_model real-time generationad3f5e0feat: add shown_model cachecc85d56feat: add index for model_config21e7a57feat: support new configuration in clients613f0d7Merge branch 'config-enhancement' of https://github.com/GowayLee/DeepClaude into config-enhancement📊 Changes
12 files changed (+514 additions, -259 deletions)
View changed files
📝
.gitignore(+7 -1)📝
app/clients/base_client.py(+20 -17)📝
app/clients/claude_client.py(+42 -40)📝
app/clients/deepseek_client.py(+21 -18)➖
app/config/__init__.py(+0 -17)➕
app/config/model_config.py(+197 -0)➖
app/config/models.yaml(+0 -40)📝
app/deepclaude/deepclaude.py(+43 -42)📝
app/main.py(+46 -84)➕
app/utils/config/loader.py(+37 -0)➕
app/utils/config/processor.py(+51 -0)➕
model.example.yaml(+50 -0)📄 Description
新增
model.yaml配置文件, 支持设定任意providersbase_models基本模型, 如:deepseek-reasonerclaude-3-5-sonnet-20241022deep_models组合深度思考模型, 即最终暴露在API的模型, 如:deepclaudedeepgemini重构client中的传参逻辑, 改为使用统一配置管理器
ModelConfig支持
模型列表实时生成🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.