mirror of
https://github.com/CJackHwang/ds2api.git
synced 2026-05-10 19:27:41 +08:00
全局统一映射
This commit is contained in:
@@ -42,13 +42,3 @@ func defaultRuntimeRecommended(accountCount, maxPer int) int {
|
||||
}
|
||||
return accountCount * maxPer
|
||||
}
|
||||
|
||||
func settingsClaudeMapping(c config.Config) map[string]string {
|
||||
if len(c.ClaudeMapping) > 0 {
|
||||
return c.ClaudeMapping
|
||||
}
|
||||
if len(c.ClaudeModelMap) > 0 {
|
||||
return c.ClaudeModelMap
|
||||
}
|
||||
return map[string]string{"fast": "deepseek-v4-flash", "slow": "deepseek-v4-pro"}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user