mirror of
https://github.com/open-webui/open-webui
synced 2025-01-01 08:42:14 +00:00
refac
This commit is contained in:
parent
55da6224b8
commit
46e319dedc
@ -842,10 +842,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
const chatCompletedHandler = async (chatId, modelId, responseMessageId, messages) => {
|
const chatCompletedHandler = async (chatId, modelId, responseMessageId, messages) => {
|
||||||
await mermaid.run({
|
|
||||||
querySelector: '.mermaid'
|
|
||||||
});
|
|
||||||
|
|
||||||
const res = await chatCompleted(localStorage.token, {
|
const res = await chatCompleted(localStorage.token, {
|
||||||
model: modelId,
|
model: modelId,
|
||||||
messages: messages.map((m) => ({
|
messages: messages.map((m) => ({
|
||||||
|
Loading…
Reference in New Issue
Block a user