OptionalproviderOverride the provider (auto-detected from model by default).
OptionaltimeoutRequest timeout in milliseconds.
OptionalretriesNumber of retries on failure.
OptionallocalBase URL for the local provider. Overrides the LOCAL_BASE_URL environment variable. Required when using provider: 'local' without LOCAL_BASE_URL set.
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.
Common options shared across all generation methods.