mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-02-03 13:00:52 +08:00
Add claude code support
This commit is contained in:
@@ -21,6 +21,8 @@ func GetProviderName(modelName string) string {
|
||||
return "gpt"
|
||||
} else if strings.Contains(modelName, "codex") {
|
||||
return "gpt"
|
||||
} else if strings.HasPrefix(modelName, "claude") {
|
||||
return "claude"
|
||||
}
|
||||
return "unknow"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user