genUiScrollBehavior method
Configures whether the GenUI chat auto-scrolls as new messages arrive.
Implementation
void genUiScrollBehavior(GenUiChatTarget chat, {required bool enabled}) {
final config = _ensureGenUiChatConfiguration(chat.chatName);
_genUiChatConfigs[chat.chatName] = config.copyWith(autoScroll: enabled);
}