forked from Shinonome/dots-hyprland
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
d2a9081be9
commit
556d2587e7
@@ -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