"vscode:/vscode.git/clone" did not exist on "8f4628e0967441eaa42f6e71162ece4301e87685"
Unverified Commit b3da9b00 authored by Timothy Jaeryang Baek's avatar Timothy Jaeryang Baek Committed by GitHub
Browse files

Merge pull request #157 from ollama-webui/dev

fix: openai models messages
parents 1764b3ae 61cc24c5
...@@ -238,6 +238,8 @@ ...@@ -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 @@ ...@@ -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`, {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment