mirror of
https://github.com/lobehub/lobe-chat.git
synced 2026-06-16 04:25:59 +00:00
💄 style: Add gemini new model (#5546)
* Update google.ts * Update google.ts
This commit is contained in:
@@ -1,6 +1,26 @@
|
||||
import { AIChatModelCard } from '@/types/aiModel';
|
||||
|
||||
const googleChatModels: AIChatModelCard[] = [
|
||||
{
|
||||
abilities: {
|
||||
functionCall: true,
|
||||
vision: true,
|
||||
},
|
||||
contextWindowTokens: 1_048_576 + 65_536,
|
||||
description:
|
||||
'Gemini 2.0 Flash Exp 是 Google 最新的实验性多模态AI模型,拥有下一代特性,卓越的速度,原生工具调用以及多模态生成。',
|
||||
displayName: 'Gemini 2.0 Flash Thinking Experimental 01-21',
|
||||
enabled: true,
|
||||
id: 'gemini-2.0-flash-thinking-exp-01-21',
|
||||
maxOutput: 65_536,
|
||||
pricing: {
|
||||
cachedInput: 0,
|
||||
input: 0,
|
||||
output: 0,
|
||||
},
|
||||
releasedAt: '2025-01-21',
|
||||
type: 'chat',
|
||||
},
|
||||
{
|
||||
abilities: {
|
||||
functionCall: true,
|
||||
@@ -10,7 +30,6 @@ const googleChatModels: AIChatModelCard[] = [
|
||||
description:
|
||||
'Gemini 2.0 Flash Exp 是 Google 最新的实验性多模态AI模型,拥有下一代特性,卓越的速度,原生工具调用以及多模态生成。',
|
||||
displayName: 'Gemini 2.0 Flash Thinking Experimental 1219',
|
||||
enabled: true,
|
||||
id: 'gemini-2.0-flash-thinking-exp-1219',
|
||||
maxOutput: 8192,
|
||||
pricing: {
|
||||
|
||||
@@ -3,12 +3,28 @@ import { ModelProviderCard } from '@/types/llm';
|
||||
// ref: https://ai.google.dev/gemini-api/docs/models/gemini
|
||||
const Google: ModelProviderCard = {
|
||||
chatModels: [
|
||||
{
|
||||
contextWindowTokens: 1_048_576 + 65_536,
|
||||
description:
|
||||
'Gemini 2.0 Flash Exp 是 Google 最新的实验性多模态AI模型,拥有下一代特性,卓越的速度,原生工具调用以及多模态生成。',
|
||||
displayName: 'Gemini 2.0 Flash Thinking Experimental 01-21',
|
||||
enabled: true,
|
||||
functionCall: true,
|
||||
id: 'gemini-2.0-flash-thinking-exp-01-21',
|
||||
maxOutput: 65_536,
|
||||
pricing: {
|
||||
cachedInput: 0,
|
||||
input: 0,
|
||||
output: 0,
|
||||
},
|
||||
releasedAt: '2025-01-21',
|
||||
vision: true,
|
||||
},
|
||||
{
|
||||
contextWindowTokens: 32_767 + 8192,
|
||||
description:
|
||||
'Gemini 2.0 Flash Exp 是 Google 最新的实验性多模态AI模型,拥有下一代特性,卓越的速度,原生工具调用以及多模态生成。',
|
||||
displayName: 'Gemini 2.0 Flash Thinking Experimental 1219',
|
||||
enabled: true,
|
||||
functionCall: true,
|
||||
id: 'gemini-2.0-flash-thinking-exp-1219',
|
||||
maxOutput: 8192,
|
||||
|
||||
Reference in New Issue
Block a user