@adaline/google 1.13.0 → 1.14.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 +42 -18
- package/dist/index.d.ts +42 -18
- package/dist/index.js +54 -54
- 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
|
@@ -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;
|
|
@@ -3121,7 +3145,7 @@ declare const Gemini1_5Flash001Schema: {
|
|
|
3121
3145
|
maxOutputTokens: number;
|
|
3122
3146
|
name: string;
|
|
3123
3147
|
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")[]];
|
|
3148
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
3125
3149
|
maxInputTokens: number;
|
|
3126
3150
|
config: {
|
|
3127
3151
|
def: Record<string, {
|
|
@@ -3230,7 +3254,7 @@ declare const Gemini1_5Flash002Schema: {
|
|
|
3230
3254
|
maxOutputTokens: number;
|
|
3231
3255
|
name: string;
|
|
3232
3256
|
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")[]];
|
|
3257
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
3234
3258
|
maxInputTokens: number;
|
|
3235
3259
|
config: {
|
|
3236
3260
|
def: Record<string, {
|
|
@@ -3339,7 +3363,7 @@ declare const Gemini1_5FlashLatestSchema: {
|
|
|
3339
3363
|
maxOutputTokens: number;
|
|
3340
3364
|
name: string;
|
|
3341
3365
|
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")[]];
|
|
3366
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
3343
3367
|
maxInputTokens: number;
|
|
3344
3368
|
config: {
|
|
3345
3369
|
def: Record<string, {
|
|
@@ -3448,7 +3472,7 @@ declare const Gemini1_5FlashSchema: {
|
|
|
3448
3472
|
maxOutputTokens: number;
|
|
3449
3473
|
name: string;
|
|
3450
3474
|
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")[]];
|
|
3475
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
3452
3476
|
maxInputTokens: number;
|
|
3453
3477
|
config: {
|
|
3454
3478
|
def: Record<string, {
|
|
@@ -3557,7 +3581,7 @@ declare const Gemini1_5Pro001Schema: {
|
|
|
3557
3581
|
maxOutputTokens: number;
|
|
3558
3582
|
name: string;
|
|
3559
3583
|
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")[]];
|
|
3584
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
3561
3585
|
maxInputTokens: number;
|
|
3562
3586
|
config: {
|
|
3563
3587
|
def: Record<string, {
|
|
@@ -3666,7 +3690,7 @@ declare const Gemini1_5Pro002Schema: {
|
|
|
3666
3690
|
maxOutputTokens: number;
|
|
3667
3691
|
name: string;
|
|
3668
3692
|
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")[]];
|
|
3693
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
3670
3694
|
maxInputTokens: number;
|
|
3671
3695
|
config: {
|
|
3672
3696
|
def: Record<string, {
|
|
@@ -3775,7 +3799,7 @@ declare const Gemini1_5ProLatestSchema: {
|
|
|
3775
3799
|
maxOutputTokens: number;
|
|
3776
3800
|
name: string;
|
|
3777
3801
|
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")[]];
|
|
3802
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
3779
3803
|
maxInputTokens: number;
|
|
3780
3804
|
config: {
|
|
3781
3805
|
def: Record<string, {
|
|
@@ -3884,7 +3908,7 @@ declare const Gemini1_5ProSchema: {
|
|
|
3884
3908
|
maxOutputTokens: number;
|
|
3885
3909
|
name: string;
|
|
3886
3910
|
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")[]];
|
|
3911
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
3888
3912
|
maxInputTokens: number;
|
|
3889
3913
|
config: {
|
|
3890
3914
|
def: Record<string, {
|
|
@@ -3993,7 +4017,7 @@ declare const Gemini2_0FlashExpSchema: {
|
|
|
3993
4017
|
maxOutputTokens: number;
|
|
3994
4018
|
name: string;
|
|
3995
4019
|
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")[]];
|
|
4020
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
3997
4021
|
maxInputTokens: number;
|
|
3998
4022
|
config: {
|
|
3999
4023
|
def: Record<string, {
|
|
@@ -4102,7 +4126,7 @@ declare const Gemini2_0FlashSchema: {
|
|
|
4102
4126
|
maxOutputTokens: number;
|
|
4103
4127
|
name: string;
|
|
4104
4128
|
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")[]];
|
|
4129
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
4106
4130
|
maxInputTokens: number;
|
|
4107
4131
|
config: {
|
|
4108
4132
|
def: Record<string, {
|
|
@@ -4211,7 +4235,7 @@ declare const Gemini2_5FlashLiteSchema: {
|
|
|
4211
4235
|
maxOutputTokens: number;
|
|
4212
4236
|
name: string;
|
|
4213
4237
|
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")[]];
|
|
4238
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
4215
4239
|
maxInputTokens: number;
|
|
4216
4240
|
config: {
|
|
4217
4241
|
def: Record<string, {
|
|
@@ -4320,7 +4344,7 @@ declare const Gemini2_5FlashPreview0417Schema: {
|
|
|
4320
4344
|
maxOutputTokens: number;
|
|
4321
4345
|
name: string;
|
|
4322
4346
|
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")[]];
|
|
4347
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
4324
4348
|
maxInputTokens: number;
|
|
4325
4349
|
config: {
|
|
4326
4350
|
def: Record<string, {
|
|
@@ -4429,7 +4453,7 @@ declare const Gemini2_5FlashSchema: {
|
|
|
4429
4453
|
maxOutputTokens: number;
|
|
4430
4454
|
name: string;
|
|
4431
4455
|
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")[]];
|
|
4456
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
4433
4457
|
maxInputTokens: number;
|
|
4434
4458
|
config: {
|
|
4435
4459
|
def: Record<string, {
|
|
@@ -4538,7 +4562,7 @@ declare const Gemini2_5ProPreview0325Schema: {
|
|
|
4538
4562
|
maxOutputTokens: number;
|
|
4539
4563
|
name: string;
|
|
4540
4564
|
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")[]];
|
|
4565
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
4542
4566
|
maxInputTokens: number;
|
|
4543
4567
|
config: {
|
|
4544
4568
|
def: Record<string, {
|
|
@@ -4647,7 +4671,7 @@ declare const Gemini2_5ProSchema: {
|
|
|
4647
4671
|
maxOutputTokens: number;
|
|
4648
4672
|
name: string;
|
|
4649
4673
|
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")[]];
|
|
4674
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
4651
4675
|
maxInputTokens: number;
|
|
4652
4676
|
config: {
|
|
4653
4677
|
def: Record<string, {
|
|
@@ -4756,7 +4780,7 @@ declare const Gemini3FlashPreviewSchema: {
|
|
|
4756
4780
|
maxOutputTokens: number;
|
|
4757
4781
|
name: string;
|
|
4758
4782
|
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")[]];
|
|
4783
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
4760
4784
|
maxInputTokens: number;
|
|
4761
4785
|
config: {
|
|
4762
4786
|
def: Record<string, {
|
|
@@ -4865,7 +4889,7 @@ declare const Gemini3ProPreviewSchema: {
|
|
|
4865
4889
|
maxOutputTokens: number;
|
|
4866
4890
|
name: string;
|
|
4867
4891
|
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")[]];
|
|
4892
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
4869
4893
|
maxInputTokens: number;
|
|
4870
4894
|
config: {
|
|
4871
4895
|
def: Record<string, {
|
package/dist/index.d.ts
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;
|
|
@@ -3121,7 +3145,7 @@ declare const Gemini1_5Flash001Schema: {
|
|
|
3121
3145
|
maxOutputTokens: number;
|
|
3122
3146
|
name: string;
|
|
3123
3147
|
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")[]];
|
|
3148
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
3125
3149
|
maxInputTokens: number;
|
|
3126
3150
|
config: {
|
|
3127
3151
|
def: Record<string, {
|
|
@@ -3230,7 +3254,7 @@ declare const Gemini1_5Flash002Schema: {
|
|
|
3230
3254
|
maxOutputTokens: number;
|
|
3231
3255
|
name: string;
|
|
3232
3256
|
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")[]];
|
|
3257
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
3234
3258
|
maxInputTokens: number;
|
|
3235
3259
|
config: {
|
|
3236
3260
|
def: Record<string, {
|
|
@@ -3339,7 +3363,7 @@ declare const Gemini1_5FlashLatestSchema: {
|
|
|
3339
3363
|
maxOutputTokens: number;
|
|
3340
3364
|
name: string;
|
|
3341
3365
|
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")[]];
|
|
3366
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
3343
3367
|
maxInputTokens: number;
|
|
3344
3368
|
config: {
|
|
3345
3369
|
def: Record<string, {
|
|
@@ -3448,7 +3472,7 @@ declare const Gemini1_5FlashSchema: {
|
|
|
3448
3472
|
maxOutputTokens: number;
|
|
3449
3473
|
name: string;
|
|
3450
3474
|
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")[]];
|
|
3475
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
3452
3476
|
maxInputTokens: number;
|
|
3453
3477
|
config: {
|
|
3454
3478
|
def: Record<string, {
|
|
@@ -3557,7 +3581,7 @@ declare const Gemini1_5Pro001Schema: {
|
|
|
3557
3581
|
maxOutputTokens: number;
|
|
3558
3582
|
name: string;
|
|
3559
3583
|
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")[]];
|
|
3584
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
3561
3585
|
maxInputTokens: number;
|
|
3562
3586
|
config: {
|
|
3563
3587
|
def: Record<string, {
|
|
@@ -3666,7 +3690,7 @@ declare const Gemini1_5Pro002Schema: {
|
|
|
3666
3690
|
maxOutputTokens: number;
|
|
3667
3691
|
name: string;
|
|
3668
3692
|
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")[]];
|
|
3693
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
3670
3694
|
maxInputTokens: number;
|
|
3671
3695
|
config: {
|
|
3672
3696
|
def: Record<string, {
|
|
@@ -3775,7 +3799,7 @@ declare const Gemini1_5ProLatestSchema: {
|
|
|
3775
3799
|
maxOutputTokens: number;
|
|
3776
3800
|
name: string;
|
|
3777
3801
|
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")[]];
|
|
3802
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
3779
3803
|
maxInputTokens: number;
|
|
3780
3804
|
config: {
|
|
3781
3805
|
def: Record<string, {
|
|
@@ -3884,7 +3908,7 @@ declare const Gemini1_5ProSchema: {
|
|
|
3884
3908
|
maxOutputTokens: number;
|
|
3885
3909
|
name: string;
|
|
3886
3910
|
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")[]];
|
|
3911
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
3888
3912
|
maxInputTokens: number;
|
|
3889
3913
|
config: {
|
|
3890
3914
|
def: Record<string, {
|
|
@@ -3993,7 +4017,7 @@ declare const Gemini2_0FlashExpSchema: {
|
|
|
3993
4017
|
maxOutputTokens: number;
|
|
3994
4018
|
name: string;
|
|
3995
4019
|
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")[]];
|
|
4020
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
3997
4021
|
maxInputTokens: number;
|
|
3998
4022
|
config: {
|
|
3999
4023
|
def: Record<string, {
|
|
@@ -4102,7 +4126,7 @@ declare const Gemini2_0FlashSchema: {
|
|
|
4102
4126
|
maxOutputTokens: number;
|
|
4103
4127
|
name: string;
|
|
4104
4128
|
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")[]];
|
|
4129
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
4106
4130
|
maxInputTokens: number;
|
|
4107
4131
|
config: {
|
|
4108
4132
|
def: Record<string, {
|
|
@@ -4211,7 +4235,7 @@ declare const Gemini2_5FlashLiteSchema: {
|
|
|
4211
4235
|
maxOutputTokens: number;
|
|
4212
4236
|
name: string;
|
|
4213
4237
|
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")[]];
|
|
4238
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
4215
4239
|
maxInputTokens: number;
|
|
4216
4240
|
config: {
|
|
4217
4241
|
def: Record<string, {
|
|
@@ -4320,7 +4344,7 @@ declare const Gemini2_5FlashPreview0417Schema: {
|
|
|
4320
4344
|
maxOutputTokens: number;
|
|
4321
4345
|
name: string;
|
|
4322
4346
|
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")[]];
|
|
4347
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
4324
4348
|
maxInputTokens: number;
|
|
4325
4349
|
config: {
|
|
4326
4350
|
def: Record<string, {
|
|
@@ -4429,7 +4453,7 @@ declare const Gemini2_5FlashSchema: {
|
|
|
4429
4453
|
maxOutputTokens: number;
|
|
4430
4454
|
name: string;
|
|
4431
4455
|
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")[]];
|
|
4456
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
4433
4457
|
maxInputTokens: number;
|
|
4434
4458
|
config: {
|
|
4435
4459
|
def: Record<string, {
|
|
@@ -4538,7 +4562,7 @@ declare const Gemini2_5ProPreview0325Schema: {
|
|
|
4538
4562
|
maxOutputTokens: number;
|
|
4539
4563
|
name: string;
|
|
4540
4564
|
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")[]];
|
|
4565
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
4542
4566
|
maxInputTokens: number;
|
|
4543
4567
|
config: {
|
|
4544
4568
|
def: Record<string, {
|
|
@@ -4647,7 +4671,7 @@ declare const Gemini2_5ProSchema: {
|
|
|
4647
4671
|
maxOutputTokens: number;
|
|
4648
4672
|
name: string;
|
|
4649
4673
|
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")[]];
|
|
4674
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
4651
4675
|
maxInputTokens: number;
|
|
4652
4676
|
config: {
|
|
4653
4677
|
def: Record<string, {
|
|
@@ -4756,7 +4780,7 @@ declare const Gemini3FlashPreviewSchema: {
|
|
|
4756
4780
|
maxOutputTokens: number;
|
|
4757
4781
|
name: string;
|
|
4758
4782
|
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")[]];
|
|
4783
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
4760
4784
|
maxInputTokens: number;
|
|
4761
4785
|
config: {
|
|
4762
4786
|
def: Record<string, {
|
|
@@ -4865,7 +4889,7 @@ declare const Gemini3ProPreviewSchema: {
|
|
|
4865
4889
|
maxOutputTokens: number;
|
|
4866
4890
|
name: string;
|
|
4867
4891
|
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")[]];
|
|
4892
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
4869
4893
|
maxInputTokens: number;
|
|
4870
4894
|
config: {
|
|
4871
4895
|
def: Record<string, {
|