provider

package
v0.3.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 10, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package provider is the single source of truth for the LLM provider names the gateway can route to. Both the domain (registry validation) and the infra provider adapters depend on these identifiers.

Index

Constants

View Source
const (
	OpenAI           = "openai"
	OpenAICompatible = "openai_compatible"
	Google           = "google"
	Vertex           = "vertex"
	Anthropic        = "anthropic"
	Bedrock          = "bedrock"
	Azure            = "azure"
	Mistral          = "mistral"
	Groq             = "groq"
	DeepSeek         = "deepseek"
	XAI              = "xai"
	Cerebras         = "cerebras"
	OpenRouter       = "openrouter"
	Cohere           = "cohere"
)

Variables

This section is empty.

Functions

func IsValid

func IsValid(name string) bool

IsValid reports whether name is a supported provider.

func Supported

func Supported() []string

Supported returns every provider name the gateway can route to.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL