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 ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.