OptionalidProvider id. Defaults to anthropic.
OptionalbaseBase URL. Defaults to https://api.anthropic.com.
OptionalapiSent as x-api-key.
OptionalheadersMore headers for every request, like anthropic-beta.
Optionaldefaultmax_tokens when a request has no maxOutputTokens.
OptionalfetchThe fetch to use. Defaults to the global one. Tests pass a fake.
How to reach the Anthropic API.