fix: add missing /v1 to anthropic default API base URL (#68)

This commit is contained in:
Ken Hughes authored and GitHub committed 2026-03-07 00:45:44 +07:00
1 parent 7d744eb4f2
commit 0bef45e6a9
1 file changed
+1 -1
+1 -1
View File
@@ -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":