mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-03 21:19:01 +01:00 
			
		
		
		
	feat(llm): also have the embedding provider settings be changeable
This commit is contained in:
		
							parent
							
								
									63722a28a2
								
							
						
					
					
						commit
						5bc2c3ac18
					
				@ -100,14 +100,18 @@ const ALLOWED_OPTIONS = new Set<OptionNames>([
 | 
				
			|||||||
    "openaiBaseUrl",
 | 
					    "openaiBaseUrl",
 | 
				
			||||||
    "openaiDefaultModel",
 | 
					    "openaiDefaultModel",
 | 
				
			||||||
    "openaiEmbeddingModel",
 | 
					    "openaiEmbeddingModel",
 | 
				
			||||||
 | 
					    "openaiEmbeddingApiKey",
 | 
				
			||||||
 | 
					    "openaiEmbeddingBaseUrl",
 | 
				
			||||||
    "anthropicApiKey",
 | 
					    "anthropicApiKey",
 | 
				
			||||||
    "anthropicBaseUrl",
 | 
					    "anthropicBaseUrl",
 | 
				
			||||||
    "anthropicDefaultModel",
 | 
					    "anthropicDefaultModel",
 | 
				
			||||||
    "voyageApiKey",
 | 
					    "voyageApiKey",
 | 
				
			||||||
    "voyageEmbeddingModel",
 | 
					    "voyageEmbeddingModel",
 | 
				
			||||||
 | 
					    "voyageEmbeddingBaseUrl",
 | 
				
			||||||
    "ollamaBaseUrl",
 | 
					    "ollamaBaseUrl",
 | 
				
			||||||
    "ollamaDefaultModel",
 | 
					    "ollamaDefaultModel",
 | 
				
			||||||
    "ollamaEmbeddingModel",
 | 
					    "ollamaEmbeddingModel",
 | 
				
			||||||
 | 
					    "ollamaEmbeddingBaseUrl",
 | 
				
			||||||
    "embeddingAutoUpdateEnabled",
 | 
					    "embeddingAutoUpdateEnabled",
 | 
				
			||||||
    "embeddingDimensionStrategy",
 | 
					    "embeddingDimensionStrategy",
 | 
				
			||||||
    "embeddingSelectedProvider",
 | 
					    "embeddingSelectedProvider",
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user