"git@developer.sourcefind.cn:gaoqiong/migraphx.git" did not exist on "9b3e45764937c12f45959f88ecea262c64adf49d"
Commit 5b01d799 authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

fix: openai notification issue

parent 5ef478a1
......@@ -951,6 +951,11 @@
messages = messages;
}
if (autoScroll) {
scrollToBottom();
}
}
if ($settings.notificationEnabled && !document.hasFocus()) {
const notification = new Notification(`OpenAI ${model}`, {
body: responseMessage.content,
......@@ -967,11 +972,6 @@
document.getElementById(`speak-button-${responseMessage.id}`)?.click();
}
if (autoScroll) {
scrollToBottom();
}
}
if (lastUsage) {
responseMessage.info = { ...lastUsage, openai: true };
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment