forked from open-webui/open-webui
		
	fix: litellm title generation issue
This commit is contained in:
		
							parent
							
								
									2fbb92aceb
								
							
						
					
					
						commit
						1371e66ed9
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		|  | @ -781,7 +781,7 @@ | |||
| 				titleModelId, | ||||
| 				userPrompt, | ||||
| 				titleModel?.external ?? false | ||||
| 					? titleModel.source === 'litellm' | ||||
| 					? titleModel?.source?.toLowerCase() === 'litellm' | ||||
| 						? `${LITELLM_API_BASE_URL}/v1` | ||||
| 						: `${OPENAI_API_BASE_URL}` | ||||
| 					: `${OLLAMA_API_BASE_URL}/v1` | ||||
|  |  | |||
|  | @ -795,7 +795,7 @@ | |||
| 				titleModelId, | ||||
| 				userPrompt, | ||||
| 				titleModel?.external ?? false | ||||
| 					? titleModel.source === 'litellm' | ||||
| 					? titleModel?.source?.toLowerCase() === 'litellm' | ||||
| 						? `${LITELLM_API_BASE_URL}/v1` | ||||
| 						: `${OPENAI_API_BASE_URL}` | ||||
| 					: `${OLLAMA_API_BASE_URL}/v1` | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Timothy J. Baek
						Timothy J. Baek