Commit f63178b5 authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

fix: header fields removed

parent b79c0602
...@@ -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,
......
...@@ -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,
......
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