mirror of
https://github.com/hellodigua/ChatLab.git
synced 2026-10-25 17:54:34 +08:00
fix: 修复Gemini API配置问题 (fix #97)
This commit is contained in:
1 parent
9e8f9e8678
commit
8f080910d4
1 file changed
+5
-3
@@ -104,10 +104,12 @@ const GEMINI_INFO: ProviderInfo = {
|
||||
id: 'gemini',
|
||||
name: 'Gemini',
|
||||
description: 'Google Gemini 大语言模型',
|
||||
defaultBaseUrl: 'https://generativelanguage.googleapis.com',
|
||||
defaultBaseUrl: 'https://generativelanguage.googleapis.com/v1beta',
|
||||
models: [
|
||||
{ id: 'gemini-3-flash-preview', name: 'Gemini 3 Flash Preview', description: '高速预览版' },
|
||||
{ id: 'gemini-3-pro-preview', name: 'Gemini 3 Pro Preview', description: '专业预览版' },
|
||||
{ id: 'gemini-2.5-flash', name: 'Gemini 2.5 Flash', description: '高性价比,低延迟,适合大多数场景' },
|
||||
{ id: 'gemini-2.5-pro', name: 'Gemini 2.5 Pro', description: '深度推理与复杂任务' },
|
||||
{ id: 'gemini-3-flash-preview', name: 'Gemini 3 Flash Preview', description: '前沿性能,预览版' },
|
||||
{ id: 'gemini-3.1-pro-preview', name: 'Gemini 3.1 Pro Preview', description: '最先进推理模型,预览版' },
|
||||
],
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user