Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
b3da9b00
Unverified
Commit
b3da9b00
authored
Nov 28, 2023
by
Timothy Jaeryang Baek
Committed by
GitHub
Nov 28, 2023
Browse files
Merge pull request #157 from ollama-webui/dev
fix: openai models messages
parents
1764b3ae
61cc24c5
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
src/routes/(app)/+page.svelte
src/routes/(app)/+page.svelte
+2
-0
src/routes/(app)/c/[id]/+page.svelte
src/routes/(app)/c/[id]/+page.svelte
+2
-0
No files found.
src/routes/(app)/+page.svelte
View file @
b3da9b00
...
...
@@ -238,6 +238,8 @@
];
}
await tick();
window.scrollTo({ top: document.body.scrollHeight });
const res = await fetch(`https://api.openai.com/v1/chat/completions`, {
...
...
src/routes/(app)/c/[id]/+page.svelte
View file @
b3da9b00
...
...
@@ -273,6 +273,8 @@
];
}
await tick();
window.scrollTo({ top: document.body.scrollHeight });
const res = await fetch(`https://api.openai.com/v1/chat/completions`, {
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment