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

fix: header fields removed

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