config

package
v0.3.14 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2026 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AvailableModels = []string{
	"claude-opus-4-6",
	"claude-opus-4-5",

	"claude-sonnet-4-6",
	"claude-sonnet-4-5",

	"gpt-5.2-codex",
	"gpt-5.2",
	"gpt-5.1-codex-max",
	"gpt-5.1-codex",
	"gpt-5.1",
	"gpt-5-codex",
	"gpt-5",
}

AvailableModels lists supported models in priority order

Functions

This section is empty.

Types

type Config

type Config struct {
	Model  string
	Client openai.Client

	Environment *tool.Environment

	AgentInstructions    string
	PlanningInstructions string

	MaxContextTokens int64
	ReserveTokens    int64
	KeepRecentTokens int64

	MCP *mcp.Manager

	Tools  []tool.Tool
	Skills []skill.Skill
}

func Default

func Default() (*Config, func(), error)

func (*Config) Cleanup

func (c *Config) Cleanup()

Jump to

Keyboard shortcuts

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