Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Supported = []database.AIProviderType{ database.AIProviderTypeAnthropic, database.AIProviderTypeAzure, database.AIProviderTypeBedrock, database.AIProviderTypeCopilot, database.AIProviderTypeGoogle, database.AIProviderTypeOpenai, database.AIProviderTypeOpenrouter, database.AIProviderTypeVercel, }
Supported lists the providers a model price may be set for.
openai-compat is excluded: it is a generic passthrough, so the upstream vendor is unknown and a price cannot be attributed to it. Listed explicitly rather than derived from ai_provider_type so a new provider is opt-in.
Functions ¶
func SupportedStrings ¶
func SupportedStrings() []string
SupportedStrings returns the supported providers as plain strings.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.