mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 12:25:20 +00:00
Merge pull request #157 from ollama-webui/dev
fix: openai models messages
This commit is contained in:
commit
b3da9b0063
2 changed files with 4 additions and 0 deletions
|
|
@ -238,6 +238,8 @@
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
await tick();
|
||||||
|
|
||||||
window.scrollTo({ top: document.body.scrollHeight });
|
window.scrollTo({ top: document.body.scrollHeight });
|
||||||
|
|
||||||
const res = await fetch(`https://api.openai.com/v1/chat/completions`, {
|
const res = await fetch(`https://api.openai.com/v1/chat/completions`, {
|
||||||
|
|
|
||||||
|
|
@ -273,6 +273,8 @@
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
await tick();
|
||||||
|
|
||||||
window.scrollTo({ top: document.body.scrollHeight });
|
window.scrollTo({ top: document.body.scrollHeight });
|
||||||
|
|
||||||
const res = await fetch(`https://api.openai.com/v1/chat/completions`, {
|
const res = await fetch(`https://api.openai.com/v1/chat/completions`, {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue