mirror of
https://github.com/tiennm99/goclaw.git
synced 2026-10-14 00:16:38 +00:00
fix: add missing /v1 to anthropic default API base URL (#68)
This commit is contained in:
1 parent
7d744eb4f2
commit
0bef45e6a9
1 file changed
+1
-1
@@ -398,7 +398,7 @@ func resolveProviderAPIBase(providerName string) string {
|
||||
case "openrouter":
|
||||
return "https://openrouter.ai/api/v1"
|
||||
case "anthropic":
|
||||
return "https://api.anthropic.com"
|
||||
return "https://api.anthropic.com/v1"
|
||||
case "openai":
|
||||
return "https://api.openai.com/v1"
|
||||
case "groq":
|
||||
|
||||
Reference in new issue
Block a user