mirror of
				https://github.com/ItzCrazyKns/Perplexica.git
				synced 2025-10-31 11:28:15 +00:00 
			
		
		
		
	Merge branch 'master' of https://github.com/ItzCrazyKns/Perplexica
This commit is contained in:
		| @@ -48,7 +48,7 @@ class GeminiProvider extends BaseModelProvider<GeminiConfig> { | ||||
|     let defaultChatModels: Model[] = []; | ||||
|  | ||||
|     data.models.forEach((m: any) => { | ||||
|       if (m.supportedGenerationMethods.includes('embedText')) { | ||||
|       if (m.supportedGenerationMethods.some((genMethod: string) => genMethod === 'embedText' || genMethod === 'embedContent')) { | ||||
|         defaultEmbeddingModels.push({ | ||||
|           key: m.name, | ||||
|           name: m.displayName, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user