external

package
v0.9.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AvailableModels

func AvailableModels(ctx context.Context, options *Options) (map[string]bool, error)

func IsAnthropic

func IsAnthropic(id string) bool

func IsGoogle

func IsGoogle(id string) bool

func IsOpenAI

func IsOpenAI(id string) bool

func LookupPath added in v0.8.3

func LookupPath(tool, fallback string) string

func Models

func Models(ctx context.Context, options *Options, modelOpts *ModelOptions) ([]string, error)

Types

type ModelFilter

type ModelFilter func(id string) bool

type ModelKind

type ModelKind int
const (
	ModelDefault ModelKind = iota
	ModelFast
)

type ModelOptions

type ModelOptions struct {
	Kind   ModelKind
	Filter ModelFilter
}

type Options

type Options struct {
	Path string
	Env  []string

	WingmanURL   string
	WingmanToken string
}

func WithDefaults

func WithDefaults(options *Options) *Options

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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