fix: repair syntax error and format all files with biome
This commit is contained in:
parent
7063e382a9
commit
5c2137a485
1 changed files with 9 additions and 9 deletions
18
src/ui.js
18
src/ui.js
|
|
@ -2460,16 +2460,16 @@ export async function openUncloseaiEmbeddedModal() {
|
|||
JSON.stringify(savedHistory),
|
||||
);
|
||||
// Update global chat history
|
||||
chatHistory = [
|
||||
{
|
||||
role: "system",
|
||||
content: getSystemMessage(),
|
||||
},
|
||||
...savedHistory,
|
||||
];
|
||||
restoreConversationHistory();
|
||||
}
|
||||
chatHistory = [
|
||||
{
|
||||
role: "system",
|
||||
content: getSystemMessage(),
|
||||
},
|
||||
...savedHistory,
|
||||
];
|
||||
restoreConversationHistory();
|
||||
}
|
||||
messageDiv.remove();
|
||||
};
|
||||
})(index);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue