Fix NUX UI (#3534)

Fix NUX UI
This commit is contained in:
jif-oai
2025-09-12 14:09:31 -07:00
committed by GitHub
parent b8ccfe9b65
commit 8408f3e8ed
4 changed files with 32 additions and 24 deletions

View File

@@ -1279,8 +1279,8 @@ impl ChatWidget {
self.config.model = model;
}
pub(crate) fn add_info_message(&mut self, message: String) {
self.add_to_history(history_cell::new_info_event(message));
pub(crate) fn add_info_message(&mut self, message: String, hint: Option<String>) {
self.add_to_history(history_cell::new_info_event(message, hint));
self.request_redraw();
}