ChatClientResponseHandler typedef
ChatClientResponseHandler =
Future<ChatResponse> Function(Iterable<ChatMessage> messages, ChatOptions? options, ChatClient innerClient, CancellationToken? cancellationToken)
A function that handles a chat response request.
Implementation
typedef ChatClientResponseHandler = Future<ChatResponse> Function(
Iterable<ChatMessage> messages,
ChatOptions? options,
ChatClient innerClient,
CancellationToken? cancellationToken,
);