feat: add provider deepseek

This commit is contained in:
Lixeer
2026-02-14 16:35:49 +08:00
parent 5872e0f55e
commit afc3a2cda3
2 changed files with 9 additions and 0 deletions

View File

@@ -303,6 +303,14 @@ func CreateProvider(cfg *config.Config) (LLMProvider, error) {
workspace = "."
}
return NewClaudeCliProvider(workspace), nil
case "deepseek":
if cfg.Providers.DeepSeek.APIKey != "" {
apiKey = cfg.Providers.DeepSeek.APIKey
apiBase = cfg.Providers.DeepSeek.APIBase
if apiBase == "" {
apiBase = "https://api.deepseek.com/v1"
}
}
}
}