options

package
v1.9.16 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ModelOptions

type ModelOptions struct {
	// contains filtered or unexported fields
}

func (*ModelOptions) Gateway

func (c *ModelOptions) Gateway() string

func (*ModelOptions) StructuredOutput added in v1.7.1

func (c *ModelOptions) StructuredOutput() *latest.StructuredOutput

type Opt

type Opt func(*ModelOptions)

func FromModelOptions added in v1.7.1

func FromModelOptions(m ModelOptions) []Opt

FromModelOptions converts a concrete ModelOptions value into a slice of Opt configuration functions. Later Opts override earlier ones when applied.

func WithGateway

func WithGateway(gateway string) Opt

func WithStructuredOutput added in v1.7.1

func WithStructuredOutput(structuredOutput *latest.StructuredOutput) Opt

Jump to

Keyboard shortcuts

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