limits

package
v0.10.7 Latest Latest
Warning

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

Go to latest
Published: May 5, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ModelLimits

type ModelLimits struct {
	// ContextLength is the model's context window in tokens.
	ContextLength int
	// MaxCompletionTokens is the maximum number of output tokens per turn.
	MaxCompletionTokens int
}

ModelLimits holds context and output limits discovered from a provider API. Zero values mean the limit could not be determined.

Jump to

Keyboard shortcuts

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