Merge pull request #157 from ollama-webui/dev

fix: openai models messages
This commit is contained in:
Timothy Jaeryang Baek
2023-11-28 16:27:55 -05:00
committed by GitHub
2 changed files with 4 additions and 0 deletions

View File

@ -238,6 +238,8 @@
];
}
await tick();
window.scrollTo({ top: document.body.scrollHeight });
const res = await fetch(`https://api.openai.com/v1/chat/completions`, {

View File

@ -273,6 +273,8 @@
];
}
await tick();
window.scrollTo({ top: document.body.scrollHeight });
const res = await fetch(`https://api.openai.com/v1/chat/completions`, {