Documentation
¶
Overview ¶
Package model resolves LLM credentials at runtime. A Resolver maps a model string (e.g. "anthropic/claude-haiku-4-5") to the API base URL and API key that the runtime should use.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Resolver ¶
Resolver returns the API base URL and key for a given model. Implementations may read from env, secret stores, or static config.
func StaticResolver ¶
StaticResolver returns a Resolver that always returns the same apiURL and apiKey regardless of the model passed in. Useful for tests and single-provider deployments.
Click to show internal directories.
Click to hide internal directories.