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
f63178b5
Commit
f63178b5
authored
Dec 22, 2023
by
Timothy J. Baek
Browse files
fix: header fields removed
parent
b79c0602
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
6 deletions
+2
-6
src/routes/(app)/+page.svelte
src/routes/(app)/+page.svelte
+1
-3
src/routes/(app)/c/[id]/+page.svelte
src/routes/(app)/c/[id]/+page.svelte
+1
-3
No files found.
src/routes/(app)/+page.svelte
View file @
f63178b5
...
@@ -375,9 +375,7 @@
...
@@ -375,9 +375,7 @@
method: 'POST',
method: 'POST',
headers: {
headers: {
Authorization: `Bearer ${$settings.OPENAI_API_KEY}`,
Authorization: `Bearer ${$settings.OPENAI_API_KEY}`,
'Content-Type': 'application/json',
'Content-Type': 'application/json'
'HTTP-Referer': `https://ollamahub.com/`,
'X-Title': `Ollama WebUI`
},
},
body: JSON.stringify({
body: JSON.stringify({
model: model,
model: model,
...
...
src/routes/(app)/c/[id]/+page.svelte
View file @
f63178b5
...
@@ -389,9 +389,7 @@
...
@@ -389,9 +389,7 @@
method: 'POST',
method: 'POST',
headers: {
headers: {
Authorization: `Bearer ${$settings.OPENAI_API_KEY}`,
Authorization: `Bearer ${$settings.OPENAI_API_KEY}`,
'Content-Type': 'application/json',
'Content-Type': 'application/json'
'HTTP-Referer': `https://ollamahub.com/`,
'X-Title': `Ollama WebUI`
},
},
body: JSON.stringify({
body: JSON.stringify({
model: model,
model: model,
...
...
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