feat: Improve parameter fault tolerance for DeepSeek
This commit is contained in:
1 parent
afc3a2cda3
commit
18d3634f1b
1 file changed
+3
@@ -310,6 +310,9 @@ func CreateProvider(cfg *config.Config) (LLMProvider, error) {
|
||||
if apiBase == "" {
|
||||
apiBase = "https://api.deepseek.com/v1"
|
||||
}
|
||||
if model != "deepseek-chat" && model != "deepseek-reasoner" {
|
||||
model = "deepseek-chat"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user