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', | 						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 @@ | ||||||
| 						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, | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Timothy J. Baek
						Timothy J. Baek