We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8da0394 commit 1b1562fCopy full SHA for 1b1562f
src/api/providers/gemini.ts
@@ -5,6 +5,7 @@ import {
5
type GenerateContentParameters,
6
type GenerateContentConfig,
7
type GroundingMetadata,
8
+ type Content,
9
} from "@google/genai"
10
import type { JWTInput } from "google-auth-library"
11
@@ -361,7 +362,7 @@ export class GeminiHandler extends BaseProvider implements SingleCompletionHandl
361
362
}
363
364
// Prepare the content for generation
- const contents: any[] = []
365
+ const contents: Content[] = []
366
367
if (inputImage) {
368
// For image editing mode, include both text and image
0 commit comments