ai

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrNoMatchingProvider is returned when no provider matches requirements.
	ErrNoMatchingProvider = errors.New("model: no matching provider for requirements")

	// ErrProviderAlreadyExists is returned when registering a duplicate provider.
	ErrProviderAlreadyExists = errors.New("model: provider already exists")

	// ErrCapabilityNotSupported is returned when requesting an unsupported capability.
	ErrCapabilityNotSupported = errors.New("model: capability not supported")

	// ErrGenerationFailed is returned when model generation fails.
	ErrGenerationFailed = errors.New("model: generation failed")

	// ErrRateLimited is returned when the provider rate limits the request.
	ErrRateLimited = errors.New("model: rate limited")

	// ErrContextCanceled is returned when the context is canceled.
	ErrContextCanceled = errors.New("model: context canceled")
)

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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