mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-06 07:19:27 -05:00
Update gpt.js - Bugfix
Since a thinking animation is implemented, the "thinking..." string is not necessary anymore. It cause problems displaying answers from chatgpt. My suggestion: Emptying string.
This commit is contained in:
committed by
GitHub
parent
25e5a774e5
commit
b8f4be276d
@@ -237,7 +237,7 @@ class GPTService extends Service {
|
||||
send(msg) {
|
||||
this._messages.push(new GPTMessage('user', msg, false, true));
|
||||
this.emit('newMsg', this._messages.length - 1);
|
||||
const aiResponse = new GPTMessage('assistant', 'thinking...', true, false)
|
||||
const aiResponse = new GPTMessage('assistant', '', true, false)
|
||||
|
||||
const body = {
|
||||
model: CHAT_MODELS[this._modelIndex],
|
||||
|
||||
Reference in New Issue
Block a user