forked from Shinonome/dots-hyprland
ai: actually make chat messages update incrementally
(instead of destroying and recreating every update) MUCH better performance and no more hundreds of latex files for one integration by parts work
This commit is contained in:
@@ -284,7 +284,7 @@ class GeminiService extends Service {
|
||||
send(msg) {
|
||||
this._messages.push(new GeminiMessage('user', msg, false));
|
||||
this.emit('newMsg', this._messages.length - 1);
|
||||
const aiResponse = new GeminiMessage('model', 'thinking...', true, false)
|
||||
const aiResponse = new GeminiMessage('model', '', true, false)
|
||||
|
||||
const body =
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user