AnonymousDelegatingChatClient constructor
AnonymousDelegatingChatClient(
- ChatClient innerClient, {
- ChatClientResponseHandler? responseHandler,
- ChatClientStreamingResponseHandler? streamingResponseHandler,
Creates a new AnonymousDelegatingChatClient.
innerClient is the underlying client to delegate to.
responseHandler optionally overrides getChatResponse.
streamingResponseHandler optionally overrides
getStreamingChatResponse.
Implementation
AnonymousDelegatingChatClient(
super.innerClient, {
this.responseHandler,
this.streamingResponseHandler,
});