forked from open-webui/open-webui
		
	fix: header fields removed
This commit is contained in:
		
							parent
							
								
									b79c06023b
								
							
						
					
					
						commit
						f63178b592
					
				
					 2 changed files with 2 additions and 6 deletions
				
			
		|  | @ -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…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Timothy J. Baek
						Timothy J. Baek