mirror of
https://github.com/open-webui/open-webui
synced 2024-11-26 14:02:29 +00:00
fix: header fields removed
This commit is contained in:
parent
b79c06023b
commit
f63178b592
@ -375,9 +375,7 @@
|
||||
method: 'POST',
|
||||
headers: {
|
||||
Authorization: `Bearer ${$settings.OPENAI_API_KEY}`,
|
||||
'Content-Type': 'application/json',
|
||||
'HTTP-Referer': `https://ollamahub.com/`,
|
||||
'X-Title': `Ollama WebUI`
|
||||
'Content-Type': 'application/json'
|
||||
},
|
||||
body: JSON.stringify({
|
||||
model: model,
|
||||
|
@ -389,9 +389,7 @@
|
||||
method: 'POST',
|
||||
headers: {
|
||||
Authorization: `Bearer ${$settings.OPENAI_API_KEY}`,
|
||||
'Content-Type': 'application/json',
|
||||
'HTTP-Referer': `https://ollamahub.com/`,
|
||||
'X-Title': `Ollama WebUI`
|
||||
'Content-Type': 'application/json'
|
||||
},
|
||||
body: JSON.stringify({
|
||||
model: model,
|
||||
|
Loading…
Reference in New Issue
Block a user