forked from open-webui/open-webui
		
	Merge pull request #1109 from ther0bster/fix-openai-env-var-parsing
fix: parsing of OPENAI_API_BASE_URLS env var
This commit is contained in:
		
						commit
						19700e9074
					
				
					 7 changed files with 19 additions and 7 deletions
				
			
		| 
						 | 
				
			
			@ -109,7 +109,9 @@
 | 
			
		|||
					<button
 | 
			
		||||
						class="relative rounded-full dark:bg-gray-700"
 | 
			
		||||
						type="button"
 | 
			
		||||
						on:click={profileImageInputElement.click}
 | 
			
		||||
						on:click={() => {
 | 
			
		||||
							profileImageInputElement.click();
 | 
			
		||||
						}}
 | 
			
		||||
					>
 | 
			
		||||
						<img
 | 
			
		||||
							src={profileImageUrl !== '' ? profileImageUrl : '/user.png'}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -170,7 +170,9 @@
 | 
			
		|||
			/>
 | 
			
		||||
			<button
 | 
			
		||||
				class=" flex rounded-md py-2 px-3.5 w-full hover:bg-gray-200 dark:hover:bg-gray-800 transition"
 | 
			
		||||
				on:click={chatImportInputElement.click}
 | 
			
		||||
				on:click={() => {
 | 
			
		||||
					chatImportInputElement.click();
 | 
			
		||||
				}}
 | 
			
		||||
			>
 | 
			
		||||
				<div class=" self-center mr-3">
 | 
			
		||||
					<svg
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -600,7 +600,9 @@
 | 
			
		|||
											<button
 | 
			
		||||
												type="button"
 | 
			
		||||
												class="w-full rounded-lg text-left py-2 px-4 dark:text-gray-300 dark:bg-gray-850"
 | 
			
		||||
												on:click={modelUploadInputElement.click}
 | 
			
		||||
												on:click={() => {
 | 
			
		||||
													modelUploadInputElement.click();
 | 
			
		||||
												}}
 | 
			
		||||
											>
 | 
			
		||||
												{#if modelInputFile && modelInputFile.length > 0}
 | 
			
		||||
													{modelInputFile[0].name}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue