Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions proxy/internal/service/model_router.go
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,8 @@ func (r *ModelRouter) getProviderNameForModel(model string) string {
return pattern.provider
}
}
// Default to anthropic (this is an Anthropic proxy after all)
r.logger.Printf("ℹ️ Model '%s' has no matching pattern, defaulting to anthropic", model)
return "anthropic"
// Default to OpenAI, as Anthropic models are covered by the providerPatterns,
// and other unknown models are likely served by custom OpenAI compatible
// backends.
return "openai"
}