@adaline/google 1.8.0 → 1.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -3042,8 +3042,8 @@ declare class Gemini2_0FlashExp extends BaseChatModel {
3042
3042
  constructor(options: Gemini2_0FlashExpOptionsType);
3043
3043
  }
3044
3044
 
3045
- declare const Gemini2_5FlashPreview0417Literal = "gemini-2.5-flash-preview-04-17";
3046
- declare const Gemini2_5FlashPreview0417Schema: {
3045
+ declare const Gemini2_0FlashLiteral = "gemini-2.0-flash";
3046
+ declare const Gemini2_0FlashSchema: {
3047
3047
  description: string;
3048
3048
  maxOutputTokens: number;
3049
3049
  name: string;
@@ -3104,7 +3104,7 @@ declare const Gemini2_5FlashPreview0417Schema: {
3104
3104
  };
3105
3105
  maxReasoningTokens?: number | undefined;
3106
3106
  };
3107
- declare const Gemini2_5FlashPreview0417Options: z.ZodObject<{
3107
+ declare const Gemini2_0FlashOptions: z.ZodObject<{
3108
3108
  modelName: z.ZodString;
3109
3109
  apiKey: z.ZodString;
3110
3110
  baseUrl: z.ZodOptional<z.ZodString>;
@@ -3123,13 +3123,13 @@ declare const Gemini2_5FlashPreview0417Options: z.ZodObject<{
3123
3123
  completeChatUrl?: string | undefined;
3124
3124
  streamChatUrl?: string | undefined;
3125
3125
  }>;
3126
- type Gemini2_5FlashPreview0417OptionsType = z.infer<typeof Gemini2_5FlashPreview0417Options>;
3127
- declare class Gemini2_5FlashPreview0417 extends BaseChatModel {
3128
- constructor(options: Gemini2_5FlashPreview0417OptionsType);
3126
+ type Gemini2_0FlashOptionsType = z.infer<typeof Gemini2_0FlashOptions>;
3127
+ declare class Gemini2_0Flash extends BaseChatModel {
3128
+ constructor(options: Gemini2_0FlashOptionsType);
3129
3129
  }
3130
3130
 
3131
- declare const Gemini2_5ProPreview0325Literal = "gemini-2.5-pro-preview-03-25";
3132
- declare const Gemini2_5ProPreview0325Schema: {
3131
+ declare const Gemini2_5FlashLiteLiteral = "gemini-2.5-flash-lite";
3132
+ declare const Gemini2_5FlashLiteSchema: {
3133
3133
  description: string;
3134
3134
  maxOutputTokens: number;
3135
3135
  name: string;
@@ -3190,7 +3190,7 @@ declare const Gemini2_5ProPreview0325Schema: {
3190
3190
  };
3191
3191
  maxReasoningTokens?: number | undefined;
3192
3192
  };
3193
- declare const Gemini2_5ProPreview0325Options: z.ZodObject<{
3193
+ declare const Gemini2_5FlashLiteOptions: z.ZodObject<{
3194
3194
  modelName: z.ZodString;
3195
3195
  apiKey: z.ZodString;
3196
3196
  baseUrl: z.ZodOptional<z.ZodString>;
@@ -3209,9 +3209,95 @@ declare const Gemini2_5ProPreview0325Options: z.ZodObject<{
3209
3209
  completeChatUrl?: string | undefined;
3210
3210
  streamChatUrl?: string | undefined;
3211
3211
  }>;
3212
- type Gemini2_5ProPreview0325OptionsType = z.infer<typeof Gemini2_5ProPreview0325Options>;
3213
- declare class Gemini2_5ProPreview0325 extends BaseChatModel {
3214
- constructor(options: Gemini2_5ProPreview0325OptionsType);
3212
+ type Gemini2_5FlashLiteOptionsType = z.infer<typeof Gemini2_5FlashLiteOptions>;
3213
+ declare class Gemini2_5FlashLite extends BaseChatModel {
3214
+ constructor(options: Gemini2_5FlashLiteOptionsType);
3215
+ }
3216
+
3217
+ declare const Gemini2_5FlashPreview0417Literal = "gemini-2.5-flash-preview-04-17";
3218
+ declare const Gemini2_5FlashPreview0417Schema: {
3219
+ description: string;
3220
+ maxOutputTokens: number;
3221
+ name: string;
3222
+ roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
3223
+ modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
3224
+ maxInputTokens: number;
3225
+ config: {
3226
+ def: Record<string, {
3227
+ type: "multi-string";
3228
+ param: string;
3229
+ title: string;
3230
+ description: string;
3231
+ max: number;
3232
+ } | {
3233
+ type: "object-schema";
3234
+ param: string;
3235
+ title: string;
3236
+ description: string;
3237
+ objectSchema?: any;
3238
+ } | {
3239
+ type: "range";
3240
+ param: string;
3241
+ title: string;
3242
+ description: string;
3243
+ max: number;
3244
+ default: number;
3245
+ min: number;
3246
+ step: number;
3247
+ } | {
3248
+ type: "select-boolean";
3249
+ param: string;
3250
+ title: string;
3251
+ description: string;
3252
+ default: boolean | null;
3253
+ } | {
3254
+ type: "select-string";
3255
+ param: string;
3256
+ title: string;
3257
+ description: string;
3258
+ default: string;
3259
+ choices: string[];
3260
+ }>;
3261
+ schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
3262
+ };
3263
+ price: {
3264
+ modelName: string;
3265
+ currency: string;
3266
+ tokenRanges: {
3267
+ minTokens: number;
3268
+ prices: {
3269
+ base: {
3270
+ inputPricePerMillion: number;
3271
+ outputPricePerMillion: number;
3272
+ };
3273
+ };
3274
+ maxTokens?: number | null | undefined;
3275
+ }[];
3276
+ };
3277
+ maxReasoningTokens?: number | undefined;
3278
+ };
3279
+ declare const Gemini2_5FlashPreview0417Options: z.ZodObject<{
3280
+ modelName: z.ZodString;
3281
+ apiKey: z.ZodString;
3282
+ baseUrl: z.ZodOptional<z.ZodString>;
3283
+ completeChatUrl: z.ZodOptional<z.ZodString>;
3284
+ streamChatUrl: z.ZodOptional<z.ZodString>;
3285
+ }, "strip", z.ZodTypeAny, {
3286
+ modelName: string;
3287
+ apiKey: string;
3288
+ baseUrl?: string | undefined;
3289
+ completeChatUrl?: string | undefined;
3290
+ streamChatUrl?: string | undefined;
3291
+ }, {
3292
+ modelName: string;
3293
+ apiKey: string;
3294
+ baseUrl?: string | undefined;
3295
+ completeChatUrl?: string | undefined;
3296
+ streamChatUrl?: string | undefined;
3297
+ }>;
3298
+ type Gemini2_5FlashPreview0417OptionsType = z.infer<typeof Gemini2_5FlashPreview0417Options>;
3299
+ declare class Gemini2_5FlashPreview0417 extends BaseChatModel {
3300
+ constructor(options: Gemini2_5FlashPreview0417OptionsType);
3215
3301
  }
3216
3302
 
3217
3303
  declare const Gemini2_5FlashLiteral = "gemini-2.5-flash";
@@ -3300,6 +3386,92 @@ declare class Gemini2_5Flash extends BaseChatModel {
3300
3386
  constructor(options: Gemini2_5FlashOptionsType);
3301
3387
  }
3302
3388
 
3389
+ declare const Gemini2_5ProPreview0325Literal = "gemini-2.5-pro-preview-03-25";
3390
+ declare const Gemini2_5ProPreview0325Schema: {
3391
+ description: string;
3392
+ maxOutputTokens: number;
3393
+ name: string;
3394
+ roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
3395
+ modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
3396
+ maxInputTokens: number;
3397
+ config: {
3398
+ def: Record<string, {
3399
+ type: "multi-string";
3400
+ param: string;
3401
+ title: string;
3402
+ description: string;
3403
+ max: number;
3404
+ } | {
3405
+ type: "object-schema";
3406
+ param: string;
3407
+ title: string;
3408
+ description: string;
3409
+ objectSchema?: any;
3410
+ } | {
3411
+ type: "range";
3412
+ param: string;
3413
+ title: string;
3414
+ description: string;
3415
+ max: number;
3416
+ default: number;
3417
+ min: number;
3418
+ step: number;
3419
+ } | {
3420
+ type: "select-boolean";
3421
+ param: string;
3422
+ title: string;
3423
+ description: string;
3424
+ default: boolean | null;
3425
+ } | {
3426
+ type: "select-string";
3427
+ param: string;
3428
+ title: string;
3429
+ description: string;
3430
+ default: string;
3431
+ choices: string[];
3432
+ }>;
3433
+ schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
3434
+ };
3435
+ price: {
3436
+ modelName: string;
3437
+ currency: string;
3438
+ tokenRanges: {
3439
+ minTokens: number;
3440
+ prices: {
3441
+ base: {
3442
+ inputPricePerMillion: number;
3443
+ outputPricePerMillion: number;
3444
+ };
3445
+ };
3446
+ maxTokens?: number | null | undefined;
3447
+ }[];
3448
+ };
3449
+ maxReasoningTokens?: number | undefined;
3450
+ };
3451
+ declare const Gemini2_5ProPreview0325Options: z.ZodObject<{
3452
+ modelName: z.ZodString;
3453
+ apiKey: z.ZodString;
3454
+ baseUrl: z.ZodOptional<z.ZodString>;
3455
+ completeChatUrl: z.ZodOptional<z.ZodString>;
3456
+ streamChatUrl: z.ZodOptional<z.ZodString>;
3457
+ }, "strip", z.ZodTypeAny, {
3458
+ modelName: string;
3459
+ apiKey: string;
3460
+ baseUrl?: string | undefined;
3461
+ completeChatUrl?: string | undefined;
3462
+ streamChatUrl?: string | undefined;
3463
+ }, {
3464
+ modelName: string;
3465
+ apiKey: string;
3466
+ baseUrl?: string | undefined;
3467
+ completeChatUrl?: string | undefined;
3468
+ streamChatUrl?: string | undefined;
3469
+ }>;
3470
+ type Gemini2_5ProPreview0325OptionsType = z.infer<typeof Gemini2_5ProPreview0325Options>;
3471
+ declare class Gemini2_5ProPreview0325 extends BaseChatModel {
3472
+ constructor(options: Gemini2_5ProPreview0325OptionsType);
3473
+ }
3474
+
3303
3475
  declare const Gemini2_5ProLiteral = "gemini-2.5-pro";
3304
3476
  declare const Gemini2_5ProSchema: {
3305
3477
  description: string;
@@ -3700,4 +3872,4 @@ declare class Google<C extends BaseChatModelOptionsType, E extends BaseEmbedding
3700
3872
  embeddingModel(options: E): EmbeddingModelV1;
3701
3873
  }
3702
3874
 
3703
- export { BaseChatModel, BaseChatModelOptions, type BaseChatModelOptionsType, BaseEmbeddingModel, BaseEmbeddingModelOptions, type BaseEmbeddingModelOptionsType, ChatModelBaseConfigDef, ChatModelBaseConfigSchema, ChatModelReasoningConfigDef, ChatModelReasoningConfigSchema, EmbeddingModelBaseConfigDef, EmbeddingModelBaseConfigSchema, Gemini1_5Flash, Gemini1_5Flash001, Gemini1_5Flash001Literal, Gemini1_5Flash001Options, type Gemini1_5Flash001OptionsType, Gemini1_5Flash001Schema, Gemini1_5Flash002, Gemini1_5Flash002Literal, Gemini1_5Flash002Options, type Gemini1_5Flash002OptionsType, Gemini1_5Flash002Schema, Gemini1_5FlashLatest, Gemini1_5FlashLatestLiteral, Gemini1_5FlashLatestOptions, type Gemini1_5FlashLatestOptionsType, Gemini1_5FlashLatestSchema, Gemini1_5FlashLiteral, Gemini1_5FlashOptions, type Gemini1_5FlashOptionsType, Gemini1_5FlashSchema, Gemini1_5Pro, Gemini1_5Pro001, Gemini1_5Pro001Literal, Gemini1_5Pro001Options, type Gemini1_5Pro001OptionsType, Gemini1_5Pro001Schema, Gemini1_5Pro002, Gemini1_5Pro002Literal, Gemini1_5Pro002Options, type Gemini1_5Pro002OptionsType, Gemini1_5Pro002Schema, Gemini1_5ProLatest, Gemini1_5ProLatestLiteral, Gemini1_5ProLatestOptions, type Gemini1_5ProLatestOptionsType, Gemini1_5ProLatestSchema, Gemini1_5ProLiteral, Gemini1_5ProOptions, type Gemini1_5ProOptionsType, Gemini1_5ProSchema, Gemini2_0FlashExp, Gemini2_0FlashExpLiteral, Gemini2_0FlashExpOptions, type Gemini2_0FlashExpOptionsType, Gemini2_0FlashExpSchema, Gemini2_5Flash, Gemini2_5FlashLiteral, Gemini2_5FlashOptions, type Gemini2_5FlashOptionsType, Gemini2_5FlashPreview0417, Gemini2_5FlashPreview0417Literal, Gemini2_5FlashPreview0417Options, type Gemini2_5FlashPreview0417OptionsType, Gemini2_5FlashPreview0417Schema, Gemini2_5FlashSchema, Gemini2_5Pro, Gemini2_5ProLiteral, Gemini2_5ProOptions, type Gemini2_5ProOptionsType, Gemini2_5ProPreview0325, Gemini2_5ProPreview0325Literal, Gemini2_5ProPreview0325Options, type Gemini2_5ProPreview0325OptionsType, Gemini2_5ProPreview0325Schema, Gemini2_5ProSchema, Google, GoogleChatAssistantRoleLiteral, GoogleChatContent, GoogleChatContentPartFileData, type GoogleChatContentPartFileDataType, GoogleChatContentPartFunctionCall, type GoogleChatContentPartFunctionCallType, GoogleChatContentPartFunctionResponse, type GoogleChatContentPartFunctionResponseType, GoogleChatContentPartInlineData, type GoogleChatContentPartInlineDataType, GoogleChatContentPartText, type GoogleChatContentPartTextType, type GoogleChatContentType, GoogleChatGenerationConfig, type GoogleChatGenerationConfigType, GoogleChatModelConfigs, GoogleChatModelModalities, GoogleChatModelModalitiesEnum, GoogleChatModelResponseSchemaConfigDef, GoogleChatModelResponseSchemaConfigSchema, GoogleChatModelRoles, GoogleChatModelRolesMap, GoogleChatModelTextModalities, GoogleChatModelTextModalitiesEnum, GoogleChatModelTextToolModalities, GoogleChatModelTextToolModalitiesEnum, GoogleChatModelTextVisionModalities, GoogleChatModelTextVisionModalitiesEnum, GoogleChatRequest, type GoogleChatRequestType, GoogleChatSafetySettings, type GoogleChatSafetySettingsType, GoogleChatSystemInstruction, type GoogleChatSystemInstructionType, GoogleChatTool, GoogleChatToolConfig, type GoogleChatToolConfigType, GoogleChatToolRoleLiteral, type GoogleChatToolType, GoogleCompleteChatResponse, type GoogleCompleteChatResponseType, GoogleCompleteChatTextResponse, GoogleCompleteChatToolResponse, GoogleEmbeddingModelConfigs, GoogleEmbeddingModelModalities, GoogleEmbeddingModelModalitiesEnum, GoogleEmbeddingRequest, GoogleEmbeddingRequestInput, type GoogleEmbeddingRequestInputType, type GoogleEmbeddingRequestType, GoogleGetEmbeddingsResponse, type GoogleGetEmbeddingsResponseType, GoogleStreamChatResponse, type GoogleStreamChatResponseType, GoogleStreamChatTextResponse, GoogleStreamChatToolResponse, ProviderLiteral, Text_Embedding_001, Text_Embedding_001Literal, Text_Embedding_001Options, type Text_Embedding_001OptionsType, Text_Embedding_001Schema, Text_Embedding_004, Text_Embedding_004Literal, Text_Embedding_004Options, type Text_Embedding_004OptionsType, Text_Embedding_004Schema, dimensions, frequencyPenalty, maxTokens, presencePenalty, reasoningEnabled, safetySettings, seed, stop, temperature, toolChoice, topK, topP };
3875
+ export { BaseChatModel, BaseChatModelOptions, type BaseChatModelOptionsType, BaseEmbeddingModel, BaseEmbeddingModelOptions, type BaseEmbeddingModelOptionsType, ChatModelBaseConfigDef, ChatModelBaseConfigSchema, ChatModelReasoningConfigDef, ChatModelReasoningConfigSchema, EmbeddingModelBaseConfigDef, EmbeddingModelBaseConfigSchema, Gemini1_5Flash, Gemini1_5Flash001, Gemini1_5Flash001Literal, Gemini1_5Flash001Options, type Gemini1_5Flash001OptionsType, Gemini1_5Flash001Schema, Gemini1_5Flash002, Gemini1_5Flash002Literal, Gemini1_5Flash002Options, type Gemini1_5Flash002OptionsType, Gemini1_5Flash002Schema, Gemini1_5FlashLatest, Gemini1_5FlashLatestLiteral, Gemini1_5FlashLatestOptions, type Gemini1_5FlashLatestOptionsType, Gemini1_5FlashLatestSchema, Gemini1_5FlashLiteral, Gemini1_5FlashOptions, type Gemini1_5FlashOptionsType, Gemini1_5FlashSchema, Gemini1_5Pro, Gemini1_5Pro001, Gemini1_5Pro001Literal, Gemini1_5Pro001Options, type Gemini1_5Pro001OptionsType, Gemini1_5Pro001Schema, Gemini1_5Pro002, Gemini1_5Pro002Literal, Gemini1_5Pro002Options, type Gemini1_5Pro002OptionsType, Gemini1_5Pro002Schema, Gemini1_5ProLatest, Gemini1_5ProLatestLiteral, Gemini1_5ProLatestOptions, type Gemini1_5ProLatestOptionsType, Gemini1_5ProLatestSchema, Gemini1_5ProLiteral, Gemini1_5ProOptions, type Gemini1_5ProOptionsType, Gemini1_5ProSchema, Gemini2_0Flash, Gemini2_0FlashExp, Gemini2_0FlashExpLiteral, Gemini2_0FlashExpOptions, type Gemini2_0FlashExpOptionsType, Gemini2_0FlashExpSchema, Gemini2_0FlashLiteral, Gemini2_0FlashOptions, type Gemini2_0FlashOptionsType, Gemini2_0FlashSchema, Gemini2_5Flash, Gemini2_5FlashLite, Gemini2_5FlashLiteLiteral, Gemini2_5FlashLiteOptions, type Gemini2_5FlashLiteOptionsType, Gemini2_5FlashLiteSchema, Gemini2_5FlashLiteral, Gemini2_5FlashOptions, type Gemini2_5FlashOptionsType, Gemini2_5FlashPreview0417, Gemini2_5FlashPreview0417Literal, Gemini2_5FlashPreview0417Options, type Gemini2_5FlashPreview0417OptionsType, Gemini2_5FlashPreview0417Schema, Gemini2_5FlashSchema, Gemini2_5Pro, Gemini2_5ProLiteral, Gemini2_5ProOptions, type Gemini2_5ProOptionsType, Gemini2_5ProPreview0325, Gemini2_5ProPreview0325Literal, Gemini2_5ProPreview0325Options, type Gemini2_5ProPreview0325OptionsType, Gemini2_5ProPreview0325Schema, Gemini2_5ProSchema, Google, GoogleChatAssistantRoleLiteral, GoogleChatContent, GoogleChatContentPartFileData, type GoogleChatContentPartFileDataType, GoogleChatContentPartFunctionCall, type GoogleChatContentPartFunctionCallType, GoogleChatContentPartFunctionResponse, type GoogleChatContentPartFunctionResponseType, GoogleChatContentPartInlineData, type GoogleChatContentPartInlineDataType, GoogleChatContentPartText, type GoogleChatContentPartTextType, type GoogleChatContentType, GoogleChatGenerationConfig, type GoogleChatGenerationConfigType, GoogleChatModelConfigs, GoogleChatModelModalities, GoogleChatModelModalitiesEnum, GoogleChatModelResponseSchemaConfigDef, GoogleChatModelResponseSchemaConfigSchema, GoogleChatModelRoles, GoogleChatModelRolesMap, GoogleChatModelTextModalities, GoogleChatModelTextModalitiesEnum, GoogleChatModelTextToolModalities, GoogleChatModelTextToolModalitiesEnum, GoogleChatModelTextVisionModalities, GoogleChatModelTextVisionModalitiesEnum, GoogleChatRequest, type GoogleChatRequestType, GoogleChatSafetySettings, type GoogleChatSafetySettingsType, GoogleChatSystemInstruction, type GoogleChatSystemInstructionType, GoogleChatTool, GoogleChatToolConfig, type GoogleChatToolConfigType, GoogleChatToolRoleLiteral, type GoogleChatToolType, GoogleCompleteChatResponse, type GoogleCompleteChatResponseType, GoogleCompleteChatTextResponse, GoogleCompleteChatToolResponse, GoogleEmbeddingModelConfigs, GoogleEmbeddingModelModalities, GoogleEmbeddingModelModalitiesEnum, GoogleEmbeddingRequest, GoogleEmbeddingRequestInput, type GoogleEmbeddingRequestInputType, type GoogleEmbeddingRequestType, GoogleGetEmbeddingsResponse, type GoogleGetEmbeddingsResponseType, GoogleStreamChatResponse, type GoogleStreamChatResponseType, GoogleStreamChatTextResponse, GoogleStreamChatToolResponse, ProviderLiteral, Text_Embedding_001, Text_Embedding_001Literal, Text_Embedding_001Options, type Text_Embedding_001OptionsType, Text_Embedding_001Schema, Text_Embedding_004, Text_Embedding_004Literal, Text_Embedding_004Options, type Text_Embedding_004OptionsType, Text_Embedding_004Schema, dimensions, frequencyPenalty, maxTokens, presencePenalty, reasoningEnabled, safetySettings, seed, stop, temperature, toolChoice, topK, topP };
package/dist/index.d.ts CHANGED
@@ -3042,8 +3042,8 @@ declare class Gemini2_0FlashExp extends BaseChatModel {
3042
3042
  constructor(options: Gemini2_0FlashExpOptionsType);
3043
3043
  }
3044
3044
 
3045
- declare const Gemini2_5FlashPreview0417Literal = "gemini-2.5-flash-preview-04-17";
3046
- declare const Gemini2_5FlashPreview0417Schema: {
3045
+ declare const Gemini2_0FlashLiteral = "gemini-2.0-flash";
3046
+ declare const Gemini2_0FlashSchema: {
3047
3047
  description: string;
3048
3048
  maxOutputTokens: number;
3049
3049
  name: string;
@@ -3104,7 +3104,7 @@ declare const Gemini2_5FlashPreview0417Schema: {
3104
3104
  };
3105
3105
  maxReasoningTokens?: number | undefined;
3106
3106
  };
3107
- declare const Gemini2_5FlashPreview0417Options: z.ZodObject<{
3107
+ declare const Gemini2_0FlashOptions: z.ZodObject<{
3108
3108
  modelName: z.ZodString;
3109
3109
  apiKey: z.ZodString;
3110
3110
  baseUrl: z.ZodOptional<z.ZodString>;
@@ -3123,13 +3123,13 @@ declare const Gemini2_5FlashPreview0417Options: z.ZodObject<{
3123
3123
  completeChatUrl?: string | undefined;
3124
3124
  streamChatUrl?: string | undefined;
3125
3125
  }>;
3126
- type Gemini2_5FlashPreview0417OptionsType = z.infer<typeof Gemini2_5FlashPreview0417Options>;
3127
- declare class Gemini2_5FlashPreview0417 extends BaseChatModel {
3128
- constructor(options: Gemini2_5FlashPreview0417OptionsType);
3126
+ type Gemini2_0FlashOptionsType = z.infer<typeof Gemini2_0FlashOptions>;
3127
+ declare class Gemini2_0Flash extends BaseChatModel {
3128
+ constructor(options: Gemini2_0FlashOptionsType);
3129
3129
  }
3130
3130
 
3131
- declare const Gemini2_5ProPreview0325Literal = "gemini-2.5-pro-preview-03-25";
3132
- declare const Gemini2_5ProPreview0325Schema: {
3131
+ declare const Gemini2_5FlashLiteLiteral = "gemini-2.5-flash-lite";
3132
+ declare const Gemini2_5FlashLiteSchema: {
3133
3133
  description: string;
3134
3134
  maxOutputTokens: number;
3135
3135
  name: string;
@@ -3190,7 +3190,7 @@ declare const Gemini2_5ProPreview0325Schema: {
3190
3190
  };
3191
3191
  maxReasoningTokens?: number | undefined;
3192
3192
  };
3193
- declare const Gemini2_5ProPreview0325Options: z.ZodObject<{
3193
+ declare const Gemini2_5FlashLiteOptions: z.ZodObject<{
3194
3194
  modelName: z.ZodString;
3195
3195
  apiKey: z.ZodString;
3196
3196
  baseUrl: z.ZodOptional<z.ZodString>;
@@ -3209,9 +3209,95 @@ declare const Gemini2_5ProPreview0325Options: z.ZodObject<{
3209
3209
  completeChatUrl?: string | undefined;
3210
3210
  streamChatUrl?: string | undefined;
3211
3211
  }>;
3212
- type Gemini2_5ProPreview0325OptionsType = z.infer<typeof Gemini2_5ProPreview0325Options>;
3213
- declare class Gemini2_5ProPreview0325 extends BaseChatModel {
3214
- constructor(options: Gemini2_5ProPreview0325OptionsType);
3212
+ type Gemini2_5FlashLiteOptionsType = z.infer<typeof Gemini2_5FlashLiteOptions>;
3213
+ declare class Gemini2_5FlashLite extends BaseChatModel {
3214
+ constructor(options: Gemini2_5FlashLiteOptionsType);
3215
+ }
3216
+
3217
+ declare const Gemini2_5FlashPreview0417Literal = "gemini-2.5-flash-preview-04-17";
3218
+ declare const Gemini2_5FlashPreview0417Schema: {
3219
+ description: string;
3220
+ maxOutputTokens: number;
3221
+ name: string;
3222
+ roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
3223
+ modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
3224
+ maxInputTokens: number;
3225
+ config: {
3226
+ def: Record<string, {
3227
+ type: "multi-string";
3228
+ param: string;
3229
+ title: string;
3230
+ description: string;
3231
+ max: number;
3232
+ } | {
3233
+ type: "object-schema";
3234
+ param: string;
3235
+ title: string;
3236
+ description: string;
3237
+ objectSchema?: any;
3238
+ } | {
3239
+ type: "range";
3240
+ param: string;
3241
+ title: string;
3242
+ description: string;
3243
+ max: number;
3244
+ default: number;
3245
+ min: number;
3246
+ step: number;
3247
+ } | {
3248
+ type: "select-boolean";
3249
+ param: string;
3250
+ title: string;
3251
+ description: string;
3252
+ default: boolean | null;
3253
+ } | {
3254
+ type: "select-string";
3255
+ param: string;
3256
+ title: string;
3257
+ description: string;
3258
+ default: string;
3259
+ choices: string[];
3260
+ }>;
3261
+ schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
3262
+ };
3263
+ price: {
3264
+ modelName: string;
3265
+ currency: string;
3266
+ tokenRanges: {
3267
+ minTokens: number;
3268
+ prices: {
3269
+ base: {
3270
+ inputPricePerMillion: number;
3271
+ outputPricePerMillion: number;
3272
+ };
3273
+ };
3274
+ maxTokens?: number | null | undefined;
3275
+ }[];
3276
+ };
3277
+ maxReasoningTokens?: number | undefined;
3278
+ };
3279
+ declare const Gemini2_5FlashPreview0417Options: z.ZodObject<{
3280
+ modelName: z.ZodString;
3281
+ apiKey: z.ZodString;
3282
+ baseUrl: z.ZodOptional<z.ZodString>;
3283
+ completeChatUrl: z.ZodOptional<z.ZodString>;
3284
+ streamChatUrl: z.ZodOptional<z.ZodString>;
3285
+ }, "strip", z.ZodTypeAny, {
3286
+ modelName: string;
3287
+ apiKey: string;
3288
+ baseUrl?: string | undefined;
3289
+ completeChatUrl?: string | undefined;
3290
+ streamChatUrl?: string | undefined;
3291
+ }, {
3292
+ modelName: string;
3293
+ apiKey: string;
3294
+ baseUrl?: string | undefined;
3295
+ completeChatUrl?: string | undefined;
3296
+ streamChatUrl?: string | undefined;
3297
+ }>;
3298
+ type Gemini2_5FlashPreview0417OptionsType = z.infer<typeof Gemini2_5FlashPreview0417Options>;
3299
+ declare class Gemini2_5FlashPreview0417 extends BaseChatModel {
3300
+ constructor(options: Gemini2_5FlashPreview0417OptionsType);
3215
3301
  }
3216
3302
 
3217
3303
  declare const Gemini2_5FlashLiteral = "gemini-2.5-flash";
@@ -3300,6 +3386,92 @@ declare class Gemini2_5Flash extends BaseChatModel {
3300
3386
  constructor(options: Gemini2_5FlashOptionsType);
3301
3387
  }
3302
3388
 
3389
+ declare const Gemini2_5ProPreview0325Literal = "gemini-2.5-pro-preview-03-25";
3390
+ declare const Gemini2_5ProPreview0325Schema: {
3391
+ description: string;
3392
+ maxOutputTokens: number;
3393
+ name: string;
3394
+ roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
3395
+ modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
3396
+ maxInputTokens: number;
3397
+ config: {
3398
+ def: Record<string, {
3399
+ type: "multi-string";
3400
+ param: string;
3401
+ title: string;
3402
+ description: string;
3403
+ max: number;
3404
+ } | {
3405
+ type: "object-schema";
3406
+ param: string;
3407
+ title: string;
3408
+ description: string;
3409
+ objectSchema?: any;
3410
+ } | {
3411
+ type: "range";
3412
+ param: string;
3413
+ title: string;
3414
+ description: string;
3415
+ max: number;
3416
+ default: number;
3417
+ min: number;
3418
+ step: number;
3419
+ } | {
3420
+ type: "select-boolean";
3421
+ param: string;
3422
+ title: string;
3423
+ description: string;
3424
+ default: boolean | null;
3425
+ } | {
3426
+ type: "select-string";
3427
+ param: string;
3428
+ title: string;
3429
+ description: string;
3430
+ default: string;
3431
+ choices: string[];
3432
+ }>;
3433
+ schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
3434
+ };
3435
+ price: {
3436
+ modelName: string;
3437
+ currency: string;
3438
+ tokenRanges: {
3439
+ minTokens: number;
3440
+ prices: {
3441
+ base: {
3442
+ inputPricePerMillion: number;
3443
+ outputPricePerMillion: number;
3444
+ };
3445
+ };
3446
+ maxTokens?: number | null | undefined;
3447
+ }[];
3448
+ };
3449
+ maxReasoningTokens?: number | undefined;
3450
+ };
3451
+ declare const Gemini2_5ProPreview0325Options: z.ZodObject<{
3452
+ modelName: z.ZodString;
3453
+ apiKey: z.ZodString;
3454
+ baseUrl: z.ZodOptional<z.ZodString>;
3455
+ completeChatUrl: z.ZodOptional<z.ZodString>;
3456
+ streamChatUrl: z.ZodOptional<z.ZodString>;
3457
+ }, "strip", z.ZodTypeAny, {
3458
+ modelName: string;
3459
+ apiKey: string;
3460
+ baseUrl?: string | undefined;
3461
+ completeChatUrl?: string | undefined;
3462
+ streamChatUrl?: string | undefined;
3463
+ }, {
3464
+ modelName: string;
3465
+ apiKey: string;
3466
+ baseUrl?: string | undefined;
3467
+ completeChatUrl?: string | undefined;
3468
+ streamChatUrl?: string | undefined;
3469
+ }>;
3470
+ type Gemini2_5ProPreview0325OptionsType = z.infer<typeof Gemini2_5ProPreview0325Options>;
3471
+ declare class Gemini2_5ProPreview0325 extends BaseChatModel {
3472
+ constructor(options: Gemini2_5ProPreview0325OptionsType);
3473
+ }
3474
+
3303
3475
  declare const Gemini2_5ProLiteral = "gemini-2.5-pro";
3304
3476
  declare const Gemini2_5ProSchema: {
3305
3477
  description: string;
@@ -3700,4 +3872,4 @@ declare class Google<C extends BaseChatModelOptionsType, E extends BaseEmbedding
3700
3872
  embeddingModel(options: E): EmbeddingModelV1;
3701
3873
  }
3702
3874
 
3703
- export { BaseChatModel, BaseChatModelOptions, type BaseChatModelOptionsType, BaseEmbeddingModel, BaseEmbeddingModelOptions, type BaseEmbeddingModelOptionsType, ChatModelBaseConfigDef, ChatModelBaseConfigSchema, ChatModelReasoningConfigDef, ChatModelReasoningConfigSchema, EmbeddingModelBaseConfigDef, EmbeddingModelBaseConfigSchema, Gemini1_5Flash, Gemini1_5Flash001, Gemini1_5Flash001Literal, Gemini1_5Flash001Options, type Gemini1_5Flash001OptionsType, Gemini1_5Flash001Schema, Gemini1_5Flash002, Gemini1_5Flash002Literal, Gemini1_5Flash002Options, type Gemini1_5Flash002OptionsType, Gemini1_5Flash002Schema, Gemini1_5FlashLatest, Gemini1_5FlashLatestLiteral, Gemini1_5FlashLatestOptions, type Gemini1_5FlashLatestOptionsType, Gemini1_5FlashLatestSchema, Gemini1_5FlashLiteral, Gemini1_5FlashOptions, type Gemini1_5FlashOptionsType, Gemini1_5FlashSchema, Gemini1_5Pro, Gemini1_5Pro001, Gemini1_5Pro001Literal, Gemini1_5Pro001Options, type Gemini1_5Pro001OptionsType, Gemini1_5Pro001Schema, Gemini1_5Pro002, Gemini1_5Pro002Literal, Gemini1_5Pro002Options, type Gemini1_5Pro002OptionsType, Gemini1_5Pro002Schema, Gemini1_5ProLatest, Gemini1_5ProLatestLiteral, Gemini1_5ProLatestOptions, type Gemini1_5ProLatestOptionsType, Gemini1_5ProLatestSchema, Gemini1_5ProLiteral, Gemini1_5ProOptions, type Gemini1_5ProOptionsType, Gemini1_5ProSchema, Gemini2_0FlashExp, Gemini2_0FlashExpLiteral, Gemini2_0FlashExpOptions, type Gemini2_0FlashExpOptionsType, Gemini2_0FlashExpSchema, Gemini2_5Flash, Gemini2_5FlashLiteral, Gemini2_5FlashOptions, type Gemini2_5FlashOptionsType, Gemini2_5FlashPreview0417, Gemini2_5FlashPreview0417Literal, Gemini2_5FlashPreview0417Options, type Gemini2_5FlashPreview0417OptionsType, Gemini2_5FlashPreview0417Schema, Gemini2_5FlashSchema, Gemini2_5Pro, Gemini2_5ProLiteral, Gemini2_5ProOptions, type Gemini2_5ProOptionsType, Gemini2_5ProPreview0325, Gemini2_5ProPreview0325Literal, Gemini2_5ProPreview0325Options, type Gemini2_5ProPreview0325OptionsType, Gemini2_5ProPreview0325Schema, Gemini2_5ProSchema, Google, GoogleChatAssistantRoleLiteral, GoogleChatContent, GoogleChatContentPartFileData, type GoogleChatContentPartFileDataType, GoogleChatContentPartFunctionCall, type GoogleChatContentPartFunctionCallType, GoogleChatContentPartFunctionResponse, type GoogleChatContentPartFunctionResponseType, GoogleChatContentPartInlineData, type GoogleChatContentPartInlineDataType, GoogleChatContentPartText, type GoogleChatContentPartTextType, type GoogleChatContentType, GoogleChatGenerationConfig, type GoogleChatGenerationConfigType, GoogleChatModelConfigs, GoogleChatModelModalities, GoogleChatModelModalitiesEnum, GoogleChatModelResponseSchemaConfigDef, GoogleChatModelResponseSchemaConfigSchema, GoogleChatModelRoles, GoogleChatModelRolesMap, GoogleChatModelTextModalities, GoogleChatModelTextModalitiesEnum, GoogleChatModelTextToolModalities, GoogleChatModelTextToolModalitiesEnum, GoogleChatModelTextVisionModalities, GoogleChatModelTextVisionModalitiesEnum, GoogleChatRequest, type GoogleChatRequestType, GoogleChatSafetySettings, type GoogleChatSafetySettingsType, GoogleChatSystemInstruction, type GoogleChatSystemInstructionType, GoogleChatTool, GoogleChatToolConfig, type GoogleChatToolConfigType, GoogleChatToolRoleLiteral, type GoogleChatToolType, GoogleCompleteChatResponse, type GoogleCompleteChatResponseType, GoogleCompleteChatTextResponse, GoogleCompleteChatToolResponse, GoogleEmbeddingModelConfigs, GoogleEmbeddingModelModalities, GoogleEmbeddingModelModalitiesEnum, GoogleEmbeddingRequest, GoogleEmbeddingRequestInput, type GoogleEmbeddingRequestInputType, type GoogleEmbeddingRequestType, GoogleGetEmbeddingsResponse, type GoogleGetEmbeddingsResponseType, GoogleStreamChatResponse, type GoogleStreamChatResponseType, GoogleStreamChatTextResponse, GoogleStreamChatToolResponse, ProviderLiteral, Text_Embedding_001, Text_Embedding_001Literal, Text_Embedding_001Options, type Text_Embedding_001OptionsType, Text_Embedding_001Schema, Text_Embedding_004, Text_Embedding_004Literal, Text_Embedding_004Options, type Text_Embedding_004OptionsType, Text_Embedding_004Schema, dimensions, frequencyPenalty, maxTokens, presencePenalty, reasoningEnabled, safetySettings, seed, stop, temperature, toolChoice, topK, topP };
3875
+ export { BaseChatModel, BaseChatModelOptions, type BaseChatModelOptionsType, BaseEmbeddingModel, BaseEmbeddingModelOptions, type BaseEmbeddingModelOptionsType, ChatModelBaseConfigDef, ChatModelBaseConfigSchema, ChatModelReasoningConfigDef, ChatModelReasoningConfigSchema, EmbeddingModelBaseConfigDef, EmbeddingModelBaseConfigSchema, Gemini1_5Flash, Gemini1_5Flash001, Gemini1_5Flash001Literal, Gemini1_5Flash001Options, type Gemini1_5Flash001OptionsType, Gemini1_5Flash001Schema, Gemini1_5Flash002, Gemini1_5Flash002Literal, Gemini1_5Flash002Options, type Gemini1_5Flash002OptionsType, Gemini1_5Flash002Schema, Gemini1_5FlashLatest, Gemini1_5FlashLatestLiteral, Gemini1_5FlashLatestOptions, type Gemini1_5FlashLatestOptionsType, Gemini1_5FlashLatestSchema, Gemini1_5FlashLiteral, Gemini1_5FlashOptions, type Gemini1_5FlashOptionsType, Gemini1_5FlashSchema, Gemini1_5Pro, Gemini1_5Pro001, Gemini1_5Pro001Literal, Gemini1_5Pro001Options, type Gemini1_5Pro001OptionsType, Gemini1_5Pro001Schema, Gemini1_5Pro002, Gemini1_5Pro002Literal, Gemini1_5Pro002Options, type Gemini1_5Pro002OptionsType, Gemini1_5Pro002Schema, Gemini1_5ProLatest, Gemini1_5ProLatestLiteral, Gemini1_5ProLatestOptions, type Gemini1_5ProLatestOptionsType, Gemini1_5ProLatestSchema, Gemini1_5ProLiteral, Gemini1_5ProOptions, type Gemini1_5ProOptionsType, Gemini1_5ProSchema, Gemini2_0Flash, Gemini2_0FlashExp, Gemini2_0FlashExpLiteral, Gemini2_0FlashExpOptions, type Gemini2_0FlashExpOptionsType, Gemini2_0FlashExpSchema, Gemini2_0FlashLiteral, Gemini2_0FlashOptions, type Gemini2_0FlashOptionsType, Gemini2_0FlashSchema, Gemini2_5Flash, Gemini2_5FlashLite, Gemini2_5FlashLiteLiteral, Gemini2_5FlashLiteOptions, type Gemini2_5FlashLiteOptionsType, Gemini2_5FlashLiteSchema, Gemini2_5FlashLiteral, Gemini2_5FlashOptions, type Gemini2_5FlashOptionsType, Gemini2_5FlashPreview0417, Gemini2_5FlashPreview0417Literal, Gemini2_5FlashPreview0417Options, type Gemini2_5FlashPreview0417OptionsType, Gemini2_5FlashPreview0417Schema, Gemini2_5FlashSchema, Gemini2_5Pro, Gemini2_5ProLiteral, Gemini2_5ProOptions, type Gemini2_5ProOptionsType, Gemini2_5ProPreview0325, Gemini2_5ProPreview0325Literal, Gemini2_5ProPreview0325Options, type Gemini2_5ProPreview0325OptionsType, Gemini2_5ProPreview0325Schema, Gemini2_5ProSchema, Google, GoogleChatAssistantRoleLiteral, GoogleChatContent, GoogleChatContentPartFileData, type GoogleChatContentPartFileDataType, GoogleChatContentPartFunctionCall, type GoogleChatContentPartFunctionCallType, GoogleChatContentPartFunctionResponse, type GoogleChatContentPartFunctionResponseType, GoogleChatContentPartInlineData, type GoogleChatContentPartInlineDataType, GoogleChatContentPartText, type GoogleChatContentPartTextType, type GoogleChatContentType, GoogleChatGenerationConfig, type GoogleChatGenerationConfigType, GoogleChatModelConfigs, GoogleChatModelModalities, GoogleChatModelModalitiesEnum, GoogleChatModelResponseSchemaConfigDef, GoogleChatModelResponseSchemaConfigSchema, GoogleChatModelRoles, GoogleChatModelRolesMap, GoogleChatModelTextModalities, GoogleChatModelTextModalitiesEnum, GoogleChatModelTextToolModalities, GoogleChatModelTextToolModalitiesEnum, GoogleChatModelTextVisionModalities, GoogleChatModelTextVisionModalitiesEnum, GoogleChatRequest, type GoogleChatRequestType, GoogleChatSafetySettings, type GoogleChatSafetySettingsType, GoogleChatSystemInstruction, type GoogleChatSystemInstructionType, GoogleChatTool, GoogleChatToolConfig, type GoogleChatToolConfigType, GoogleChatToolRoleLiteral, type GoogleChatToolType, GoogleCompleteChatResponse, type GoogleCompleteChatResponseType, GoogleCompleteChatTextResponse, GoogleCompleteChatToolResponse, GoogleEmbeddingModelConfigs, GoogleEmbeddingModelModalities, GoogleEmbeddingModelModalitiesEnum, GoogleEmbeddingRequest, GoogleEmbeddingRequestInput, type GoogleEmbeddingRequestInputType, type GoogleEmbeddingRequestType, GoogleGetEmbeddingsResponse, type GoogleGetEmbeddingsResponseType, GoogleStreamChatResponse, type GoogleStreamChatResponseType, GoogleStreamChatTextResponse, GoogleStreamChatToolResponse, ProviderLiteral, Text_Embedding_001, Text_Embedding_001Literal, Text_Embedding_001Options, type Text_Embedding_001OptionsType, Text_Embedding_001Schema, Text_Embedding_004, Text_Embedding_004Literal, Text_Embedding_004Options, type Text_Embedding_004OptionsType, Text_Embedding_004Schema, dimensions, frequencyPenalty, maxTokens, presencePenalty, reasoningEnabled, safetySettings, seed, stop, temperature, toolChoice, topK, topP };