switchSettings method

void switchSettings(
  1. GroqChatSettings settings
)

Switches the settings of the current conversation dynamically settings the new chat settings It is also possible to switch the settings during the conversation Example:

chat.switchSettings(GroqChatSettings.defaults());

Implementation

void switchSettings(GroqChatSettings settings) => _settings = settings;