mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-03 21:19:01 +01:00 
			
		
		
		
	fix embedding provider precedence settings issue
This commit is contained in:
		
							parent
							
								
									3534399cd9
								
							
						
					
					
						commit
						654ed4706e
					
				@ -1874,6 +1874,7 @@ export default class AiSettingsWidget extends OptionsWidget {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        // Get the current value
 | 
					        // Get the current value
 | 
				
			||||||
        const savedValue = $embeddingProviderPrecedence.val() as string;
 | 
					        const savedValue = $embeddingProviderPrecedence.val() as string;
 | 
				
			||||||
 | 
					        // If no saved value, don't proceed with initialization to avoid triggering the "empty" change
 | 
				
			||||||
        if (!savedValue) return;
 | 
					        if (!savedValue) return;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        // Get all available providers
 | 
					        // Get all available providers
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user