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