Providers
Anthropic
Options object
MessageCreateParamsBase
is exactly the same as the one defined in the Anthropic API documentation.
Stream<RawMessageStreamEvent> | Message
are exactly the same as the ones defined in the Anthropic API documentation.
The time it took to process the request. In order to calculate the time it took to process the request, you can use the following code:
The error that occurred while processing the request.