@adaline/google 1.13.0 → 1.14.1
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 +90 -19
- package/dist/index.d.ts +90 -19
- package/dist/index.js +59 -58
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11 -11
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1065,7 +1065,7 @@ declare const GoogleChatModelRolesMap: {
|
|
|
1065
1065
|
};
|
|
1066
1066
|
|
|
1067
1067
|
declare const GoogleChatModelModalities: ChatModelSchemaType["modalities"];
|
|
1068
|
-
declare const GoogleChatModelModalitiesEnum: z.ZodEnum<["text", "image", "pdf", "tool-call", "tool-response"]>;
|
|
1068
|
+
declare const GoogleChatModelModalitiesEnum: z.ZodEnum<["text", "image", "pdf", "tool-call", "tool-response", "reasoning", "search-result", "error"]>;
|
|
1069
1069
|
declare const GoogleChatModelTextModalities: ChatModelSchemaType["modalities"];
|
|
1070
1070
|
declare const GoogleChatModelTextModalitiesEnum: z.ZodEnum<["text"]>;
|
|
1071
1071
|
declare const GoogleChatModelTextVisionModalities: ChatModelSchemaType["modalities"];
|
|
@@ -1271,10 +1271,13 @@ declare const GoogleGroundingMetadata: z.ZodObject<{
|
|
|
1271
1271
|
type GoogleGroundingMetadataType = z.infer<typeof GoogleGroundingMetadata>;
|
|
1272
1272
|
declare const GoogleCompleteChatTextResponse: z.ZodObject<{
|
|
1273
1273
|
text: z.ZodString;
|
|
1274
|
+
thought: z.ZodOptional<z.ZodBoolean>;
|
|
1274
1275
|
}, "strip", z.ZodTypeAny, {
|
|
1275
1276
|
text: string;
|
|
1277
|
+
thought?: boolean | undefined;
|
|
1276
1278
|
}, {
|
|
1277
1279
|
text: string;
|
|
1280
|
+
thought?: boolean | undefined;
|
|
1278
1281
|
}>;
|
|
1279
1282
|
declare const GoogleCompleteChatToolResponse: z.ZodObject<{
|
|
1280
1283
|
functionCall: z.ZodObject<{
|
|
@@ -1304,10 +1307,13 @@ declare const GoogleCompleteChatResponse: z.ZodObject<{
|
|
|
1304
1307
|
role: z.ZodString;
|
|
1305
1308
|
parts: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
1306
1309
|
text: z.ZodString;
|
|
1310
|
+
thought: z.ZodOptional<z.ZodBoolean>;
|
|
1307
1311
|
}, "strip", z.ZodTypeAny, {
|
|
1308
1312
|
text: string;
|
|
1313
|
+
thought?: boolean | undefined;
|
|
1309
1314
|
}, {
|
|
1310
1315
|
text: string;
|
|
1316
|
+
thought?: boolean | undefined;
|
|
1311
1317
|
}>, z.ZodObject<{
|
|
1312
1318
|
functionCall: z.ZodObject<{
|
|
1313
1319
|
name: z.ZodString;
|
|
@@ -1334,6 +1340,7 @@ declare const GoogleCompleteChatResponse: z.ZodObject<{
|
|
|
1334
1340
|
role: string;
|
|
1335
1341
|
parts: ({
|
|
1336
1342
|
text: string;
|
|
1343
|
+
thought?: boolean | undefined;
|
|
1337
1344
|
} | {
|
|
1338
1345
|
functionCall: {
|
|
1339
1346
|
name: string;
|
|
@@ -1344,6 +1351,7 @@ declare const GoogleCompleteChatResponse: z.ZodObject<{
|
|
|
1344
1351
|
role: string;
|
|
1345
1352
|
parts: ({
|
|
1346
1353
|
text: string;
|
|
1354
|
+
thought?: boolean | undefined;
|
|
1347
1355
|
} | {
|
|
1348
1356
|
functionCall: {
|
|
1349
1357
|
name: string;
|
|
@@ -1477,6 +1485,7 @@ declare const GoogleCompleteChatResponse: z.ZodObject<{
|
|
|
1477
1485
|
role: string;
|
|
1478
1486
|
parts: ({
|
|
1479
1487
|
text: string;
|
|
1488
|
+
thought?: boolean | undefined;
|
|
1480
1489
|
} | {
|
|
1481
1490
|
functionCall: {
|
|
1482
1491
|
name: string;
|
|
@@ -1517,6 +1526,7 @@ declare const GoogleCompleteChatResponse: z.ZodObject<{
|
|
|
1517
1526
|
role: string;
|
|
1518
1527
|
parts: ({
|
|
1519
1528
|
text: string;
|
|
1529
|
+
thought?: boolean | undefined;
|
|
1520
1530
|
} | {
|
|
1521
1531
|
functionCall: {
|
|
1522
1532
|
name: string;
|
|
@@ -1597,6 +1607,7 @@ declare const GoogleCompleteChatResponse: z.ZodObject<{
|
|
|
1597
1607
|
role: string;
|
|
1598
1608
|
parts: ({
|
|
1599
1609
|
text: string;
|
|
1610
|
+
thought?: boolean | undefined;
|
|
1600
1611
|
} | {
|
|
1601
1612
|
functionCall: {
|
|
1602
1613
|
name: string;
|
|
@@ -1651,6 +1662,7 @@ declare const GoogleCompleteChatResponse: z.ZodObject<{
|
|
|
1651
1662
|
role: string;
|
|
1652
1663
|
parts: ({
|
|
1653
1664
|
text: string;
|
|
1665
|
+
thought?: boolean | undefined;
|
|
1654
1666
|
} | {
|
|
1655
1667
|
functionCall: {
|
|
1656
1668
|
name: string;
|
|
@@ -1702,10 +1714,13 @@ declare const GoogleCompleteChatResponse: z.ZodObject<{
|
|
|
1702
1714
|
type GoogleCompleteChatResponseType = z.infer<typeof GoogleCompleteChatResponse>;
|
|
1703
1715
|
declare const GoogleStreamChatTextResponse: z.ZodObject<{
|
|
1704
1716
|
text: z.ZodString;
|
|
1717
|
+
thought: z.ZodOptional<z.ZodBoolean>;
|
|
1705
1718
|
}, "strip", z.ZodTypeAny, {
|
|
1706
1719
|
text: string;
|
|
1720
|
+
thought?: boolean | undefined;
|
|
1707
1721
|
}, {
|
|
1708
1722
|
text: string;
|
|
1723
|
+
thought?: boolean | undefined;
|
|
1709
1724
|
}>;
|
|
1710
1725
|
declare const GoogleStreamChatToolResponse: z.ZodObject<{
|
|
1711
1726
|
functionCall: z.ZodObject<{
|
|
@@ -1735,10 +1750,13 @@ declare const GoogleStreamChatResponse: z.ZodObject<{
|
|
|
1735
1750
|
role: z.ZodString;
|
|
1736
1751
|
parts: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
1737
1752
|
text: z.ZodString;
|
|
1753
|
+
thought: z.ZodOptional<z.ZodBoolean>;
|
|
1738
1754
|
}, "strip", z.ZodTypeAny, {
|
|
1739
1755
|
text: string;
|
|
1756
|
+
thought?: boolean | undefined;
|
|
1740
1757
|
}, {
|
|
1741
1758
|
text: string;
|
|
1759
|
+
thought?: boolean | undefined;
|
|
1742
1760
|
}>, z.ZodObject<{
|
|
1743
1761
|
functionCall: z.ZodObject<{
|
|
1744
1762
|
name: z.ZodString;
|
|
@@ -1765,6 +1783,7 @@ declare const GoogleStreamChatResponse: z.ZodObject<{
|
|
|
1765
1783
|
role: string;
|
|
1766
1784
|
parts: ({
|
|
1767
1785
|
text: string;
|
|
1786
|
+
thought?: boolean | undefined;
|
|
1768
1787
|
} | {
|
|
1769
1788
|
functionCall: {
|
|
1770
1789
|
name: string;
|
|
@@ -1775,6 +1794,7 @@ declare const GoogleStreamChatResponse: z.ZodObject<{
|
|
|
1775
1794
|
role: string;
|
|
1776
1795
|
parts: ({
|
|
1777
1796
|
text: string;
|
|
1797
|
+
thought?: boolean | undefined;
|
|
1778
1798
|
} | {
|
|
1779
1799
|
functionCall: {
|
|
1780
1800
|
name: string;
|
|
@@ -1907,6 +1927,7 @@ declare const GoogleStreamChatResponse: z.ZodObject<{
|
|
|
1907
1927
|
role: string;
|
|
1908
1928
|
parts: ({
|
|
1909
1929
|
text: string;
|
|
1930
|
+
thought?: boolean | undefined;
|
|
1910
1931
|
} | {
|
|
1911
1932
|
functionCall: {
|
|
1912
1933
|
name: string;
|
|
@@ -1947,6 +1968,7 @@ declare const GoogleStreamChatResponse: z.ZodObject<{
|
|
|
1947
1968
|
role: string;
|
|
1948
1969
|
parts: ({
|
|
1949
1970
|
text: string;
|
|
1971
|
+
thought?: boolean | undefined;
|
|
1950
1972
|
} | {
|
|
1951
1973
|
functionCall: {
|
|
1952
1974
|
name: string;
|
|
@@ -2027,6 +2049,7 @@ declare const GoogleStreamChatResponse: z.ZodObject<{
|
|
|
2027
2049
|
role: string;
|
|
2028
2050
|
parts: ({
|
|
2029
2051
|
text: string;
|
|
2052
|
+
thought?: boolean | undefined;
|
|
2030
2053
|
} | {
|
|
2031
2054
|
functionCall: {
|
|
2032
2055
|
name: string;
|
|
@@ -2081,6 +2104,7 @@ declare const GoogleStreamChatResponse: z.ZodObject<{
|
|
|
2081
2104
|
role: string;
|
|
2082
2105
|
parts: ({
|
|
2083
2106
|
text: string;
|
|
2107
|
+
thought?: boolean | undefined;
|
|
2084
2108
|
} | {
|
|
2085
2109
|
functionCall: {
|
|
2086
2110
|
name: string;
|
|
@@ -2232,6 +2256,17 @@ declare const GoogleChatContentPartFunctionResponse: z.ZodObject<{
|
|
|
2232
2256
|
};
|
|
2233
2257
|
}>;
|
|
2234
2258
|
type GoogleChatContentPartFunctionResponseType = z.infer<typeof GoogleChatContentPartFunctionResponse>;
|
|
2259
|
+
declare const GoogleChatContentPartThinking: z.ZodObject<{
|
|
2260
|
+
thought: z.ZodBoolean;
|
|
2261
|
+
thought_signature: z.ZodString;
|
|
2262
|
+
}, "strip", z.ZodTypeAny, {
|
|
2263
|
+
thought: boolean;
|
|
2264
|
+
thought_signature: string;
|
|
2265
|
+
}, {
|
|
2266
|
+
thought: boolean;
|
|
2267
|
+
thought_signature: string;
|
|
2268
|
+
}>;
|
|
2269
|
+
type GoogleChatContentPartThinkingType = z.infer<typeof GoogleChatContentPartThinking>;
|
|
2235
2270
|
declare const GoogleChatContent: z.ZodObject<{
|
|
2236
2271
|
role: z.ZodEnum<["user", "model", "function"]>;
|
|
2237
2272
|
parts: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
@@ -2324,6 +2359,15 @@ declare const GoogleChatContent: z.ZodObject<{
|
|
|
2324
2359
|
name: string;
|
|
2325
2360
|
response: Record<string, string>;
|
|
2326
2361
|
};
|
|
2362
|
+
}>, z.ZodObject<{
|
|
2363
|
+
thought: z.ZodBoolean;
|
|
2364
|
+
thought_signature: z.ZodString;
|
|
2365
|
+
}, "strip", z.ZodTypeAny, {
|
|
2366
|
+
thought: boolean;
|
|
2367
|
+
thought_signature: string;
|
|
2368
|
+
}, {
|
|
2369
|
+
thought: boolean;
|
|
2370
|
+
thought_signature: string;
|
|
2327
2371
|
}>]>, "many">;
|
|
2328
2372
|
}, "strip", z.ZodTypeAny, {
|
|
2329
2373
|
role: "function" | "user" | "model";
|
|
@@ -2349,6 +2393,9 @@ declare const GoogleChatContent: z.ZodObject<{
|
|
|
2349
2393
|
name: string;
|
|
2350
2394
|
response: Record<string, string>;
|
|
2351
2395
|
};
|
|
2396
|
+
} | {
|
|
2397
|
+
thought: boolean;
|
|
2398
|
+
thought_signature: string;
|
|
2352
2399
|
})[];
|
|
2353
2400
|
}, {
|
|
2354
2401
|
role: "function" | "user" | "model";
|
|
@@ -2374,6 +2421,9 @@ declare const GoogleChatContent: z.ZodObject<{
|
|
|
2374
2421
|
name: string;
|
|
2375
2422
|
response: Record<string, string>;
|
|
2376
2423
|
};
|
|
2424
|
+
} | {
|
|
2425
|
+
thought: boolean;
|
|
2426
|
+
thought_signature: string;
|
|
2377
2427
|
})[];
|
|
2378
2428
|
}>;
|
|
2379
2429
|
type GoogleChatContentType = z.infer<typeof GoogleChatContent>;
|
|
@@ -2589,6 +2639,15 @@ declare const GoogleChatRequest: z.ZodObject<{
|
|
|
2589
2639
|
name: string;
|
|
2590
2640
|
response: Record<string, string>;
|
|
2591
2641
|
};
|
|
2642
|
+
}>, z.ZodObject<{
|
|
2643
|
+
thought: z.ZodBoolean;
|
|
2644
|
+
thought_signature: z.ZodString;
|
|
2645
|
+
}, "strip", z.ZodTypeAny, {
|
|
2646
|
+
thought: boolean;
|
|
2647
|
+
thought_signature: string;
|
|
2648
|
+
}, {
|
|
2649
|
+
thought: boolean;
|
|
2650
|
+
thought_signature: string;
|
|
2592
2651
|
}>]>, "many">;
|
|
2593
2652
|
}, "strip", z.ZodTypeAny, {
|
|
2594
2653
|
role: "function" | "user" | "model";
|
|
@@ -2614,6 +2673,9 @@ declare const GoogleChatRequest: z.ZodObject<{
|
|
|
2614
2673
|
name: string;
|
|
2615
2674
|
response: Record<string, string>;
|
|
2616
2675
|
};
|
|
2676
|
+
} | {
|
|
2677
|
+
thought: boolean;
|
|
2678
|
+
thought_signature: string;
|
|
2617
2679
|
})[];
|
|
2618
2680
|
}, {
|
|
2619
2681
|
role: "function" | "user" | "model";
|
|
@@ -2639,6 +2701,9 @@ declare const GoogleChatRequest: z.ZodObject<{
|
|
|
2639
2701
|
name: string;
|
|
2640
2702
|
response: Record<string, string>;
|
|
2641
2703
|
};
|
|
2704
|
+
} | {
|
|
2705
|
+
thought: boolean;
|
|
2706
|
+
thought_signature: string;
|
|
2642
2707
|
})[];
|
|
2643
2708
|
}>, "many">;
|
|
2644
2709
|
systemInstruction: z.ZodOptional<z.ZodObject<{
|
|
@@ -2881,6 +2946,9 @@ declare const GoogleChatRequest: z.ZodObject<{
|
|
|
2881
2946
|
name: string;
|
|
2882
2947
|
response: Record<string, string>;
|
|
2883
2948
|
};
|
|
2949
|
+
} | {
|
|
2950
|
+
thought: boolean;
|
|
2951
|
+
thought_signature: string;
|
|
2884
2952
|
})[];
|
|
2885
2953
|
}[];
|
|
2886
2954
|
safetySettings?: {
|
|
@@ -2972,6 +3040,9 @@ declare const GoogleChatRequest: z.ZodObject<{
|
|
|
2972
3040
|
name: string;
|
|
2973
3041
|
response: Record<string, string>;
|
|
2974
3042
|
};
|
|
3043
|
+
} | {
|
|
3044
|
+
thought: boolean;
|
|
3045
|
+
thought_signature: string;
|
|
2975
3046
|
})[];
|
|
2976
3047
|
}[];
|
|
2977
3048
|
safetySettings?: {
|
|
@@ -3121,7 +3192,7 @@ declare const Gemini1_5Flash001Schema: {
|
|
|
3121
3192
|
maxOutputTokens: number;
|
|
3122
3193
|
name: string;
|
|
3123
3194
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
3124
|
-
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
|
|
3195
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
3125
3196
|
maxInputTokens: number;
|
|
3126
3197
|
config: {
|
|
3127
3198
|
def: Record<string, {
|
|
@@ -3230,7 +3301,7 @@ declare const Gemini1_5Flash002Schema: {
|
|
|
3230
3301
|
maxOutputTokens: number;
|
|
3231
3302
|
name: string;
|
|
3232
3303
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
3233
|
-
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
|
|
3304
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
3234
3305
|
maxInputTokens: number;
|
|
3235
3306
|
config: {
|
|
3236
3307
|
def: Record<string, {
|
|
@@ -3339,7 +3410,7 @@ declare const Gemini1_5FlashLatestSchema: {
|
|
|
3339
3410
|
maxOutputTokens: number;
|
|
3340
3411
|
name: string;
|
|
3341
3412
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
3342
|
-
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
|
|
3413
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
3343
3414
|
maxInputTokens: number;
|
|
3344
3415
|
config: {
|
|
3345
3416
|
def: Record<string, {
|
|
@@ -3448,7 +3519,7 @@ declare const Gemini1_5FlashSchema: {
|
|
|
3448
3519
|
maxOutputTokens: number;
|
|
3449
3520
|
name: string;
|
|
3450
3521
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
3451
|
-
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
|
|
3522
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
3452
3523
|
maxInputTokens: number;
|
|
3453
3524
|
config: {
|
|
3454
3525
|
def: Record<string, {
|
|
@@ -3557,7 +3628,7 @@ declare const Gemini1_5Pro001Schema: {
|
|
|
3557
3628
|
maxOutputTokens: number;
|
|
3558
3629
|
name: string;
|
|
3559
3630
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
3560
|
-
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
|
|
3631
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
3561
3632
|
maxInputTokens: number;
|
|
3562
3633
|
config: {
|
|
3563
3634
|
def: Record<string, {
|
|
@@ -3666,7 +3737,7 @@ declare const Gemini1_5Pro002Schema: {
|
|
|
3666
3737
|
maxOutputTokens: number;
|
|
3667
3738
|
name: string;
|
|
3668
3739
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
3669
|
-
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
|
|
3740
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
3670
3741
|
maxInputTokens: number;
|
|
3671
3742
|
config: {
|
|
3672
3743
|
def: Record<string, {
|
|
@@ -3775,7 +3846,7 @@ declare const Gemini1_5ProLatestSchema: {
|
|
|
3775
3846
|
maxOutputTokens: number;
|
|
3776
3847
|
name: string;
|
|
3777
3848
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
3778
|
-
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
|
|
3849
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
3779
3850
|
maxInputTokens: number;
|
|
3780
3851
|
config: {
|
|
3781
3852
|
def: Record<string, {
|
|
@@ -3884,7 +3955,7 @@ declare const Gemini1_5ProSchema: {
|
|
|
3884
3955
|
maxOutputTokens: number;
|
|
3885
3956
|
name: string;
|
|
3886
3957
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
3887
|
-
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
|
|
3958
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
3888
3959
|
maxInputTokens: number;
|
|
3889
3960
|
config: {
|
|
3890
3961
|
def: Record<string, {
|
|
@@ -3993,7 +4064,7 @@ declare const Gemini2_0FlashExpSchema: {
|
|
|
3993
4064
|
maxOutputTokens: number;
|
|
3994
4065
|
name: string;
|
|
3995
4066
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
3996
|
-
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
|
|
4067
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
3997
4068
|
maxInputTokens: number;
|
|
3998
4069
|
config: {
|
|
3999
4070
|
def: Record<string, {
|
|
@@ -4102,7 +4173,7 @@ declare const Gemini2_0FlashSchema: {
|
|
|
4102
4173
|
maxOutputTokens: number;
|
|
4103
4174
|
name: string;
|
|
4104
4175
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
4105
|
-
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
|
|
4176
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
4106
4177
|
maxInputTokens: number;
|
|
4107
4178
|
config: {
|
|
4108
4179
|
def: Record<string, {
|
|
@@ -4211,7 +4282,7 @@ declare const Gemini2_5FlashLiteSchema: {
|
|
|
4211
4282
|
maxOutputTokens: number;
|
|
4212
4283
|
name: string;
|
|
4213
4284
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
4214
|
-
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
|
|
4285
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
4215
4286
|
maxInputTokens: number;
|
|
4216
4287
|
config: {
|
|
4217
4288
|
def: Record<string, {
|
|
@@ -4320,7 +4391,7 @@ declare const Gemini2_5FlashPreview0417Schema: {
|
|
|
4320
4391
|
maxOutputTokens: number;
|
|
4321
4392
|
name: string;
|
|
4322
4393
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
4323
|
-
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
|
|
4394
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
4324
4395
|
maxInputTokens: number;
|
|
4325
4396
|
config: {
|
|
4326
4397
|
def: Record<string, {
|
|
@@ -4429,7 +4500,7 @@ declare const Gemini2_5FlashSchema: {
|
|
|
4429
4500
|
maxOutputTokens: number;
|
|
4430
4501
|
name: string;
|
|
4431
4502
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
4432
|
-
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
|
|
4503
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
4433
4504
|
maxInputTokens: number;
|
|
4434
4505
|
config: {
|
|
4435
4506
|
def: Record<string, {
|
|
@@ -4538,7 +4609,7 @@ declare const Gemini2_5ProPreview0325Schema: {
|
|
|
4538
4609
|
maxOutputTokens: number;
|
|
4539
4610
|
name: string;
|
|
4540
4611
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
4541
|
-
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
|
|
4612
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
4542
4613
|
maxInputTokens: number;
|
|
4543
4614
|
config: {
|
|
4544
4615
|
def: Record<string, {
|
|
@@ -4647,7 +4718,7 @@ declare const Gemini2_5ProSchema: {
|
|
|
4647
4718
|
maxOutputTokens: number;
|
|
4648
4719
|
name: string;
|
|
4649
4720
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
4650
|
-
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
|
|
4721
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
4651
4722
|
maxInputTokens: number;
|
|
4652
4723
|
config: {
|
|
4653
4724
|
def: Record<string, {
|
|
@@ -4756,7 +4827,7 @@ declare const Gemini3FlashPreviewSchema: {
|
|
|
4756
4827
|
maxOutputTokens: number;
|
|
4757
4828
|
name: string;
|
|
4758
4829
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
4759
|
-
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
|
|
4830
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
4760
4831
|
maxInputTokens: number;
|
|
4761
4832
|
config: {
|
|
4762
4833
|
def: Record<string, {
|
|
@@ -4865,7 +4936,7 @@ declare const Gemini3ProPreviewSchema: {
|
|
|
4865
4936
|
maxOutputTokens: number;
|
|
4866
4937
|
name: string;
|
|
4867
4938
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
4868
|
-
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
|
|
4939
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
4869
4940
|
maxInputTokens: number;
|
|
4870
4941
|
config: {
|
|
4871
4942
|
def: Record<string, {
|
|
@@ -5328,4 +5399,4 @@ declare class Google<C extends BaseChatModelOptionsType, E extends BaseEmbedding
|
|
|
5328
5399
|
embeddingModel(options: E): EmbeddingModelV1;
|
|
5329
5400
|
}
|
|
5330
5401
|
|
|
5331
|
-
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_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, 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, 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, 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, maxTokens, presencePenalty, reasoningEnabled, safetySettings, seed, stop, temperature, toolChoice, topK, topP };
|
|
5402
|
+
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_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, 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, 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, maxTokens, presencePenalty, reasoningEnabled, safetySettings, seed, stop, temperature, toolChoice, topK, topP };
|