getChatResponse method
Future<ChatResponse>
getChatResponse({
- required Iterable<
ChatMessage> messages, - ChatOptions? options,
- CancellationToken? cancellationToken,
override
Sends a chat request and returns the complete response.
Implementation
@override
Future<ChatResponse> getChatResponse({
required Iterable<ChatMessage> messages,
ChatOptions? options,
CancellationToken? cancellationToken,
}) =>
innerClient.getChatResponse(
messages: messages,
options: options,
cancellationToken: cancellationToken,
);