providers

package
v0.4.10 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuiltinImagesModels

func BuiltinImagesModels(options ...ai.ImagesModelsOptions) ai.MutableImagesModels

func BuiltinImagesProviders

func BuiltinImagesProviders() []ai.ImagesProvider

func OpenRouterImages

func OpenRouterImages() ai.ImagesProvider

Types

type AuthKind

type AuthKind string
const AuthAPIKey AuthKind = "api_key"
const AuthOAuth AuthKind = "oauth"

type Provider

type Provider struct {
	ID      ai.ProviderID
	Name    string
	API     ai.API
	APIs    []ai.API
	BaseURL string
	Auth    AuthKind
	OAuth   bool
	Env     []string
	// APIKeyEnv is the subset of Env whose value is request authentication.
	// The remaining names configure ambient credentials or provider endpoints.
	APIKeyEnv []string
	Methods   auth.ProviderAuth
}

func AmazonBedrock

func AmazonBedrock() Provider

func Anthropic

func Anthropic() Provider

func AzureOpenAIResponses

func AzureOpenAIResponses() Provider

func Get

func Get(id ai.ProviderID) (Provider, bool)

func GitHubCopilot

func GitHubCopilot() Provider

func Google

func Google() Provider

func GoogleVertex

func GoogleVertex() Provider

func KimiCoding

func KimiCoding() Provider

func List

func List() []Provider

func Mistral

func Mistral() Provider

func OpenAI

func OpenAI() Provider

func OpenAICodex

func OpenAICodex() Provider

func OpenRouter

func OpenRouter() Provider

func XAI

func XAI() Provider

Directories

Path Synopsis
Package faux provides a scripted, in-memory provider for agent and provider tests.
Package faux provides a scripted, in-memory provider for agent and provider tests.

Jump to

Keyboard shortcuts

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