mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 12:28:42 +00:00
feat(server): bump gemini version (#11317)
This commit is contained in:
@@ -320,7 +320,7 @@ const actions: Prompt[] = [
|
||||
{
|
||||
name: 'Transcript audio',
|
||||
action: 'Transcript audio',
|
||||
model: 'gemini-2.0-flash-001',
|
||||
model: 'gemini-2.5-pro-exp-03-25',
|
||||
messages: [
|
||||
{
|
||||
role: 'system',
|
||||
|
||||
@@ -66,6 +66,7 @@ export class GeminiProvider
|
||||
override readonly models = [
|
||||
// text to text
|
||||
'gemini-2.0-flash-001',
|
||||
'gemini-2.5-pro-exp-03-25',
|
||||
// embeddings
|
||||
'text-embedding-004',
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user