@adaline/google 1.17.1 → 1.17.3
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 +241 -23
- package/dist/index.d.ts +241 -23
- package/dist/index.js +144 -136
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +10 -10
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -2632,13 +2632,13 @@ type GoogleChatToolConfigType = z.infer<typeof GoogleChatToolConfig>;
|
|
|
2632
2632
|
declare const GoogleChatThinkingConfig: z.ZodObject<{
|
|
2633
2633
|
thinkingBudget: z.ZodOptional<z.ZodNumber>;
|
|
2634
2634
|
includeThoughts: z.ZodOptional<z.ZodBoolean>;
|
|
2635
|
-
thinkingLevel: z.ZodOptional<z.ZodEnum<["LOW", "HIGH"]>>;
|
|
2635
|
+
thinkingLevel: z.ZodOptional<z.ZodEnum<["MINIMAL", "LOW", "MEDIUM", "HIGH"]>>;
|
|
2636
2636
|
}, "strip", z.ZodTypeAny, {
|
|
2637
|
-
thinkingLevel?: "LOW" | "HIGH" | undefined;
|
|
2637
|
+
thinkingLevel?: "LOW" | "MINIMAL" | "MEDIUM" | "HIGH" | undefined;
|
|
2638
2638
|
thinkingBudget?: number | undefined;
|
|
2639
2639
|
includeThoughts?: boolean | undefined;
|
|
2640
2640
|
}, {
|
|
2641
|
-
thinkingLevel?: "LOW" | "HIGH" | undefined;
|
|
2641
|
+
thinkingLevel?: "LOW" | "MINIMAL" | "MEDIUM" | "HIGH" | undefined;
|
|
2642
2642
|
thinkingBudget?: number | undefined;
|
|
2643
2643
|
includeThoughts?: boolean | undefined;
|
|
2644
2644
|
}>;
|
|
@@ -2655,13 +2655,13 @@ declare const GoogleChatGenerationConfig: z.ZodObject<{
|
|
|
2655
2655
|
thinkingConfig: z.ZodOptional<z.ZodObject<{
|
|
2656
2656
|
thinkingBudget: z.ZodOptional<z.ZodNumber>;
|
|
2657
2657
|
includeThoughts: z.ZodOptional<z.ZodBoolean>;
|
|
2658
|
-
thinkingLevel: z.ZodOptional<z.ZodEnum<["LOW", "HIGH"]>>;
|
|
2658
|
+
thinkingLevel: z.ZodOptional<z.ZodEnum<["MINIMAL", "LOW", "MEDIUM", "HIGH"]>>;
|
|
2659
2659
|
}, "strip", z.ZodTypeAny, {
|
|
2660
|
-
thinkingLevel?: "LOW" | "HIGH" | undefined;
|
|
2660
|
+
thinkingLevel?: "LOW" | "MINIMAL" | "MEDIUM" | "HIGH" | undefined;
|
|
2661
2661
|
thinkingBudget?: number | undefined;
|
|
2662
2662
|
includeThoughts?: boolean | undefined;
|
|
2663
2663
|
}, {
|
|
2664
|
-
thinkingLevel?: "LOW" | "HIGH" | undefined;
|
|
2664
|
+
thinkingLevel?: "LOW" | "MINIMAL" | "MEDIUM" | "HIGH" | undefined;
|
|
2665
2665
|
thinkingBudget?: number | undefined;
|
|
2666
2666
|
includeThoughts?: boolean | undefined;
|
|
2667
2667
|
}>>;
|
|
@@ -2675,7 +2675,7 @@ declare const GoogleChatGenerationConfig: z.ZodObject<{
|
|
|
2675
2675
|
topP?: number | undefined;
|
|
2676
2676
|
topK?: number | undefined;
|
|
2677
2677
|
thinkingConfig?: {
|
|
2678
|
-
thinkingLevel?: "LOW" | "HIGH" | undefined;
|
|
2678
|
+
thinkingLevel?: "LOW" | "MINIMAL" | "MEDIUM" | "HIGH" | undefined;
|
|
2679
2679
|
thinkingBudget?: number | undefined;
|
|
2680
2680
|
includeThoughts?: boolean | undefined;
|
|
2681
2681
|
} | undefined;
|
|
@@ -2689,7 +2689,7 @@ declare const GoogleChatGenerationConfig: z.ZodObject<{
|
|
|
2689
2689
|
topP?: number | undefined;
|
|
2690
2690
|
topK?: number | undefined;
|
|
2691
2691
|
thinkingConfig?: {
|
|
2692
|
-
thinkingLevel?: "LOW" | "HIGH" | undefined;
|
|
2692
|
+
thinkingLevel?: "LOW" | "MINIMAL" | "MEDIUM" | "HIGH" | undefined;
|
|
2693
2693
|
thinkingBudget?: number | undefined;
|
|
2694
2694
|
includeThoughts?: boolean | undefined;
|
|
2695
2695
|
} | undefined;
|
|
@@ -2935,13 +2935,13 @@ declare const GoogleChatRequest: z.ZodObject<{
|
|
|
2935
2935
|
thinkingConfig: z.ZodOptional<z.ZodObject<{
|
|
2936
2936
|
thinkingBudget: z.ZodOptional<z.ZodNumber>;
|
|
2937
2937
|
includeThoughts: z.ZodOptional<z.ZodBoolean>;
|
|
2938
|
-
thinkingLevel: z.ZodOptional<z.ZodEnum<["LOW", "HIGH"]>>;
|
|
2938
|
+
thinkingLevel: z.ZodOptional<z.ZodEnum<["MINIMAL", "LOW", "MEDIUM", "HIGH"]>>;
|
|
2939
2939
|
}, "strip", z.ZodTypeAny, {
|
|
2940
|
-
thinkingLevel?: "LOW" | "HIGH" | undefined;
|
|
2940
|
+
thinkingLevel?: "LOW" | "MINIMAL" | "MEDIUM" | "HIGH" | undefined;
|
|
2941
2941
|
thinkingBudget?: number | undefined;
|
|
2942
2942
|
includeThoughts?: boolean | undefined;
|
|
2943
2943
|
}, {
|
|
2944
|
-
thinkingLevel?: "LOW" | "HIGH" | undefined;
|
|
2944
|
+
thinkingLevel?: "LOW" | "MINIMAL" | "MEDIUM" | "HIGH" | undefined;
|
|
2945
2945
|
thinkingBudget?: number | undefined;
|
|
2946
2946
|
includeThoughts?: boolean | undefined;
|
|
2947
2947
|
}>>;
|
|
@@ -2955,7 +2955,7 @@ declare const GoogleChatRequest: z.ZodObject<{
|
|
|
2955
2955
|
topP?: number | undefined;
|
|
2956
2956
|
topK?: number | undefined;
|
|
2957
2957
|
thinkingConfig?: {
|
|
2958
|
-
thinkingLevel?: "LOW" | "HIGH" | undefined;
|
|
2958
|
+
thinkingLevel?: "LOW" | "MINIMAL" | "MEDIUM" | "HIGH" | undefined;
|
|
2959
2959
|
thinkingBudget?: number | undefined;
|
|
2960
2960
|
includeThoughts?: boolean | undefined;
|
|
2961
2961
|
} | undefined;
|
|
@@ -2969,7 +2969,7 @@ declare const GoogleChatRequest: z.ZodObject<{
|
|
|
2969
2969
|
topP?: number | undefined;
|
|
2970
2970
|
topK?: number | undefined;
|
|
2971
2971
|
thinkingConfig?: {
|
|
2972
|
-
thinkingLevel?: "LOW" | "HIGH" | undefined;
|
|
2972
|
+
thinkingLevel?: "LOW" | "MINIMAL" | "MEDIUM" | "HIGH" | undefined;
|
|
2973
2973
|
thinkingBudget?: number | undefined;
|
|
2974
2974
|
includeThoughts?: boolean | undefined;
|
|
2975
2975
|
} | undefined;
|
|
@@ -2986,13 +2986,13 @@ declare const GoogleChatRequest: z.ZodObject<{
|
|
|
2986
2986
|
thinkingConfig: z.ZodOptional<z.ZodObject<{
|
|
2987
2987
|
thinkingBudget: z.ZodOptional<z.ZodNumber>;
|
|
2988
2988
|
includeThoughts: z.ZodOptional<z.ZodBoolean>;
|
|
2989
|
-
thinkingLevel: z.ZodOptional<z.ZodEnum<["LOW", "HIGH"]>>;
|
|
2989
|
+
thinkingLevel: z.ZodOptional<z.ZodEnum<["MINIMAL", "LOW", "MEDIUM", "HIGH"]>>;
|
|
2990
2990
|
}, "strip", z.ZodTypeAny, {
|
|
2991
|
-
thinkingLevel?: "LOW" | "HIGH" | undefined;
|
|
2991
|
+
thinkingLevel?: "LOW" | "MINIMAL" | "MEDIUM" | "HIGH" | undefined;
|
|
2992
2992
|
thinkingBudget?: number | undefined;
|
|
2993
2993
|
includeThoughts?: boolean | undefined;
|
|
2994
2994
|
}, {
|
|
2995
|
-
thinkingLevel?: "LOW" | "HIGH" | undefined;
|
|
2995
|
+
thinkingLevel?: "LOW" | "MINIMAL" | "MEDIUM" | "HIGH" | undefined;
|
|
2996
2996
|
thinkingBudget?: number | undefined;
|
|
2997
2997
|
includeThoughts?: boolean | undefined;
|
|
2998
2998
|
}>>;
|
|
@@ -3006,7 +3006,7 @@ declare const GoogleChatRequest: z.ZodObject<{
|
|
|
3006
3006
|
topP?: number | undefined;
|
|
3007
3007
|
topK?: number | undefined;
|
|
3008
3008
|
thinkingConfig?: {
|
|
3009
|
-
thinkingLevel?: "LOW" | "HIGH" | undefined;
|
|
3009
|
+
thinkingLevel?: "LOW" | "MINIMAL" | "MEDIUM" | "HIGH" | undefined;
|
|
3010
3010
|
thinkingBudget?: number | undefined;
|
|
3011
3011
|
includeThoughts?: boolean | undefined;
|
|
3012
3012
|
} | undefined;
|
|
@@ -3020,7 +3020,7 @@ declare const GoogleChatRequest: z.ZodObject<{
|
|
|
3020
3020
|
topP?: number | undefined;
|
|
3021
3021
|
topK?: number | undefined;
|
|
3022
3022
|
thinkingConfig?: {
|
|
3023
|
-
thinkingLevel?: "LOW" | "HIGH" | undefined;
|
|
3023
|
+
thinkingLevel?: "LOW" | "MINIMAL" | "MEDIUM" | "HIGH" | undefined;
|
|
3024
3024
|
thinkingBudget?: number | undefined;
|
|
3025
3025
|
includeThoughts?: boolean | undefined;
|
|
3026
3026
|
} | undefined;
|
|
@@ -3207,7 +3207,7 @@ declare const GoogleChatRequest: z.ZodObject<{
|
|
|
3207
3207
|
topP?: number | undefined;
|
|
3208
3208
|
topK?: number | undefined;
|
|
3209
3209
|
thinkingConfig?: {
|
|
3210
|
-
thinkingLevel?: "LOW" | "HIGH" | undefined;
|
|
3210
|
+
thinkingLevel?: "LOW" | "MINIMAL" | "MEDIUM" | "HIGH" | undefined;
|
|
3211
3211
|
thinkingBudget?: number | undefined;
|
|
3212
3212
|
includeThoughts?: boolean | undefined;
|
|
3213
3213
|
} | undefined;
|
|
@@ -3222,7 +3222,7 @@ declare const GoogleChatRequest: z.ZodObject<{
|
|
|
3222
3222
|
topP?: number | undefined;
|
|
3223
3223
|
topK?: number | undefined;
|
|
3224
3224
|
thinkingConfig?: {
|
|
3225
|
-
thinkingLevel?: "LOW" | "HIGH" | undefined;
|
|
3225
|
+
thinkingLevel?: "LOW" | "MINIMAL" | "MEDIUM" | "HIGH" | undefined;
|
|
3226
3226
|
thinkingBudget?: number | undefined;
|
|
3227
3227
|
includeThoughts?: boolean | undefined;
|
|
3228
3228
|
} | undefined;
|
|
@@ -3313,7 +3313,7 @@ declare const GoogleChatRequest: z.ZodObject<{
|
|
|
3313
3313
|
topP?: number | undefined;
|
|
3314
3314
|
topK?: number | undefined;
|
|
3315
3315
|
thinkingConfig?: {
|
|
3316
|
-
thinkingLevel?: "LOW" | "HIGH" | undefined;
|
|
3316
|
+
thinkingLevel?: "LOW" | "MINIMAL" | "MEDIUM" | "HIGH" | undefined;
|
|
3317
3317
|
thinkingBudget?: number | undefined;
|
|
3318
3318
|
includeThoughts?: boolean | undefined;
|
|
3319
3319
|
} | undefined;
|
|
@@ -3328,7 +3328,7 @@ declare const GoogleChatRequest: z.ZodObject<{
|
|
|
3328
3328
|
topP?: number | undefined;
|
|
3329
3329
|
topK?: number | undefined;
|
|
3330
3330
|
thinkingConfig?: {
|
|
3331
|
-
thinkingLevel?: "LOW" | "HIGH" | undefined;
|
|
3331
|
+
thinkingLevel?: "LOW" | "MINIMAL" | "MEDIUM" | "HIGH" | undefined;
|
|
3332
3332
|
thinkingBudget?: number | undefined;
|
|
3333
3333
|
includeThoughts?: boolean | undefined;
|
|
3334
3334
|
} | undefined;
|
|
@@ -5292,6 +5292,224 @@ declare class Gemini2_5Pro extends BaseChatModel {
|
|
|
5292
5292
|
constructor(options: Gemini2_5ProOptionsType);
|
|
5293
5293
|
}
|
|
5294
5294
|
|
|
5295
|
+
declare const Gemini3_1ProPreviewCustomtoolsLiteral = "gemini-3.1-pro-preview-customtools";
|
|
5296
|
+
declare const Gemini3_1ProPreviewCustomtoolsSchema: {
|
|
5297
|
+
description: string;
|
|
5298
|
+
maxOutputTokens: number;
|
|
5299
|
+
name: string;
|
|
5300
|
+
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
5301
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
5302
|
+
maxInputTokens: number;
|
|
5303
|
+
config: {
|
|
5304
|
+
def: Record<string, {
|
|
5305
|
+
type: "multi-string";
|
|
5306
|
+
param: string;
|
|
5307
|
+
title: string;
|
|
5308
|
+
description: string;
|
|
5309
|
+
max: number;
|
|
5310
|
+
} | {
|
|
5311
|
+
type: "object-schema";
|
|
5312
|
+
param: string;
|
|
5313
|
+
title: string;
|
|
5314
|
+
description: string;
|
|
5315
|
+
objectSchema?: any;
|
|
5316
|
+
} | {
|
|
5317
|
+
type: "paired-select";
|
|
5318
|
+
param: string;
|
|
5319
|
+
title: string;
|
|
5320
|
+
description: string;
|
|
5321
|
+
fields: [{
|
|
5322
|
+
label: string;
|
|
5323
|
+
key: string;
|
|
5324
|
+
choices: {
|
|
5325
|
+
value: string;
|
|
5326
|
+
label: string;
|
|
5327
|
+
}[];
|
|
5328
|
+
description?: string | undefined;
|
|
5329
|
+
}, {
|
|
5330
|
+
label: string;
|
|
5331
|
+
key: string;
|
|
5332
|
+
choices: {
|
|
5333
|
+
value: string;
|
|
5334
|
+
label: string;
|
|
5335
|
+
}[];
|
|
5336
|
+
description?: string | undefined;
|
|
5337
|
+
}];
|
|
5338
|
+
uniqueByField?: string | undefined;
|
|
5339
|
+
} | {
|
|
5340
|
+
type: "range";
|
|
5341
|
+
param: string;
|
|
5342
|
+
title: string;
|
|
5343
|
+
description: string;
|
|
5344
|
+
max: number;
|
|
5345
|
+
default: number;
|
|
5346
|
+
min: number;
|
|
5347
|
+
step: number;
|
|
5348
|
+
} | {
|
|
5349
|
+
type: "select-boolean";
|
|
5350
|
+
param: string;
|
|
5351
|
+
title: string;
|
|
5352
|
+
description: string;
|
|
5353
|
+
default: boolean | null;
|
|
5354
|
+
} | {
|
|
5355
|
+
type: "select-string";
|
|
5356
|
+
param: string;
|
|
5357
|
+
title: string;
|
|
5358
|
+
description: string;
|
|
5359
|
+
default: string;
|
|
5360
|
+
choices: string[];
|
|
5361
|
+
}>;
|
|
5362
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
5363
|
+
};
|
|
5364
|
+
price: {
|
|
5365
|
+
modelName: string;
|
|
5366
|
+
currency: string;
|
|
5367
|
+
tokenRanges: {
|
|
5368
|
+
minTokens: number;
|
|
5369
|
+
prices: {
|
|
5370
|
+
base: {
|
|
5371
|
+
inputPricePerMillion: number;
|
|
5372
|
+
outputPricePerMillion: number;
|
|
5373
|
+
};
|
|
5374
|
+
};
|
|
5375
|
+
maxTokens?: number | null | undefined;
|
|
5376
|
+
}[];
|
|
5377
|
+
};
|
|
5378
|
+
maxReasoningTokens?: number | undefined;
|
|
5379
|
+
};
|
|
5380
|
+
declare const Gemini3_1ProPreviewCustomtoolsOptions: z.ZodObject<{
|
|
5381
|
+
modelName: z.ZodString;
|
|
5382
|
+
apiKey: z.ZodString;
|
|
5383
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
5384
|
+
completeChatUrl: z.ZodOptional<z.ZodString>;
|
|
5385
|
+
streamChatUrl: z.ZodOptional<z.ZodString>;
|
|
5386
|
+
}, "strip", z.ZodTypeAny, {
|
|
5387
|
+
modelName: string;
|
|
5388
|
+
apiKey: string;
|
|
5389
|
+
baseUrl?: string | undefined;
|
|
5390
|
+
completeChatUrl?: string | undefined;
|
|
5391
|
+
streamChatUrl?: string | undefined;
|
|
5392
|
+
}, {
|
|
5393
|
+
modelName: string;
|
|
5394
|
+
apiKey: string;
|
|
5395
|
+
baseUrl?: string | undefined;
|
|
5396
|
+
completeChatUrl?: string | undefined;
|
|
5397
|
+
streamChatUrl?: string | undefined;
|
|
5398
|
+
}>;
|
|
5399
|
+
type Gemini3_1ProPreviewCustomtoolsOptionsType = z.infer<typeof Gemini3_1ProPreviewCustomtoolsOptions>;
|
|
5400
|
+
declare class Gemini3_1ProPreviewCustomtools extends BaseChatModel {
|
|
5401
|
+
constructor(options: Gemini3_1ProPreviewCustomtoolsOptionsType);
|
|
5402
|
+
}
|
|
5403
|
+
|
|
5404
|
+
declare const Gemini3_1ProPreviewLiteral = "gemini-3.1-pro-preview";
|
|
5405
|
+
declare const Gemini3_1ProPreviewSchema: {
|
|
5406
|
+
description: string;
|
|
5407
|
+
maxOutputTokens: number;
|
|
5408
|
+
name: string;
|
|
5409
|
+
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
5410
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
5411
|
+
maxInputTokens: number;
|
|
5412
|
+
config: {
|
|
5413
|
+
def: Record<string, {
|
|
5414
|
+
type: "multi-string";
|
|
5415
|
+
param: string;
|
|
5416
|
+
title: string;
|
|
5417
|
+
description: string;
|
|
5418
|
+
max: number;
|
|
5419
|
+
} | {
|
|
5420
|
+
type: "object-schema";
|
|
5421
|
+
param: string;
|
|
5422
|
+
title: string;
|
|
5423
|
+
description: string;
|
|
5424
|
+
objectSchema?: any;
|
|
5425
|
+
} | {
|
|
5426
|
+
type: "paired-select";
|
|
5427
|
+
param: string;
|
|
5428
|
+
title: string;
|
|
5429
|
+
description: string;
|
|
5430
|
+
fields: [{
|
|
5431
|
+
label: string;
|
|
5432
|
+
key: string;
|
|
5433
|
+
choices: {
|
|
5434
|
+
value: string;
|
|
5435
|
+
label: string;
|
|
5436
|
+
}[];
|
|
5437
|
+
description?: string | undefined;
|
|
5438
|
+
}, {
|
|
5439
|
+
label: string;
|
|
5440
|
+
key: string;
|
|
5441
|
+
choices: {
|
|
5442
|
+
value: string;
|
|
5443
|
+
label: string;
|
|
5444
|
+
}[];
|
|
5445
|
+
description?: string | undefined;
|
|
5446
|
+
}];
|
|
5447
|
+
uniqueByField?: string | undefined;
|
|
5448
|
+
} | {
|
|
5449
|
+
type: "range";
|
|
5450
|
+
param: string;
|
|
5451
|
+
title: string;
|
|
5452
|
+
description: string;
|
|
5453
|
+
max: number;
|
|
5454
|
+
default: number;
|
|
5455
|
+
min: number;
|
|
5456
|
+
step: number;
|
|
5457
|
+
} | {
|
|
5458
|
+
type: "select-boolean";
|
|
5459
|
+
param: string;
|
|
5460
|
+
title: string;
|
|
5461
|
+
description: string;
|
|
5462
|
+
default: boolean | null;
|
|
5463
|
+
} | {
|
|
5464
|
+
type: "select-string";
|
|
5465
|
+
param: string;
|
|
5466
|
+
title: string;
|
|
5467
|
+
description: string;
|
|
5468
|
+
default: string;
|
|
5469
|
+
choices: string[];
|
|
5470
|
+
}>;
|
|
5471
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
5472
|
+
};
|
|
5473
|
+
price: {
|
|
5474
|
+
modelName: string;
|
|
5475
|
+
currency: string;
|
|
5476
|
+
tokenRanges: {
|
|
5477
|
+
minTokens: number;
|
|
5478
|
+
prices: {
|
|
5479
|
+
base: {
|
|
5480
|
+
inputPricePerMillion: number;
|
|
5481
|
+
outputPricePerMillion: number;
|
|
5482
|
+
};
|
|
5483
|
+
};
|
|
5484
|
+
maxTokens?: number | null | undefined;
|
|
5485
|
+
}[];
|
|
5486
|
+
};
|
|
5487
|
+
maxReasoningTokens?: number | undefined;
|
|
5488
|
+
};
|
|
5489
|
+
declare const Gemini3_1ProPreviewOptions: z.ZodObject<{
|
|
5490
|
+
modelName: z.ZodString;
|
|
5491
|
+
apiKey: z.ZodString;
|
|
5492
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
5493
|
+
completeChatUrl: z.ZodOptional<z.ZodString>;
|
|
5494
|
+
streamChatUrl: z.ZodOptional<z.ZodString>;
|
|
5495
|
+
}, "strip", z.ZodTypeAny, {
|
|
5496
|
+
modelName: string;
|
|
5497
|
+
apiKey: string;
|
|
5498
|
+
baseUrl?: string | undefined;
|
|
5499
|
+
completeChatUrl?: string | undefined;
|
|
5500
|
+
streamChatUrl?: string | undefined;
|
|
5501
|
+
}, {
|
|
5502
|
+
modelName: string;
|
|
5503
|
+
apiKey: string;
|
|
5504
|
+
baseUrl?: string | undefined;
|
|
5505
|
+
completeChatUrl?: string | undefined;
|
|
5506
|
+
streamChatUrl?: string | undefined;
|
|
5507
|
+
}>;
|
|
5508
|
+
type Gemini3_1ProPreviewOptionsType = z.infer<typeof Gemini3_1ProPreviewOptions>;
|
|
5509
|
+
declare class Gemini3_1ProPreview extends BaseChatModel {
|
|
5510
|
+
constructor(options: Gemini3_1ProPreviewOptionsType);
|
|
5511
|
+
}
|
|
5512
|
+
|
|
5295
5513
|
declare const Gemini3FlashPreviewLiteral = "gemini-3-flash-preview";
|
|
5296
5514
|
declare const Gemini3FlashPreviewSchema: {
|
|
5297
5515
|
description: string;
|
|
@@ -5870,4 +6088,4 @@ declare class Google<C extends BaseChatModelOptionsType, E extends BaseEmbedding
|
|
|
5870
6088
|
embeddingModel(options: E): EmbeddingModelV1;
|
|
5871
6089
|
}
|
|
5872
6090
|
|
|
5873
|
-
export { BaseChatModel, BaseChatModelOptions, type BaseChatModelOptionsType, BaseEmbeddingModel, BaseEmbeddingModelOptions, type BaseEmbeddingModelOptionsType, ChatModelBaseConfigDef, ChatModelBaseConfigSchema, ChatModelReasoningConfigDef, ChatModelReasoningConfigSchema, EmbeddingModelBaseConfigDef, EmbeddingModelBaseConfigSchema, GOOGLE_SAFETY_CATEGORIES, GOOGLE_SAFETY_CATEGORY_OPTIONS, GOOGLE_SAFETY_THRESHOLDS, GOOGLE_SAFETY_THRESHOLD_OPTIONS, 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_0FlashLite, Gemini2_0FlashLiteLiteral, Gemini2_0FlashLiteOptions, type Gemini2_0FlashLiteOptionsType, Gemini2_0FlashLiteSchema, Gemini2_0FlashLiteral, Gemini2_0FlashOptions, type Gemini2_0FlashOptionsType, Gemini2_0FlashSchema, Gemini2_5Flash, Gemini2_5FlashLite, Gemini2_5FlashLiteLiteral, Gemini2_5FlashLiteOptions, type Gemini2_5FlashLiteOptionsType, Gemini2_5FlashLitePreview092025, Gemini2_5FlashLitePreview092025Literal, Gemini2_5FlashLitePreview092025Options, type Gemini2_5FlashLitePreview092025OptionsType, Gemini2_5FlashLitePreview092025Schema, 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, Gemini3FlashPreview, Gemini3FlashPreviewLiteral, Gemini3FlashPreviewOptions, type Gemini3FlashPreviewOptionsType, Gemini3FlashPreviewSchema, Gemini3ProPreview, Gemini3ProPreviewLiteral, Gemini3ProPreviewOptions, type Gemini3ProPreviewOptionsType, Gemini3ProPreviewSchema, Google, GoogleChatAssistantRoleLiteral, GoogleChatContent, GoogleChatContentPartFileData, type GoogleChatContentPartFileDataType, GoogleChatContentPartFunctionCall, type GoogleChatContentPartFunctionCallType, GoogleChatContentPartFunctionResponse, type GoogleChatContentPartFunctionResponseType, GoogleChatContentPartInlineData, type GoogleChatContentPartInlineDataType, GoogleChatContentPartText, type GoogleChatContentPartTextType, GoogleChatContentPartThinking, type GoogleChatContentPartThinkingType, type GoogleChatContentType, GoogleChatGenerationConfig, type GoogleChatGenerationConfigType, GoogleChatGoogleSearchTool, type GoogleChatGoogleSearchToolType, GoogleChatModelConfigs, GoogleChatModelModalities, GoogleChatModelModalitiesEnum, GoogleChatModelResponseSchemaConfigDef, GoogleChatModelResponseSchemaConfigSchema, GoogleChatModelRoles, GoogleChatModelRolesMap, GoogleChatModelTextModalities, GoogleChatModelTextModalitiesEnum, GoogleChatModelTextToolModalities, GoogleChatModelTextToolModalitiesEnum, GoogleChatModelTextVisionModalities, GoogleChatModelTextVisionModalitiesEnum, GoogleChatRequest, type GoogleChatRequestType, GoogleChatSafetySettings, type GoogleChatSafetySettingsType, GoogleChatSystemInstruction, type GoogleChatSystemInstructionType, GoogleChatThinkingConfig, type GoogleChatThinkingConfigType, GoogleChatTool, GoogleChatToolConfig, type GoogleChatToolConfigType, GoogleChatToolRoleLiteral, type GoogleChatToolType, GoogleCompleteChatResponse, type GoogleCompleteChatResponseType, GoogleCompleteChatTextResponse, GoogleCompleteChatToolResponse, GoogleEmbeddingModelConfigs, GoogleEmbeddingModelModalities, GoogleEmbeddingModelModalitiesEnum, GoogleEmbeddingRequest, GoogleEmbeddingRequestInput, type GoogleEmbeddingRequestInputType, type GoogleEmbeddingRequestType, GoogleGetEmbeddingsResponse, type GoogleGetEmbeddingsResponseType, GoogleGroundingChunk, type GoogleGroundingChunkType, type GoogleGroundingChunkWebType, GoogleGroundingMetadata, type GoogleGroundingMetadataType, GoogleGroundingSupport, type GoogleGroundingSupportType, GoogleSearchEntryPoint, type GoogleSearchEntryPointType, type GoogleSegmentType, 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, googleSearchTool, maxReasoningTokens, maxTokens, presencePenalty, reasoningEffort, reasoningEnabled, safetySettings, seed, stop, temperature, toolChoice, topK, topP };
|
|
6091
|
+
export { BaseChatModel, BaseChatModelOptions, type BaseChatModelOptionsType, BaseEmbeddingModel, BaseEmbeddingModelOptions, type BaseEmbeddingModelOptionsType, ChatModelBaseConfigDef, ChatModelBaseConfigSchema, ChatModelReasoningConfigDef, ChatModelReasoningConfigSchema, EmbeddingModelBaseConfigDef, EmbeddingModelBaseConfigSchema, GOOGLE_SAFETY_CATEGORIES, GOOGLE_SAFETY_CATEGORY_OPTIONS, GOOGLE_SAFETY_THRESHOLDS, GOOGLE_SAFETY_THRESHOLD_OPTIONS, 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_0FlashLite, Gemini2_0FlashLiteLiteral, Gemini2_0FlashLiteOptions, type Gemini2_0FlashLiteOptionsType, Gemini2_0FlashLiteSchema, Gemini2_0FlashLiteral, Gemini2_0FlashOptions, type Gemini2_0FlashOptionsType, Gemini2_0FlashSchema, Gemini2_5Flash, Gemini2_5FlashLite, Gemini2_5FlashLiteLiteral, Gemini2_5FlashLiteOptions, type Gemini2_5FlashLiteOptionsType, Gemini2_5FlashLitePreview092025, Gemini2_5FlashLitePreview092025Literal, Gemini2_5FlashLitePreview092025Options, type Gemini2_5FlashLitePreview092025OptionsType, Gemini2_5FlashLitePreview092025Schema, 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, Gemini3FlashPreview, Gemini3FlashPreviewLiteral, Gemini3FlashPreviewOptions, type Gemini3FlashPreviewOptionsType, Gemini3FlashPreviewSchema, Gemini3ProPreview, Gemini3ProPreviewLiteral, Gemini3ProPreviewOptions, type Gemini3ProPreviewOptionsType, Gemini3ProPreviewSchema, Gemini3_1ProPreview, Gemini3_1ProPreviewCustomtools, Gemini3_1ProPreviewCustomtoolsLiteral, Gemini3_1ProPreviewCustomtoolsOptions, type Gemini3_1ProPreviewCustomtoolsOptionsType, Gemini3_1ProPreviewCustomtoolsSchema, Gemini3_1ProPreviewLiteral, Gemini3_1ProPreviewOptions, type Gemini3_1ProPreviewOptionsType, Gemini3_1ProPreviewSchema, Google, GoogleChatAssistantRoleLiteral, GoogleChatContent, GoogleChatContentPartFileData, type GoogleChatContentPartFileDataType, GoogleChatContentPartFunctionCall, type GoogleChatContentPartFunctionCallType, GoogleChatContentPartFunctionResponse, type GoogleChatContentPartFunctionResponseType, GoogleChatContentPartInlineData, type GoogleChatContentPartInlineDataType, GoogleChatContentPartText, type GoogleChatContentPartTextType, GoogleChatContentPartThinking, type GoogleChatContentPartThinkingType, type GoogleChatContentType, GoogleChatGenerationConfig, type GoogleChatGenerationConfigType, GoogleChatGoogleSearchTool, type GoogleChatGoogleSearchToolType, GoogleChatModelConfigs, GoogleChatModelModalities, GoogleChatModelModalitiesEnum, GoogleChatModelResponseSchemaConfigDef, GoogleChatModelResponseSchemaConfigSchema, GoogleChatModelRoles, GoogleChatModelRolesMap, GoogleChatModelTextModalities, GoogleChatModelTextModalitiesEnum, GoogleChatModelTextToolModalities, GoogleChatModelTextToolModalitiesEnum, GoogleChatModelTextVisionModalities, GoogleChatModelTextVisionModalitiesEnum, GoogleChatRequest, type GoogleChatRequestType, GoogleChatSafetySettings, type GoogleChatSafetySettingsType, GoogleChatSystemInstruction, type GoogleChatSystemInstructionType, GoogleChatThinkingConfig, type GoogleChatThinkingConfigType, GoogleChatTool, GoogleChatToolConfig, type GoogleChatToolConfigType, GoogleChatToolRoleLiteral, type GoogleChatToolType, GoogleCompleteChatResponse, type GoogleCompleteChatResponseType, GoogleCompleteChatTextResponse, GoogleCompleteChatToolResponse, GoogleEmbeddingModelConfigs, GoogleEmbeddingModelModalities, GoogleEmbeddingModelModalitiesEnum, GoogleEmbeddingRequest, GoogleEmbeddingRequestInput, type GoogleEmbeddingRequestInputType, type GoogleEmbeddingRequestType, GoogleGetEmbeddingsResponse, type GoogleGetEmbeddingsResponseType, GoogleGroundingChunk, type GoogleGroundingChunkType, type GoogleGroundingChunkWebType, GoogleGroundingMetadata, type GoogleGroundingMetadataType, GoogleGroundingSupport, type GoogleGroundingSupportType, GoogleSearchEntryPoint, type GoogleSearchEntryPointType, type GoogleSegmentType, 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, googleSearchTool, maxReasoningTokens, maxTokens, presencePenalty, reasoningEffort, reasoningEnabled, safetySettings, seed, stop, temperature, toolChoice, topK, topP };
|