fix(embedding): support native Gemini embeddings
This commit is contained in:
@@ -435,6 +435,16 @@ const fallbackProviderOptions = computed(() => [
|
||||
description: t('model.editor.providers.openrouter.description'),
|
||||
modelTypes: ['chat', 'embedding']
|
||||
},
|
||||
{
|
||||
value: 'gemini',
|
||||
label: t('model.editor.providers.gemini.label'),
|
||||
defaultUrls: {
|
||||
chat: 'https://generativelanguage.googleapis.com/v1beta/openai',
|
||||
embedding: 'https://generativelanguage.googleapis.com/v1beta'
|
||||
},
|
||||
description: t('model.editor.providers.gemini.description'),
|
||||
modelTypes: ['chat', 'embedding']
|
||||
},
|
||||
{
|
||||
value: 'siliconflow',
|
||||
label: t('model.editor.providers.siliconflow.label'),
|
||||
|
||||
Reference in New Issue
Block a user