OptionalmodelModel to use (e.g., "gpt-4o", "claude-sonnet-4-20250514", "grok-3").
OptionaldefaultsDefault generation options applied to all calls.
OptionallocalBase URL for the local provider.
Sets the endpoint for all calls in this Chat instance when the
local provider is used (either explicitly via provider: 'local' or
via automatic fallback for unrecognised model names).
Overrides the LOCAL_BASE_URL environment variable.
OptionallocalAPI key for the local provider. Overrides the LOCAL_API_KEY environment variable. Defaults to "local" for servers that don't validate keys.
OptionallocalRequest timeout in ms for the local provider. Defaults to 60 000 ms. Increase for slow or large local models.
Chat configuration options.