feat: support Gemini openai compatible api

This commit is contained in:
JustSong
2025-02-16 17:59:39 +08:00
parent 1ce6a226f6
commit 3f421c4f04
8 changed files with 54 additions and 15 deletions

View File

@@ -7,11 +7,18 @@ export const CHANNEL_OPTIONS = [
color: 'olive',
description: 'OpenAI 兼容渠道,支持设置 Base URL',
},
{ key: 14, text: 'Anthropic Claude', value: 14, color: 'black' },
{key: 14, text: 'Anthropic', value: 14, color: 'black'},
{ key: 33, text: 'AWS', value: 33, color: 'black' },
{ key: 3, text: 'Azure OpenAI', value: 3, color: 'olive' },
{ key: 11, text: 'Google PaLM2', value: 11, color: 'orange' },
{ key: 24, text: 'Google Gemini', value: 24, color: 'orange' },
{key: 3, text: 'Azure', value: 3, color: 'olive'},
{key: 11, text: 'PaLM2', value: 11, color: 'orange'},
{key: 24, text: 'Gemini', value: 24, color: 'orange'},
{
key: 51,
text: 'Gemini (OpenAI)',
value: 51,
color: 'orange',
description: 'Gemini OpenAI 兼容格式',
},
{ key: 28, text: 'Mistral AI', value: 28, color: 'orange' },
{ key: 41, text: 'Novita', value: 41, color: 'purple' },
{