config

package
v2.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2026 License: MIT Imports: 5 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	Key = "api"
	// Whether the profile answers the programs that reach it over HTTP
	Enabled = Key + ".enabled"
	// Websites whose pages may call the API from a browser, each by its origin, or a star for any
	CORSOrigins = Key + ".cors_origins"
	// Name the agent goes by among the models the API lists; when empty the name of the profile, and DefaultModelName for the first one
	ModelName = Key + ".model_name"
	// More names a program can ask for as its model, each with the model that answers under it
	ModelRoutes = Key + ".model_routes"
	// A program may name any model of the profile's providers as the model of its request
	DirectModels = Key + ".direct_model_requests"
	// What the agent does besides writing is told in the stream of a reply
	ToolProgress = Key + ".tool_progress_events"
	// Most requests the agent answers for the profile at once, the rest turned away until one ends; any number when zero
	MaxRuns = Key + ".max_concurrent_runs"
	// Most characters kept of each result of a tool in what the API tells of a reply, all of it when zero
	ToolOutputLimit = Key + ".history_tool_output_max_chars"
	// Answers of the responses API kept so a later request can go on from one
	StoredResponses = Key + ".max_stored_responses"
)
View Source
const (
	RouteProvider = "provider"
	RouteModel    = "model"
	RouteEffort   = "reasoning_effort"
	RouteSpeed    = "speed"
)

Fields of a model route

View Source
const DefaultModelName = "icebath-agent"

Name the agent goes by where neither the settings nor the profile give it one

Variables

This section is empty.

Functions

func Register

func Register(cfg *config.Config)

Types

This section is empty.

Jump to

Keyboard shortcuts

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