@wix/auto_sdk_ai-gateway_generators 1.0.72 → 1.0.74
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/build/cjs/index.d.ts +912 -458
- package/build/cjs/index.js +25 -112
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +1 -1
- package/build/cjs/index.typings.js +25 -112
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +903 -455
- package/build/cjs/meta.js +21 -110
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +912 -458
- package/build/es/index.mjs +25 -111
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +1 -1
- package/build/es/index.typings.mjs +25 -111
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +903 -455
- package/build/es/meta.mjs +21 -109
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +14 -14
- package/build/internal/cjs/index.js +25 -112
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +925 -471
- package/build/internal/cjs/index.typings.js +25 -112
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +903 -455
- package/build/internal/cjs/meta.js +21 -110
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +14 -14
- package/build/internal/es/index.mjs +25 -111
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +925 -471
- package/build/internal/es/index.typings.mjs +25 -111
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +903 -455
- package/build/internal/es/meta.mjs +21 -109
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -108,10 +108,6 @@ function generateTextByPrompt(payload) {
|
|
|
108
108
|
path: "response.googleTextBisonResponse.predictions.safetyAttributes.scores",
|
|
109
109
|
isRepeated: true
|
|
110
110
|
},
|
|
111
|
-
{
|
|
112
|
-
path: "response.googleChatBisonResponse.predictions.safetyAttributes.scores",
|
|
113
|
-
isRepeated: true
|
|
114
|
-
},
|
|
115
111
|
{
|
|
116
112
|
path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.probabilityScore"
|
|
117
113
|
},
|
|
@@ -135,12 +131,6 @@ function generateTextByPrompt(payload) {
|
|
|
135
131
|
{
|
|
136
132
|
path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
|
|
137
133
|
},
|
|
138
|
-
{
|
|
139
|
-
path: "materializedPrompt.googleChatBisonRequest.parameters.temperature"
|
|
140
|
-
},
|
|
141
|
-
{
|
|
142
|
-
path: "materializedPrompt.googleChatBisonRequest.parameters.topP"
|
|
143
|
-
},
|
|
144
134
|
{
|
|
145
135
|
path: "materializedPrompt.azureChatCompletionRequest.temperature"
|
|
146
136
|
},
|
|
@@ -371,8 +361,6 @@ function generateTextByPromptObject(payload) {
|
|
|
371
361
|
{ path: "prompt.openAiChatCompletionRequest.frequencyPenalty" },
|
|
372
362
|
{ path: "prompt.googleTextBisonRequest.parameters.temperature" },
|
|
373
363
|
{ path: "prompt.googleTextBisonRequest.parameters.topP" },
|
|
374
|
-
{ path: "prompt.googleChatBisonRequest.parameters.temperature" },
|
|
375
|
-
{ path: "prompt.googleChatBisonRequest.parameters.topP" },
|
|
376
364
|
{ path: "prompt.azureChatCompletionRequest.temperature" },
|
|
377
365
|
{ path: "prompt.azureChatCompletionRequest.topP" },
|
|
378
366
|
{ path: "prompt.azureChatCompletionRequest.presencePenalty" },
|
|
@@ -480,10 +468,6 @@ function generateTextByPromptObject(payload) {
|
|
|
480
468
|
path: "response.googleTextBisonResponse.predictions.safetyAttributes.scores",
|
|
481
469
|
isRepeated: true
|
|
482
470
|
},
|
|
483
|
-
{
|
|
484
|
-
path: "response.googleChatBisonResponse.predictions.safetyAttributes.scores",
|
|
485
|
-
isRepeated: true
|
|
486
|
-
},
|
|
487
471
|
{
|
|
488
472
|
path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.probabilityScore"
|
|
489
473
|
},
|
|
@@ -507,12 +491,6 @@ function generateTextByPromptObject(payload) {
|
|
|
507
491
|
{
|
|
508
492
|
path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
|
|
509
493
|
},
|
|
510
|
-
{
|
|
511
|
-
path: "materializedPrompt.googleChatBisonRequest.parameters.temperature"
|
|
512
|
-
},
|
|
513
|
-
{
|
|
514
|
-
path: "materializedPrompt.googleChatBisonRequest.parameters.topP"
|
|
515
|
-
},
|
|
516
494
|
{
|
|
517
495
|
path: "materializedPrompt.azureChatCompletionRequest.temperature"
|
|
518
496
|
},
|
|
@@ -694,8 +672,6 @@ function generateTextByPromptObjectStreamed(payload) {
|
|
|
694
672
|
{ path: "prompt.openAiChatCompletionRequest.frequencyPenalty" },
|
|
695
673
|
{ path: "prompt.googleTextBisonRequest.parameters.temperature" },
|
|
696
674
|
{ path: "prompt.googleTextBisonRequest.parameters.topP" },
|
|
697
|
-
{ path: "prompt.googleChatBisonRequest.parameters.temperature" },
|
|
698
|
-
{ path: "prompt.googleChatBisonRequest.parameters.topP" },
|
|
699
675
|
{ path: "prompt.azureChatCompletionRequest.temperature" },
|
|
700
676
|
{ path: "prompt.azureChatCompletionRequest.topP" },
|
|
701
677
|
{ path: "prompt.azureChatCompletionRequest.presencePenalty" },
|
|
@@ -892,10 +868,6 @@ function generateTextByProject(payload) {
|
|
|
892
868
|
path: "response.googleTextBisonResponse.predictions.safetyAttributes.scores",
|
|
893
869
|
isRepeated: true
|
|
894
870
|
},
|
|
895
|
-
{
|
|
896
|
-
path: "response.googleChatBisonResponse.predictions.safetyAttributes.scores",
|
|
897
|
-
isRepeated: true
|
|
898
|
-
},
|
|
899
871
|
{
|
|
900
872
|
path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.probabilityScore"
|
|
901
873
|
},
|
|
@@ -919,12 +891,6 @@ function generateTextByProject(payload) {
|
|
|
919
891
|
{
|
|
920
892
|
path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
|
|
921
893
|
},
|
|
922
|
-
{
|
|
923
|
-
path: "materializedPrompt.googleChatBisonRequest.parameters.temperature"
|
|
924
|
-
},
|
|
925
|
-
{
|
|
926
|
-
path: "materializedPrompt.googleChatBisonRequest.parameters.topP"
|
|
927
|
-
},
|
|
928
894
|
{
|
|
929
895
|
path: "materializedPrompt.azureChatCompletionRequest.temperature"
|
|
930
896
|
},
|
|
@@ -1204,12 +1170,6 @@ function generateImageByProject(payload) {
|
|
|
1204
1170
|
{
|
|
1205
1171
|
path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
|
|
1206
1172
|
},
|
|
1207
|
-
{
|
|
1208
|
-
path: "materializedPrompt.googleChatBisonRequest.parameters.temperature"
|
|
1209
|
-
},
|
|
1210
|
-
{
|
|
1211
|
-
path: "materializedPrompt.googleChatBisonRequest.parameters.topP"
|
|
1212
|
-
},
|
|
1213
1173
|
{
|
|
1214
1174
|
path: "materializedPrompt.azureChatCompletionRequest.temperature"
|
|
1215
1175
|
},
|
|
@@ -1404,12 +1364,6 @@ function generateImageByPrompt(payload) {
|
|
|
1404
1364
|
{
|
|
1405
1365
|
path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
|
|
1406
1366
|
},
|
|
1407
|
-
{
|
|
1408
|
-
path: "materializedPrompt.googleChatBisonRequest.parameters.temperature"
|
|
1409
|
-
},
|
|
1410
|
-
{
|
|
1411
|
-
path: "materializedPrompt.googleChatBisonRequest.parameters.topP"
|
|
1412
|
-
},
|
|
1413
1367
|
{
|
|
1414
1368
|
path: "materializedPrompt.azureChatCompletionRequest.temperature"
|
|
1415
1369
|
},
|
|
@@ -1576,8 +1530,6 @@ function generateImageByPromptObject(payload) {
|
|
|
1576
1530
|
{ path: "prompt.openAiChatCompletionRequest.frequencyPenalty" },
|
|
1577
1531
|
{ path: "prompt.googleTextBisonRequest.parameters.temperature" },
|
|
1578
1532
|
{ path: "prompt.googleTextBisonRequest.parameters.topP" },
|
|
1579
|
-
{ path: "prompt.googleChatBisonRequest.parameters.temperature" },
|
|
1580
|
-
{ path: "prompt.googleChatBisonRequest.parameters.topP" },
|
|
1581
1533
|
{ path: "prompt.azureChatCompletionRequest.temperature" },
|
|
1582
1534
|
{ path: "prompt.azureChatCompletionRequest.topP" },
|
|
1583
1535
|
{ path: "prompt.azureChatCompletionRequest.presencePenalty" },
|
|
@@ -1701,12 +1653,6 @@ function generateImageByPromptObject(payload) {
|
|
|
1701
1653
|
{
|
|
1702
1654
|
path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
|
|
1703
1655
|
},
|
|
1704
|
-
{
|
|
1705
|
-
path: "materializedPrompt.googleChatBisonRequest.parameters.temperature"
|
|
1706
|
-
},
|
|
1707
|
-
{
|
|
1708
|
-
path: "materializedPrompt.googleChatBisonRequest.parameters.topP"
|
|
1709
|
-
},
|
|
1710
1656
|
{
|
|
1711
1657
|
path: "materializedPrompt.azureChatCompletionRequest.temperature"
|
|
1712
1658
|
},
|
|
@@ -1885,10 +1831,6 @@ function generateContentByPrompt(payload) {
|
|
|
1885
1831
|
path: "response.googleTextBisonResponse.predictions.safetyAttributes.scores",
|
|
1886
1832
|
isRepeated: true
|
|
1887
1833
|
},
|
|
1888
|
-
{
|
|
1889
|
-
path: "response.googleChatBisonResponse.predictions.safetyAttributes.scores",
|
|
1890
|
-
isRepeated: true
|
|
1891
|
-
},
|
|
1892
1834
|
{
|
|
1893
1835
|
path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.probabilityScore"
|
|
1894
1836
|
},
|
|
@@ -1917,12 +1859,6 @@ function generateContentByPrompt(payload) {
|
|
|
1917
1859
|
{
|
|
1918
1860
|
path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
|
|
1919
1861
|
},
|
|
1920
|
-
{
|
|
1921
|
-
path: "materializedPrompt.googleChatBisonRequest.parameters.temperature"
|
|
1922
|
-
},
|
|
1923
|
-
{
|
|
1924
|
-
path: "materializedPrompt.googleChatBisonRequest.parameters.topP"
|
|
1925
|
-
},
|
|
1926
1862
|
{
|
|
1927
1863
|
path: "materializedPrompt.azureChatCompletionRequest.temperature"
|
|
1928
1864
|
},
|
|
@@ -2116,10 +2052,6 @@ function generateContentByProject(payload) {
|
|
|
2116
2052
|
path: "response.googleTextBisonResponse.predictions.safetyAttributes.scores",
|
|
2117
2053
|
isRepeated: true
|
|
2118
2054
|
},
|
|
2119
|
-
{
|
|
2120
|
-
path: "response.googleChatBisonResponse.predictions.safetyAttributes.scores",
|
|
2121
|
-
isRepeated: true
|
|
2122
|
-
},
|
|
2123
2055
|
{
|
|
2124
2056
|
path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.probabilityScore"
|
|
2125
2057
|
},
|
|
@@ -2148,12 +2080,6 @@ function generateContentByProject(payload) {
|
|
|
2148
2080
|
{
|
|
2149
2081
|
path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
|
|
2150
2082
|
},
|
|
2151
|
-
{
|
|
2152
|
-
path: "materializedPrompt.googleChatBisonRequest.parameters.temperature"
|
|
2153
|
-
},
|
|
2154
|
-
{
|
|
2155
|
-
path: "materializedPrompt.googleChatBisonRequest.parameters.topP"
|
|
2156
|
-
},
|
|
2157
2083
|
{
|
|
2158
2084
|
path: "materializedPrompt.azureChatCompletionRequest.temperature"
|
|
2159
2085
|
},
|
|
@@ -2335,8 +2261,6 @@ function generateContentByPromptObject(payload) {
|
|
|
2335
2261
|
{ path: "prompt.openAiChatCompletionRequest.frequencyPenalty" },
|
|
2336
2262
|
{ path: "prompt.googleTextBisonRequest.parameters.temperature" },
|
|
2337
2263
|
{ path: "prompt.googleTextBisonRequest.parameters.topP" },
|
|
2338
|
-
{ path: "prompt.googleChatBisonRequest.parameters.temperature" },
|
|
2339
|
-
{ path: "prompt.googleChatBisonRequest.parameters.topP" },
|
|
2340
2264
|
{ path: "prompt.azureChatCompletionRequest.temperature" },
|
|
2341
2265
|
{ path: "prompt.azureChatCompletionRequest.topP" },
|
|
2342
2266
|
{ path: "prompt.azureChatCompletionRequest.presencePenalty" },
|
|
@@ -2444,10 +2368,6 @@ function generateContentByPromptObject(payload) {
|
|
|
2444
2368
|
path: "response.googleTextBisonResponse.predictions.safetyAttributes.scores",
|
|
2445
2369
|
isRepeated: true
|
|
2446
2370
|
},
|
|
2447
|
-
{
|
|
2448
|
-
path: "response.googleChatBisonResponse.predictions.safetyAttributes.scores",
|
|
2449
|
-
isRepeated: true
|
|
2450
|
-
},
|
|
2451
2371
|
{
|
|
2452
2372
|
path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.probabilityScore"
|
|
2453
2373
|
},
|
|
@@ -2476,12 +2396,6 @@ function generateContentByPromptObject(payload) {
|
|
|
2476
2396
|
{
|
|
2477
2397
|
path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
|
|
2478
2398
|
},
|
|
2479
|
-
{
|
|
2480
|
-
path: "materializedPrompt.googleChatBisonRequest.parameters.temperature"
|
|
2481
|
-
},
|
|
2482
|
-
{
|
|
2483
|
-
path: "materializedPrompt.googleChatBisonRequest.parameters.topP"
|
|
2484
|
-
},
|
|
2485
2399
|
{
|
|
2486
2400
|
path: "materializedPrompt.azureChatCompletionRequest.temperature"
|
|
2487
2401
|
},
|
|
@@ -2813,8 +2727,6 @@ function publishPrompt(payload) {
|
|
|
2813
2727
|
{ path: "prompt.openAiChatCompletionRequest.frequencyPenalty" },
|
|
2814
2728
|
{ path: "prompt.googleTextBisonRequest.parameters.temperature" },
|
|
2815
2729
|
{ path: "prompt.googleTextBisonRequest.parameters.topP" },
|
|
2816
|
-
{ path: "prompt.googleChatBisonRequest.parameters.temperature" },
|
|
2817
|
-
{ path: "prompt.googleChatBisonRequest.parameters.topP" },
|
|
2818
2730
|
{ path: "prompt.azureChatCompletionRequest.temperature" },
|
|
2819
2731
|
{ path: "prompt.azureChatCompletionRequest.topP" },
|
|
2820
2732
|
{ path: "prompt.azureChatCompletionRequest.presencePenalty" },
|
|
@@ -2945,8 +2857,6 @@ function getPrompt(payload) {
|
|
|
2945
2857
|
{ path: "prompt.openAiChatCompletionRequest.frequencyPenalty" },
|
|
2946
2858
|
{ path: "prompt.googleTextBisonRequest.parameters.temperature" },
|
|
2947
2859
|
{ path: "prompt.googleTextBisonRequest.parameters.topP" },
|
|
2948
|
-
{ path: "prompt.googleChatBisonRequest.parameters.temperature" },
|
|
2949
|
-
{ path: "prompt.googleChatBisonRequest.parameters.topP" },
|
|
2950
2860
|
{ path: "prompt.azureChatCompletionRequest.temperature" },
|
|
2951
2861
|
{ path: "prompt.azureChatCompletionRequest.topP" },
|
|
2952
2862
|
{ path: "prompt.azureChatCompletionRequest.presencePenalty" },
|
|
@@ -3254,6 +3164,7 @@ var OpenaiproxyV1Model = /* @__PURE__ */ ((OpenaiproxyV1Model2) => {
|
|
|
3254
3164
|
OpenaiproxyV1Model2["GPT_5_NANO_2025_08_07"] = "GPT_5_NANO_2025_08_07";
|
|
3255
3165
|
OpenaiproxyV1Model2["GPT_5_2_2025_12_11_COMPLETION"] = "GPT_5_2_2025_12_11_COMPLETION";
|
|
3256
3166
|
OpenaiproxyV1Model2["GPT_5_1_2025_11_13_COMPLETION"] = "GPT_5_1_2025_11_13_COMPLETION";
|
|
3167
|
+
OpenaiproxyV1Model2["GPT_5_4_2026_03_05_COMPLETION"] = "GPT_5_4_2026_03_05_COMPLETION";
|
|
3257
3168
|
return OpenaiproxyV1Model2;
|
|
3258
3169
|
})(OpenaiproxyV1Model || {});
|
|
3259
3170
|
var OpenaiproxyV1ChatCompletionMessageMessageRole = /* @__PURE__ */ ((OpenaiproxyV1ChatCompletionMessageMessageRole2) => {
|
|
@@ -3275,15 +3186,6 @@ var TextBisonModel = /* @__PURE__ */ ((TextBisonModel2) => {
|
|
|
3275
3186
|
TextBisonModel2["TEXT_BISON_32K_002"] = "TEXT_BISON_32K_002";
|
|
3276
3187
|
return TextBisonModel2;
|
|
3277
3188
|
})(TextBisonModel || {});
|
|
3278
|
-
var ChatBisonModel = /* @__PURE__ */ ((ChatBisonModel2) => {
|
|
3279
|
-
ChatBisonModel2["UNKNOWN_CHAT_BISON_MODEL"] = "UNKNOWN_CHAT_BISON_MODEL";
|
|
3280
|
-
ChatBisonModel2["CHAT_BISON"] = "CHAT_BISON";
|
|
3281
|
-
ChatBisonModel2["CHAT_BISON_001"] = "CHAT_BISON_001";
|
|
3282
|
-
ChatBisonModel2["CHAT_BISON_32K"] = "CHAT_BISON_32K";
|
|
3283
|
-
ChatBisonModel2["CHAT_BISON_002"] = "CHAT_BISON_002";
|
|
3284
|
-
ChatBisonModel2["CHAT_BISON_32K_002"] = "CHAT_BISON_32K_002";
|
|
3285
|
-
return ChatBisonModel2;
|
|
3286
|
-
})(ChatBisonModel || {});
|
|
3287
3189
|
var V1Model = /* @__PURE__ */ ((V1Model2) => {
|
|
3288
3190
|
V1Model2["UNKNOWN"] = "UNKNOWN";
|
|
3289
3191
|
V1Model2["GPT_3_5_TURBO"] = "GPT_3_5_TURBO";
|
|
@@ -3326,6 +3228,7 @@ var GoogleproxyV1Model = /* @__PURE__ */ ((GoogleproxyV1Model2) => {
|
|
|
3326
3228
|
GoogleproxyV1Model2["GEMINI_3_0_PRO"] = "GEMINI_3_0_PRO";
|
|
3327
3229
|
GoogleproxyV1Model2["GEMINI_3_0_PRO_IMAGE"] = "GEMINI_3_0_PRO_IMAGE";
|
|
3328
3230
|
GoogleproxyV1Model2["GEMINI_3_0_FLASH"] = "GEMINI_3_0_FLASH";
|
|
3231
|
+
GoogleproxyV1Model2["GEMINI_3_1_PRO"] = "GEMINI_3_1_PRO";
|
|
3329
3232
|
return GoogleproxyV1Model2;
|
|
3330
3233
|
})(GoogleproxyV1Model || {});
|
|
3331
3234
|
var ContentRole = /* @__PURE__ */ ((ContentRole2) => {
|
|
@@ -3420,6 +3323,8 @@ var Model = /* @__PURE__ */ ((Model2) => {
|
|
|
3420
3323
|
Model2["CLAUDE_4_5_SONNET_1_0"] = "CLAUDE_4_5_SONNET_1_0";
|
|
3421
3324
|
Model2["CLAUDE_4_5_HAIKU_1_0"] = "CLAUDE_4_5_HAIKU_1_0";
|
|
3422
3325
|
Model2["CLAUDE_4_5_OPUS_1_0"] = "CLAUDE_4_5_OPUS_1_0";
|
|
3326
|
+
Model2["CLAUDE_4_6_OPUS_1_0"] = "CLAUDE_4_6_OPUS_1_0";
|
|
3327
|
+
Model2["CLAUDE_4_6_SONNET_1_0"] = "CLAUDE_4_6_SONNET_1_0";
|
|
3423
3328
|
return Model2;
|
|
3424
3329
|
})(Model || {});
|
|
3425
3330
|
var Role = /* @__PURE__ */ ((Role2) => {
|
|
@@ -3466,6 +3371,8 @@ var ClaudeModel = /* @__PURE__ */ ((ClaudeModel2) => {
|
|
|
3466
3371
|
ClaudeModel2["CLAUDE_4_5_SONNET_1_0"] = "CLAUDE_4_5_SONNET_1_0";
|
|
3467
3372
|
ClaudeModel2["CLAUDE_4_5_HAIKU_1_0"] = "CLAUDE_4_5_HAIKU_1_0";
|
|
3468
3373
|
ClaudeModel2["CLAUDE_4_5_OPUS_1_0"] = "CLAUDE_4_5_OPUS_1_0";
|
|
3374
|
+
ClaudeModel2["CLAUDE_4_6_OPUS_1_0"] = "CLAUDE_4_6_OPUS_1_0";
|
|
3375
|
+
ClaudeModel2["CLAUDE_4_6_SONNET_1_0"] = "CLAUDE_4_6_SONNET_1_0";
|
|
3469
3376
|
return ClaudeModel2;
|
|
3470
3377
|
})(ClaudeModel || {});
|
|
3471
3378
|
var V1MessageRoleRole = /* @__PURE__ */ ((V1MessageRoleRole2) => {
|
|
@@ -3506,6 +3413,8 @@ var AnthropicModel = /* @__PURE__ */ ((AnthropicModel2) => {
|
|
|
3506
3413
|
AnthropicModel2["CLAUDE_4_5_SONNET_1_0"] = "CLAUDE_4_5_SONNET_1_0";
|
|
3507
3414
|
AnthropicModel2["CLAUDE_4_5_HAIKU_1_0"] = "CLAUDE_4_5_HAIKU_1_0";
|
|
3508
3415
|
AnthropicModel2["CLAUDE_4_5_OPUS_1_0"] = "CLAUDE_4_5_OPUS_1_0";
|
|
3416
|
+
AnthropicModel2["CLAUDE_4_6_OPUS_1_0"] = "CLAUDE_4_6_OPUS_1_0";
|
|
3417
|
+
AnthropicModel2["CLAUDE_4_6_SONNET_1_0"] = "CLAUDE_4_6_SONNET_1_0";
|
|
3509
3418
|
return AnthropicModel2;
|
|
3510
3419
|
})(AnthropicModel || {});
|
|
3511
3420
|
var MessageRoleRole = /* @__PURE__ */ ((MessageRoleRole2) => {
|
|
@@ -3865,6 +3774,10 @@ var V1ResponsesModel = /* @__PURE__ */ ((V1ResponsesModel2) => {
|
|
|
3865
3774
|
V1ResponsesModel2["GPT_EXP_RESPONSES_3"] = "GPT_EXP_RESPONSES_3";
|
|
3866
3775
|
V1ResponsesModel2["GPT_5_1_CODEX_MAX"] = "GPT_5_1_CODEX_MAX";
|
|
3867
3776
|
V1ResponsesModel2["GPT_5_2_2025_12_11"] = "GPT_5_2_2025_12_11";
|
|
3777
|
+
V1ResponsesModel2["GPT_5_2_CODEX"] = "GPT_5_2_CODEX";
|
|
3778
|
+
V1ResponsesModel2["GPT_5_3_CODEX"] = "GPT_5_3_CODEX";
|
|
3779
|
+
V1ResponsesModel2["GPT_5_4_2026_03_05"] = "GPT_5_4_2026_03_05";
|
|
3780
|
+
V1ResponsesModel2["GPT_5_4_PRO_2026_03_05"] = "GPT_5_4_PRO_2026_03_05";
|
|
3868
3781
|
return V1ResponsesModel2;
|
|
3869
3782
|
})(V1ResponsesModel || {});
|
|
3870
3783
|
var ResponsesInputMessageResponsesMessageRole = /* @__PURE__ */ ((ResponsesInputMessageResponsesMessageRole2) => {
|
|
@@ -3905,6 +3818,15 @@ var Fireworks_proxyV1ChatCompletionMessageMessageRole = /* @__PURE__ */ ((Firewo
|
|
|
3905
3818
|
Fireworks_proxyV1ChatCompletionMessageMessageRole2["DEVELOPER"] = "DEVELOPER";
|
|
3906
3819
|
return Fireworks_proxyV1ChatCompletionMessageMessageRole2;
|
|
3907
3820
|
})(Fireworks_proxyV1ChatCompletionMessageMessageRole || {});
|
|
3821
|
+
var GatewayMessageDefinitionRole = /* @__PURE__ */ ((GatewayMessageDefinitionRole2) => {
|
|
3822
|
+
GatewayMessageDefinitionRole2["UNKNOWN"] = "UNKNOWN";
|
|
3823
|
+
GatewayMessageDefinitionRole2["USER"] = "USER";
|
|
3824
|
+
GatewayMessageDefinitionRole2["ASSISTANT"] = "ASSISTANT";
|
|
3825
|
+
GatewayMessageDefinitionRole2["SYSTEM"] = "SYSTEM";
|
|
3826
|
+
GatewayMessageDefinitionRole2["TOOL"] = "TOOL";
|
|
3827
|
+
GatewayMessageDefinitionRole2["DEVELOPER"] = "DEVELOPER";
|
|
3828
|
+
return GatewayMessageDefinitionRole2;
|
|
3829
|
+
})(GatewayMessageDefinitionRole || {});
|
|
3908
3830
|
var FinishReason = /* @__PURE__ */ ((FinishReason2) => {
|
|
3909
3831
|
FinishReason2["UNKNOWN_FINISH_REASON"] = "UNKNOWN_FINISH_REASON";
|
|
3910
3832
|
FinishReason2["UNSPECIFIED"] = "UNSPECIFIED";
|
|
@@ -3951,15 +3873,6 @@ var V1ResponseTypeType = /* @__PURE__ */ ((V1ResponseTypeType2) => {
|
|
|
3951
3873
|
V1ResponseTypeType2["MESSAGE"] = "MESSAGE";
|
|
3952
3874
|
return V1ResponseTypeType2;
|
|
3953
3875
|
})(V1ResponseTypeType || {});
|
|
3954
|
-
var GatewayMessageDefinitionRole = /* @__PURE__ */ ((GatewayMessageDefinitionRole2) => {
|
|
3955
|
-
GatewayMessageDefinitionRole2["UNKNOWN"] = "UNKNOWN";
|
|
3956
|
-
GatewayMessageDefinitionRole2["USER"] = "USER";
|
|
3957
|
-
GatewayMessageDefinitionRole2["ASSISTANT"] = "ASSISTANT";
|
|
3958
|
-
GatewayMessageDefinitionRole2["SYSTEM"] = "SYSTEM";
|
|
3959
|
-
GatewayMessageDefinitionRole2["TOOL"] = "TOOL";
|
|
3960
|
-
GatewayMessageDefinitionRole2["DEVELOPER"] = "DEVELOPER";
|
|
3961
|
-
return GatewayMessageDefinitionRole2;
|
|
3962
|
-
})(GatewayMessageDefinitionRole || {});
|
|
3963
3876
|
var OpenaiproxyV1EmbeddingModel = /* @__PURE__ */ ((OpenaiproxyV1EmbeddingModel2) => {
|
|
3964
3877
|
OpenaiproxyV1EmbeddingModel2["UNKNOWN_EMBEDDING_MODEL"] = "UNKNOWN_EMBEDDING_MODEL";
|
|
3965
3878
|
OpenaiproxyV1EmbeddingModel2["TEXT_EMBEDDING_ADA_002"] = "TEXT_EMBEDDING_ADA_002";
|
|
@@ -4919,7 +4832,8 @@ async function pollImageGenerationResult2(options) {
|
|
|
4919
4832
|
replicateGetResultRequest: options?.replicateGetResultRequest,
|
|
4920
4833
|
bflGetResultRequest: options?.bflGetResultRequest,
|
|
4921
4834
|
runwareGetTaskResultRequest: options?.runwareGetTaskResultRequest,
|
|
4922
|
-
openAiGetVideoResultRequest: options?.openAiGetVideoResultRequest
|
|
4835
|
+
openAiGetVideoResultRequest: options?.openAiGetVideoResultRequest,
|
|
4836
|
+
bytedanceGetContentTaskRequest: options?.bytedanceGetContentTaskRequest
|
|
4923
4837
|
});
|
|
4924
4838
|
const reqOpts = pollImageGenerationResult(payload);
|
|
4925
4839
|
sideEffects?.onSiteCall?.();
|
|
@@ -4937,7 +4851,8 @@ async function pollImageGenerationResult2(options) {
|
|
|
4937
4851
|
replicateGetResultRequest: "$[0].replicateGetResultRequest",
|
|
4938
4852
|
bflGetResultRequest: "$[0].bflGetResultRequest",
|
|
4939
4853
|
runwareGetTaskResultRequest: "$[0].runwareGetTaskResultRequest",
|
|
4940
|
-
openAiGetVideoResultRequest: "$[0].openAiGetVideoResultRequest"
|
|
4854
|
+
openAiGetVideoResultRequest: "$[0].openAiGetVideoResultRequest",
|
|
4855
|
+
bytedanceGetContentTaskRequest: "$[0].bytedanceGetContentTaskRequest"
|
|
4941
4856
|
},
|
|
4942
4857
|
singleArgumentUnchanged: false
|
|
4943
4858
|
},
|
|
@@ -4950,7 +4865,6 @@ async function pollImageGenerationResult2(options) {
|
|
|
4950
4865
|
export {
|
|
4951
4866
|
AnthropicModel,
|
|
4952
4867
|
CacheControlType,
|
|
4953
|
-
ChatBisonModel,
|
|
4954
4868
|
ChatCompletionMessageMessageRole,
|
|
4955
4869
|
ChatCompletionModel,
|
|
4956
4870
|
ClaudeModel,
|