reloadCurrentAssistant method

Future<void> reloadCurrentAssistant()

Reloads the current assistant from the API using pupauConfig. Use this when config (e.g. assistantId or API settings) has changed and the UI should reflect the latest assistant data without reopening the chat.

Implementation

Future<void> reloadCurrentAssistant() async {
  await getAssistant();
  update();
}