chat method

Future chat(
  1. String llmId,
  2. String userInput, {
  3. Map<String, dynamic>? options,
})

UNSUPPORTED ON WEB Send a chat message to LLM

Implementation

Future<dynamic> chat(
  String llmId,
  String userInput, {
  Map<String, dynamic>? options,
}) async {
  _logger.fine('LLM chat not supported on web platform');
  throw MCPPlatformNotSupportedException(
    'LLM chat is not supported on web platform',
    errorCode: 'WEB_LLM_NOT_SUPPORTED',
  );
}