reasoning

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package reasoning owns the cross-surface reasoning-effort vocabulary.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsValid

func IsValid(value string) bool

IsValid validates the wire identifier, not a model's capability. Providers may introduce new values; the active model's advertised options own membership.

func Values

func Values() []string

Values returns the canonical explicit effort vocabulary in display order.

Types

type Effort

type Effort string

Effort identifies one provider-advertised model reasoning level.

const (
	EffortNone    Effort = "none"
	EffortMinimal Effort = "minimal"
	EffortLow     Effort = "low"
	EffortMedium  Effort = "medium"
	EffortHigh    Effort = "high"
	EffortXHigh   Effort = "xhigh"
	EffortMax     Effort = "max"
	EffortUltra   Effort = "ultra"
)

type InvalidEffortError

type InvalidEffortError struct {
	Path  string
	Value string
}

InvalidEffortError reports a malformed reasoning effort identifier.

func (*InvalidEffortError) Error

func (e *InvalidEffortError) Error() string

Jump to

Keyboard shortcuts

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