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 68a7c83 commit 70c7695Copy full SHA for 70c7695
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
@@ -368,7 +369,7 @@ export class GeminiHandler extends BaseProvider implements SingleCompletionHandl
368
369
}
370
371
// Prepare the content for generation
- const contents: any[] = []
372
+ const contents: Content[] = []
373
374
if (inputImage) {
375
// For image editing mode, include both text and image
0 commit comments