@hebo-ai/gateway 0.4.0-beta.2 → 0.4.0-beta.4
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/README.md +13 -5
- package/dist/config.js +21 -7
- package/dist/endpoints/chat-completions/converters.js +2 -2
- package/dist/endpoints/chat-completions/handler.js +31 -25
- package/dist/endpoints/chat-completions/otel.d.ts +6 -0
- package/dist/endpoints/chat-completions/otel.js +121 -0
- package/dist/endpoints/embeddings/handler.js +19 -12
- package/dist/endpoints/embeddings/otel.d.ts +6 -0
- package/dist/endpoints/embeddings/otel.js +35 -0
- package/dist/endpoints/models/handler.js +3 -4
- package/dist/errors/gateway.js +1 -2
- package/dist/errors/openai.js +10 -12
- package/dist/errors/utils.d.ts +1 -3
- package/dist/errors/utils.js +5 -6
- package/dist/gateway.js +1 -1
- package/dist/lifecycle.js +62 -28
- package/dist/middleware/matcher.js +1 -1
- package/dist/models/amazon/presets.d.ts +37 -37
- package/dist/models/amazon/presets.js +1 -1
- package/dist/models/anthropic/presets.d.ts +56 -56
- package/dist/models/cohere/presets.d.ts +54 -54
- package/dist/models/cohere/presets.js +2 -2
- package/dist/models/google/presets.d.ts +31 -31
- package/dist/models/google/presets.js +1 -1
- package/dist/models/meta/presets.d.ts +42 -42
- package/dist/models/openai/presets.d.ts +96 -96
- package/dist/models/openai/presets.js +1 -1
- package/dist/models/types.d.ts +1 -1
- package/dist/models/voyage/presets.d.ts +92 -92
- package/dist/models/voyage/presets.js +1 -1
- package/dist/providers/registry.js +2 -2
- package/dist/telemetry/baggage.d.ts +1 -0
- package/dist/telemetry/baggage.js +24 -0
- package/dist/telemetry/fetch.d.ts +2 -1
- package/dist/telemetry/fetch.js +13 -3
- package/dist/telemetry/gen-ai.d.ts +4 -0
- package/dist/telemetry/gen-ai.js +42 -0
- package/dist/telemetry/http.d.ts +3 -0
- package/dist/telemetry/http.js +57 -0
- package/dist/telemetry/span.d.ts +6 -3
- package/dist/telemetry/span.js +23 -35
- package/dist/telemetry/stream.d.ts +3 -7
- package/dist/telemetry/stream.js +18 -18
- package/dist/types.d.ts +14 -12
- package/dist/utils/headers.d.ts +1 -1
- package/dist/utils/headers.js +7 -9
- package/dist/utils/request.d.ts +0 -4
- package/dist/utils/request.js +0 -9
- package/dist/utils/response.js +1 -1
- package/package.json +4 -2
- package/src/config.ts +28 -7
- package/src/endpoints/chat-completions/converters.ts +2 -2
- package/src/endpoints/chat-completions/handler.ts +39 -26
- package/src/endpoints/chat-completions/otel.ts +154 -0
- package/src/endpoints/embeddings/handler.test.ts +2 -2
- package/src/endpoints/embeddings/handler.ts +24 -12
- package/src/endpoints/embeddings/otel.ts +56 -0
- package/src/endpoints/models/handler.ts +3 -5
- package/src/errors/gateway.ts +1 -2
- package/src/errors/openai.ts +24 -17
- package/src/errors/utils.ts +5 -7
- package/src/gateway.ts +1 -1
- package/src/lifecycle.ts +73 -31
- package/src/middleware/matcher.ts +1 -1
- package/src/models/amazon/presets.ts +1 -1
- package/src/models/cohere/presets.ts +2 -2
- package/src/models/google/presets.ts +1 -1
- package/src/models/openai/presets.ts +1 -1
- package/src/models/types.ts +1 -1
- package/src/models/voyage/presets.ts +1 -1
- package/src/providers/registry.ts +2 -2
- package/src/telemetry/baggage.ts +27 -0
- package/src/telemetry/fetch.ts +15 -3
- package/src/telemetry/gen-ai.ts +60 -0
- package/src/telemetry/http.ts +65 -0
- package/src/telemetry/span.ts +28 -40
- package/src/telemetry/stream.ts +26 -30
- package/src/types.ts +15 -12
- package/src/utils/headers.ts +8 -19
- package/src/utils/request.ts +0 -11
- package/src/utils/response.ts +1 -1
- package/dist/telemetry/otel.d.ts +0 -2
- package/dist/telemetry/otel.js +0 -46
- package/dist/telemetry/utils.d.ts +0 -4
- package/dist/telemetry/utils.js +0 -223
- package/src/telemetry/otel.ts +0 -87
- package/src/telemetry/utils.ts +0 -273
|
@@ -4,7 +4,7 @@ export declare const claudeHaiku45: <const O extends {
|
|
|
4
4
|
knowledge?: string | undefined;
|
|
5
5
|
modalities?: {
|
|
6
6
|
input?: readonly ("text" | "file" | "image" | "audio" | "video" | "pdf")[] | undefined;
|
|
7
|
-
output?: readonly ("text" | "
|
|
7
|
+
output?: readonly ("text" | "embedding" | "image" | "audio" | "video")[] | undefined;
|
|
8
8
|
} | undefined;
|
|
9
9
|
context?: number | undefined;
|
|
10
10
|
capabilities?: readonly ("temperature" | "reasoning" | "attachments" | "tool_call" | "structured_output")[] | undefined;
|
|
@@ -82,7 +82,7 @@ export declare const claudeHaiku35: <const O extends {
|
|
|
82
82
|
knowledge?: string | undefined;
|
|
83
83
|
modalities?: {
|
|
84
84
|
input?: readonly ("text" | "file" | "image" | "audio" | "video" | "pdf")[] | undefined;
|
|
85
|
-
output?: readonly ("text" | "
|
|
85
|
+
output?: readonly ("text" | "embedding" | "image" | "audio" | "video")[] | undefined;
|
|
86
86
|
} | undefined;
|
|
87
87
|
context?: number | undefined;
|
|
88
88
|
capabilities?: readonly ("temperature" | "reasoning" | "attachments" | "tool_call" | "structured_output")[] | undefined;
|
|
@@ -160,7 +160,7 @@ export declare const claudeHaiku3: <const O extends {
|
|
|
160
160
|
knowledge?: string | undefined;
|
|
161
161
|
modalities?: {
|
|
162
162
|
input?: readonly ("text" | "file" | "image" | "audio" | "video" | "pdf")[] | undefined;
|
|
163
|
-
output?: readonly ("text" | "
|
|
163
|
+
output?: readonly ("text" | "embedding" | "image" | "audio" | "video")[] | undefined;
|
|
164
164
|
} | undefined;
|
|
165
165
|
context?: number | undefined;
|
|
166
166
|
capabilities?: readonly ("temperature" | "reasoning" | "attachments" | "tool_call" | "structured_output")[] | undefined;
|
|
@@ -238,7 +238,7 @@ export declare const claudeSonnet45: <const O extends {
|
|
|
238
238
|
knowledge?: string | undefined;
|
|
239
239
|
modalities?: {
|
|
240
240
|
input?: readonly ("text" | "file" | "image" | "audio" | "video" | "pdf")[] | undefined;
|
|
241
|
-
output?: readonly ("text" | "
|
|
241
|
+
output?: readonly ("text" | "embedding" | "image" | "audio" | "video")[] | undefined;
|
|
242
242
|
} | undefined;
|
|
243
243
|
context?: number | undefined;
|
|
244
244
|
capabilities?: readonly ("temperature" | "reasoning" | "attachments" | "tool_call" | "structured_output")[] | undefined;
|
|
@@ -316,7 +316,7 @@ export declare const claudeSonnet4: <const O extends {
|
|
|
316
316
|
knowledge?: string | undefined;
|
|
317
317
|
modalities?: {
|
|
318
318
|
input?: readonly ("text" | "file" | "image" | "audio" | "video" | "pdf")[] | undefined;
|
|
319
|
-
output?: readonly ("text" | "
|
|
319
|
+
output?: readonly ("text" | "embedding" | "image" | "audio" | "video")[] | undefined;
|
|
320
320
|
} | undefined;
|
|
321
321
|
context?: number | undefined;
|
|
322
322
|
capabilities?: readonly ("temperature" | "reasoning" | "attachments" | "tool_call" | "structured_output")[] | undefined;
|
|
@@ -394,7 +394,7 @@ export declare const claudeSonnet37: <const O extends {
|
|
|
394
394
|
knowledge?: string | undefined;
|
|
395
395
|
modalities?: {
|
|
396
396
|
input?: readonly ("text" | "file" | "image" | "audio" | "video" | "pdf")[] | undefined;
|
|
397
|
-
output?: readonly ("text" | "
|
|
397
|
+
output?: readonly ("text" | "embedding" | "image" | "audio" | "video")[] | undefined;
|
|
398
398
|
} | undefined;
|
|
399
399
|
context?: number | undefined;
|
|
400
400
|
capabilities?: readonly ("temperature" | "reasoning" | "attachments" | "tool_call" | "structured_output")[] | undefined;
|
|
@@ -472,7 +472,7 @@ export declare const claudeSonnet35: <const O extends {
|
|
|
472
472
|
knowledge?: string | undefined;
|
|
473
473
|
modalities?: {
|
|
474
474
|
input?: readonly ("text" | "file" | "image" | "audio" | "video" | "pdf")[] | undefined;
|
|
475
|
-
output?: readonly ("text" | "
|
|
475
|
+
output?: readonly ("text" | "embedding" | "image" | "audio" | "video")[] | undefined;
|
|
476
476
|
} | undefined;
|
|
477
477
|
context?: number | undefined;
|
|
478
478
|
capabilities?: readonly ("temperature" | "reasoning" | "attachments" | "tool_call" | "structured_output")[] | undefined;
|
|
@@ -550,7 +550,7 @@ export declare const claudeOpus45: <const O extends {
|
|
|
550
550
|
knowledge?: string | undefined;
|
|
551
551
|
modalities?: {
|
|
552
552
|
input?: readonly ("text" | "file" | "image" | "audio" | "video" | "pdf")[] | undefined;
|
|
553
|
-
output?: readonly ("text" | "
|
|
553
|
+
output?: readonly ("text" | "embedding" | "image" | "audio" | "video")[] | undefined;
|
|
554
554
|
} | undefined;
|
|
555
555
|
context?: number | undefined;
|
|
556
556
|
capabilities?: readonly ("temperature" | "reasoning" | "attachments" | "tool_call" | "structured_output")[] | undefined;
|
|
@@ -628,7 +628,7 @@ export declare const claudeOpus46: <const O extends {
|
|
|
628
628
|
knowledge?: string | undefined;
|
|
629
629
|
modalities?: {
|
|
630
630
|
input?: readonly ("text" | "file" | "image" | "audio" | "video" | "pdf")[] | undefined;
|
|
631
|
-
output?: readonly ("text" | "
|
|
631
|
+
output?: readonly ("text" | "embedding" | "image" | "audio" | "video")[] | undefined;
|
|
632
632
|
} | undefined;
|
|
633
633
|
context?: number | undefined;
|
|
634
634
|
capabilities?: readonly ("temperature" | "reasoning" | "attachments" | "tool_call" | "structured_output")[] | undefined;
|
|
@@ -706,7 +706,7 @@ export declare const claudeOpus41: <const O extends {
|
|
|
706
706
|
knowledge?: string | undefined;
|
|
707
707
|
modalities?: {
|
|
708
708
|
input?: readonly ("text" | "file" | "image" | "audio" | "video" | "pdf")[] | undefined;
|
|
709
|
-
output?: readonly ("text" | "
|
|
709
|
+
output?: readonly ("text" | "embedding" | "image" | "audio" | "video")[] | undefined;
|
|
710
710
|
} | undefined;
|
|
711
711
|
context?: number | undefined;
|
|
712
712
|
capabilities?: readonly ("temperature" | "reasoning" | "attachments" | "tool_call" | "structured_output")[] | undefined;
|
|
@@ -784,7 +784,7 @@ export declare const claudeOpus4: <const O extends {
|
|
|
784
784
|
knowledge?: string | undefined;
|
|
785
785
|
modalities?: {
|
|
786
786
|
input?: readonly ("text" | "file" | "image" | "audio" | "video" | "pdf")[] | undefined;
|
|
787
|
-
output?: readonly ("text" | "
|
|
787
|
+
output?: readonly ("text" | "embedding" | "image" | "audio" | "video")[] | undefined;
|
|
788
788
|
} | undefined;
|
|
789
789
|
context?: number | undefined;
|
|
790
790
|
capabilities?: readonly ("temperature" | "reasoning" | "attachments" | "tool_call" | "structured_output")[] | undefined;
|
|
@@ -863,7 +863,7 @@ export declare const claude: {
|
|
|
863
863
|
knowledge?: string | undefined;
|
|
864
864
|
modalities?: {
|
|
865
865
|
input?: readonly ("text" | "file" | "image" | "audio" | "video" | "pdf")[] | undefined;
|
|
866
|
-
output?: readonly ("text" | "
|
|
866
|
+
output?: readonly ("text" | "embedding" | "image" | "audio" | "video")[] | undefined;
|
|
867
867
|
} | undefined;
|
|
868
868
|
context?: number | undefined;
|
|
869
869
|
capabilities?: readonly ("temperature" | "reasoning" | "attachments" | "tool_call" | "structured_output")[] | undefined;
|
|
@@ -941,7 +941,7 @@ export declare const claude: {
|
|
|
941
941
|
knowledge?: string | undefined;
|
|
942
942
|
modalities?: {
|
|
943
943
|
input?: readonly ("text" | "file" | "image" | "audio" | "video" | "pdf")[] | undefined;
|
|
944
|
-
output?: readonly ("text" | "
|
|
944
|
+
output?: readonly ("text" | "embedding" | "image" | "audio" | "video")[] | undefined;
|
|
945
945
|
} | undefined;
|
|
946
946
|
context?: number | undefined;
|
|
947
947
|
capabilities?: readonly ("temperature" | "reasoning" | "attachments" | "tool_call" | "structured_output")[] | undefined;
|
|
@@ -1018,7 +1018,7 @@ export declare const claude: {
|
|
|
1018
1018
|
knowledge?: string | undefined;
|
|
1019
1019
|
modalities?: {
|
|
1020
1020
|
input?: readonly ("text" | "file" | "image" | "audio" | "video" | "pdf")[] | undefined;
|
|
1021
|
-
output?: readonly ("text" | "
|
|
1021
|
+
output?: readonly ("text" | "embedding" | "image" | "audio" | "video")[] | undefined;
|
|
1022
1022
|
} | undefined;
|
|
1023
1023
|
context?: number | undefined;
|
|
1024
1024
|
capabilities?: readonly ("temperature" | "reasoning" | "attachments" | "tool_call" | "structured_output")[] | undefined;
|
|
@@ -1095,7 +1095,7 @@ export declare const claude: {
|
|
|
1095
1095
|
knowledge?: string | undefined;
|
|
1096
1096
|
modalities?: {
|
|
1097
1097
|
input?: readonly ("text" | "file" | "image" | "audio" | "video" | "pdf")[] | undefined;
|
|
1098
|
-
output?: readonly ("text" | "
|
|
1098
|
+
output?: readonly ("text" | "embedding" | "image" | "audio" | "video")[] | undefined;
|
|
1099
1099
|
} | undefined;
|
|
1100
1100
|
context?: number | undefined;
|
|
1101
1101
|
capabilities?: readonly ("temperature" | "reasoning" | "attachments" | "tool_call" | "structured_output")[] | undefined;
|
|
@@ -1172,7 +1172,7 @@ export declare const claude: {
|
|
|
1172
1172
|
knowledge?: string | undefined;
|
|
1173
1173
|
modalities?: {
|
|
1174
1174
|
input?: readonly ("text" | "file" | "image" | "audio" | "video" | "pdf")[] | undefined;
|
|
1175
|
-
output?: readonly ("text" | "
|
|
1175
|
+
output?: readonly ("text" | "embedding" | "image" | "audio" | "video")[] | undefined;
|
|
1176
1176
|
} | undefined;
|
|
1177
1177
|
context?: number | undefined;
|
|
1178
1178
|
capabilities?: readonly ("temperature" | "reasoning" | "attachments" | "tool_call" | "structured_output")[] | undefined;
|
|
@@ -1249,7 +1249,7 @@ export declare const claude: {
|
|
|
1249
1249
|
knowledge?: string | undefined;
|
|
1250
1250
|
modalities?: {
|
|
1251
1251
|
input?: readonly ("text" | "file" | "image" | "audio" | "video" | "pdf")[] | undefined;
|
|
1252
|
-
output?: readonly ("text" | "
|
|
1252
|
+
output?: readonly ("text" | "embedding" | "image" | "audio" | "video")[] | undefined;
|
|
1253
1253
|
} | undefined;
|
|
1254
1254
|
context?: number | undefined;
|
|
1255
1255
|
capabilities?: readonly ("temperature" | "reasoning" | "attachments" | "tool_call" | "structured_output")[] | undefined;
|
|
@@ -1326,7 +1326,7 @@ export declare const claude: {
|
|
|
1326
1326
|
knowledge?: string | undefined;
|
|
1327
1327
|
modalities?: {
|
|
1328
1328
|
input?: readonly ("text" | "file" | "image" | "audio" | "video" | "pdf")[] | undefined;
|
|
1329
|
-
output?: readonly ("text" | "
|
|
1329
|
+
output?: readonly ("text" | "embedding" | "image" | "audio" | "video")[] | undefined;
|
|
1330
1330
|
} | undefined;
|
|
1331
1331
|
context?: number | undefined;
|
|
1332
1332
|
capabilities?: readonly ("temperature" | "reasoning" | "attachments" | "tool_call" | "structured_output")[] | undefined;
|
|
@@ -1403,7 +1403,7 @@ export declare const claude: {
|
|
|
1403
1403
|
knowledge?: string | undefined;
|
|
1404
1404
|
modalities?: {
|
|
1405
1405
|
input?: readonly ("text" | "file" | "image" | "audio" | "video" | "pdf")[] | undefined;
|
|
1406
|
-
output?: readonly ("text" | "
|
|
1406
|
+
output?: readonly ("text" | "embedding" | "image" | "audio" | "video")[] | undefined;
|
|
1407
1407
|
} | undefined;
|
|
1408
1408
|
context?: number | undefined;
|
|
1409
1409
|
capabilities?: readonly ("temperature" | "reasoning" | "attachments" | "tool_call" | "structured_output")[] | undefined;
|
|
@@ -1480,7 +1480,7 @@ export declare const claude: {
|
|
|
1480
1480
|
knowledge?: string | undefined;
|
|
1481
1481
|
modalities?: {
|
|
1482
1482
|
input?: readonly ("text" | "file" | "image" | "audio" | "video" | "pdf")[] | undefined;
|
|
1483
|
-
output?: readonly ("text" | "
|
|
1483
|
+
output?: readonly ("text" | "embedding" | "image" | "audio" | "video")[] | undefined;
|
|
1484
1484
|
} | undefined;
|
|
1485
1485
|
context?: number | undefined;
|
|
1486
1486
|
capabilities?: readonly ("temperature" | "reasoning" | "attachments" | "tool_call" | "structured_output")[] | undefined;
|
|
@@ -1557,7 +1557,7 @@ export declare const claude: {
|
|
|
1557
1557
|
knowledge?: string | undefined;
|
|
1558
1558
|
modalities?: {
|
|
1559
1559
|
input?: readonly ("text" | "file" | "image" | "audio" | "video" | "pdf")[] | undefined;
|
|
1560
|
-
output?: readonly ("text" | "
|
|
1560
|
+
output?: readonly ("text" | "embedding" | "image" | "audio" | "video")[] | undefined;
|
|
1561
1561
|
} | undefined;
|
|
1562
1562
|
context?: number | undefined;
|
|
1563
1563
|
capabilities?: readonly ("temperature" | "reasoning" | "attachments" | "tool_call" | "structured_output")[] | undefined;
|
|
@@ -1634,7 +1634,7 @@ export declare const claude: {
|
|
|
1634
1634
|
knowledge?: string | undefined;
|
|
1635
1635
|
modalities?: {
|
|
1636
1636
|
input?: readonly ("text" | "file" | "image" | "audio" | "video" | "pdf")[] | undefined;
|
|
1637
|
-
output?: readonly ("text" | "
|
|
1637
|
+
output?: readonly ("text" | "embedding" | "image" | "audio" | "video")[] | undefined;
|
|
1638
1638
|
} | undefined;
|
|
1639
1639
|
context?: number | undefined;
|
|
1640
1640
|
capabilities?: readonly ("temperature" | "reasoning" | "attachments" | "tool_call" | "structured_output")[] | undefined;
|
|
@@ -1711,7 +1711,7 @@ export declare const claude: {
|
|
|
1711
1711
|
knowledge?: string | undefined;
|
|
1712
1712
|
modalities?: {
|
|
1713
1713
|
input?: readonly ("text" | "file" | "image" | "audio" | "video" | "pdf")[] | undefined;
|
|
1714
|
-
output?: readonly ("text" | "
|
|
1714
|
+
output?: readonly ("text" | "embedding" | "image" | "audio" | "video")[] | undefined;
|
|
1715
1715
|
} | undefined;
|
|
1716
1716
|
context?: number | undefined;
|
|
1717
1717
|
capabilities?: readonly ("temperature" | "reasoning" | "attachments" | "tool_call" | "structured_output")[] | undefined;
|
|
@@ -1789,7 +1789,7 @@ export declare const claude: {
|
|
|
1789
1789
|
knowledge?: string | undefined;
|
|
1790
1790
|
modalities?: {
|
|
1791
1791
|
input?: readonly ("text" | "file" | "image" | "audio" | "video" | "pdf")[] | undefined;
|
|
1792
|
-
output?: readonly ("text" | "
|
|
1792
|
+
output?: readonly ("text" | "embedding" | "image" | "audio" | "video")[] | undefined;
|
|
1793
1793
|
} | undefined;
|
|
1794
1794
|
context?: number | undefined;
|
|
1795
1795
|
capabilities?: readonly ("temperature" | "reasoning" | "attachments" | "tool_call" | "structured_output")[] | undefined;
|
|
@@ -1866,7 +1866,7 @@ export declare const claude: {
|
|
|
1866
1866
|
knowledge?: string | undefined;
|
|
1867
1867
|
modalities?: {
|
|
1868
1868
|
input?: readonly ("text" | "file" | "image" | "audio" | "video" | "pdf")[] | undefined;
|
|
1869
|
-
output?: readonly ("text" | "
|
|
1869
|
+
output?: readonly ("text" | "embedding" | "image" | "audio" | "video")[] | undefined;
|
|
1870
1870
|
} | undefined;
|
|
1871
1871
|
context?: number | undefined;
|
|
1872
1872
|
capabilities?: readonly ("temperature" | "reasoning" | "attachments" | "tool_call" | "structured_output")[] | undefined;
|
|
@@ -1943,7 +1943,7 @@ export declare const claude: {
|
|
|
1943
1943
|
knowledge?: string | undefined;
|
|
1944
1944
|
modalities?: {
|
|
1945
1945
|
input?: readonly ("text" | "file" | "image" | "audio" | "video" | "pdf")[] | undefined;
|
|
1946
|
-
output?: readonly ("text" | "
|
|
1946
|
+
output?: readonly ("text" | "embedding" | "image" | "audio" | "video")[] | undefined;
|
|
1947
1947
|
} | undefined;
|
|
1948
1948
|
context?: number | undefined;
|
|
1949
1949
|
capabilities?: readonly ("temperature" | "reasoning" | "attachments" | "tool_call" | "structured_output")[] | undefined;
|
|
@@ -2020,7 +2020,7 @@ export declare const claude: {
|
|
|
2020
2020
|
knowledge?: string | undefined;
|
|
2021
2021
|
modalities?: {
|
|
2022
2022
|
input?: readonly ("text" | "file" | "image" | "audio" | "video" | "pdf")[] | undefined;
|
|
2023
|
-
output?: readonly ("text" | "
|
|
2023
|
+
output?: readonly ("text" | "embedding" | "image" | "audio" | "video")[] | undefined;
|
|
2024
2024
|
} | undefined;
|
|
2025
2025
|
context?: number | undefined;
|
|
2026
2026
|
capabilities?: readonly ("temperature" | "reasoning" | "attachments" | "tool_call" | "structured_output")[] | undefined;
|
|
@@ -2097,7 +2097,7 @@ export declare const claude: {
|
|
|
2097
2097
|
knowledge?: string | undefined;
|
|
2098
2098
|
modalities?: {
|
|
2099
2099
|
input?: readonly ("text" | "file" | "image" | "audio" | "video" | "pdf")[] | undefined;
|
|
2100
|
-
output?: readonly ("text" | "
|
|
2100
|
+
output?: readonly ("text" | "embedding" | "image" | "audio" | "video")[] | undefined;
|
|
2101
2101
|
} | undefined;
|
|
2102
2102
|
context?: number | undefined;
|
|
2103
2103
|
capabilities?: readonly ("temperature" | "reasoning" | "attachments" | "tool_call" | "structured_output")[] | undefined;
|
|
@@ -2174,7 +2174,7 @@ export declare const claude: {
|
|
|
2174
2174
|
knowledge?: string | undefined;
|
|
2175
2175
|
modalities?: {
|
|
2176
2176
|
input?: readonly ("text" | "file" | "image" | "audio" | "video" | "pdf")[] | undefined;
|
|
2177
|
-
output?: readonly ("text" | "
|
|
2177
|
+
output?: readonly ("text" | "embedding" | "image" | "audio" | "video")[] | undefined;
|
|
2178
2178
|
} | undefined;
|
|
2179
2179
|
context?: number | undefined;
|
|
2180
2180
|
capabilities?: readonly ("temperature" | "reasoning" | "attachments" | "tool_call" | "structured_output")[] | undefined;
|
|
@@ -2251,7 +2251,7 @@ export declare const claude: {
|
|
|
2251
2251
|
knowledge?: string | undefined;
|
|
2252
2252
|
modalities?: {
|
|
2253
2253
|
input?: readonly ("text" | "file" | "image" | "audio" | "video" | "pdf")[] | undefined;
|
|
2254
|
-
output?: readonly ("text" | "
|
|
2254
|
+
output?: readonly ("text" | "embedding" | "image" | "audio" | "video")[] | undefined;
|
|
2255
2255
|
} | undefined;
|
|
2256
2256
|
context?: number | undefined;
|
|
2257
2257
|
capabilities?: readonly ("temperature" | "reasoning" | "attachments" | "tool_call" | "structured_output")[] | undefined;
|
|
@@ -2329,7 +2329,7 @@ export declare const claude: {
|
|
|
2329
2329
|
knowledge?: string | undefined;
|
|
2330
2330
|
modalities?: {
|
|
2331
2331
|
input?: readonly ("text" | "file" | "image" | "audio" | "video" | "pdf")[] | undefined;
|
|
2332
|
-
output?: readonly ("text" | "
|
|
2332
|
+
output?: readonly ("text" | "embedding" | "image" | "audio" | "video")[] | undefined;
|
|
2333
2333
|
} | undefined;
|
|
2334
2334
|
context?: number | undefined;
|
|
2335
2335
|
capabilities?: readonly ("temperature" | "reasoning" | "attachments" | "tool_call" | "structured_output")[] | undefined;
|
|
@@ -2406,7 +2406,7 @@ export declare const claude: {
|
|
|
2406
2406
|
knowledge?: string | undefined;
|
|
2407
2407
|
modalities?: {
|
|
2408
2408
|
input?: readonly ("text" | "file" | "image" | "audio" | "video" | "pdf")[] | undefined;
|
|
2409
|
-
output?: readonly ("text" | "
|
|
2409
|
+
output?: readonly ("text" | "embedding" | "image" | "audio" | "video")[] | undefined;
|
|
2410
2410
|
} | undefined;
|
|
2411
2411
|
context?: number | undefined;
|
|
2412
2412
|
capabilities?: readonly ("temperature" | "reasoning" | "attachments" | "tool_call" | "structured_output")[] | undefined;
|
|
@@ -2483,7 +2483,7 @@ export declare const claude: {
|
|
|
2483
2483
|
knowledge?: string | undefined;
|
|
2484
2484
|
modalities?: {
|
|
2485
2485
|
input?: readonly ("text" | "file" | "image" | "audio" | "video" | "pdf")[] | undefined;
|
|
2486
|
-
output?: readonly ("text" | "
|
|
2486
|
+
output?: readonly ("text" | "embedding" | "image" | "audio" | "video")[] | undefined;
|
|
2487
2487
|
} | undefined;
|
|
2488
2488
|
context?: number | undefined;
|
|
2489
2489
|
capabilities?: readonly ("temperature" | "reasoning" | "attachments" | "tool_call" | "structured_output")[] | undefined;
|
|
@@ -2560,7 +2560,7 @@ export declare const claude: {
|
|
|
2560
2560
|
knowledge?: string | undefined;
|
|
2561
2561
|
modalities?: {
|
|
2562
2562
|
input?: readonly ("text" | "file" | "image" | "audio" | "video" | "pdf")[] | undefined;
|
|
2563
|
-
output?: readonly ("text" | "
|
|
2563
|
+
output?: readonly ("text" | "embedding" | "image" | "audio" | "video")[] | undefined;
|
|
2564
2564
|
} | undefined;
|
|
2565
2565
|
context?: number | undefined;
|
|
2566
2566
|
capabilities?: readonly ("temperature" | "reasoning" | "attachments" | "tool_call" | "structured_output")[] | undefined;
|
|
@@ -2638,7 +2638,7 @@ export declare const claude: {
|
|
|
2638
2638
|
knowledge?: string | undefined;
|
|
2639
2639
|
modalities?: {
|
|
2640
2640
|
input?: readonly ("text" | "file" | "image" | "audio" | "video" | "pdf")[] | undefined;
|
|
2641
|
-
output?: readonly ("text" | "
|
|
2641
|
+
output?: readonly ("text" | "embedding" | "image" | "audio" | "video")[] | undefined;
|
|
2642
2642
|
} | undefined;
|
|
2643
2643
|
context?: number | undefined;
|
|
2644
2644
|
capabilities?: readonly ("temperature" | "reasoning" | "attachments" | "tool_call" | "structured_output")[] | undefined;
|
|
@@ -2716,7 +2716,7 @@ export declare const claude: {
|
|
|
2716
2716
|
knowledge?: string | undefined;
|
|
2717
2717
|
modalities?: {
|
|
2718
2718
|
input?: readonly ("text" | "file" | "image" | "audio" | "video" | "pdf")[] | undefined;
|
|
2719
|
-
output?: readonly ("text" | "
|
|
2719
|
+
output?: readonly ("text" | "embedding" | "image" | "audio" | "video")[] | undefined;
|
|
2720
2720
|
} | undefined;
|
|
2721
2721
|
context?: number | undefined;
|
|
2722
2722
|
capabilities?: readonly ("temperature" | "reasoning" | "attachments" | "tool_call" | "structured_output")[] | undefined;
|
|
@@ -2793,7 +2793,7 @@ export declare const claude: {
|
|
|
2793
2793
|
knowledge?: string | undefined;
|
|
2794
2794
|
modalities?: {
|
|
2795
2795
|
input?: readonly ("text" | "file" | "image" | "audio" | "video" | "pdf")[] | undefined;
|
|
2796
|
-
output?: readonly ("text" | "
|
|
2796
|
+
output?: readonly ("text" | "embedding" | "image" | "audio" | "video")[] | undefined;
|
|
2797
2797
|
} | undefined;
|
|
2798
2798
|
context?: number | undefined;
|
|
2799
2799
|
capabilities?: readonly ("temperature" | "reasoning" | "attachments" | "tool_call" | "structured_output")[] | undefined;
|
|
@@ -2870,7 +2870,7 @@ export declare const claude: {
|
|
|
2870
2870
|
knowledge?: string | undefined;
|
|
2871
2871
|
modalities?: {
|
|
2872
2872
|
input?: readonly ("text" | "file" | "image" | "audio" | "video" | "pdf")[] | undefined;
|
|
2873
|
-
output?: readonly ("text" | "
|
|
2873
|
+
output?: readonly ("text" | "embedding" | "image" | "audio" | "video")[] | undefined;
|
|
2874
2874
|
} | undefined;
|
|
2875
2875
|
context?: number | undefined;
|
|
2876
2876
|
capabilities?: readonly ("temperature" | "reasoning" | "attachments" | "tool_call" | "structured_output")[] | undefined;
|
|
@@ -2948,7 +2948,7 @@ export declare const claude: {
|
|
|
2948
2948
|
knowledge?: string | undefined;
|
|
2949
2949
|
modalities?: {
|
|
2950
2950
|
input?: readonly ("text" | "file" | "image" | "audio" | "video" | "pdf")[] | undefined;
|
|
2951
|
-
output?: readonly ("text" | "
|
|
2951
|
+
output?: readonly ("text" | "embedding" | "image" | "audio" | "video")[] | undefined;
|
|
2952
2952
|
} | undefined;
|
|
2953
2953
|
context?: number | undefined;
|
|
2954
2954
|
capabilities?: readonly ("temperature" | "reasoning" | "attachments" | "tool_call" | "structured_output")[] | undefined;
|
|
@@ -3026,7 +3026,7 @@ export declare const claude: {
|
|
|
3026
3026
|
knowledge?: string | undefined;
|
|
3027
3027
|
modalities?: {
|
|
3028
3028
|
input?: readonly ("text" | "file" | "image" | "audio" | "video" | "pdf")[] | undefined;
|
|
3029
|
-
output?: readonly ("text" | "
|
|
3029
|
+
output?: readonly ("text" | "embedding" | "image" | "audio" | "video")[] | undefined;
|
|
3030
3030
|
} | undefined;
|
|
3031
3031
|
context?: number | undefined;
|
|
3032
3032
|
capabilities?: readonly ("temperature" | "reasoning" | "attachments" | "tool_call" | "structured_output")[] | undefined;
|
|
@@ -3103,7 +3103,7 @@ export declare const claude: {
|
|
|
3103
3103
|
knowledge?: string | undefined;
|
|
3104
3104
|
modalities?: {
|
|
3105
3105
|
input?: readonly ("text" | "file" | "image" | "audio" | "video" | "pdf")[] | undefined;
|
|
3106
|
-
output?: readonly ("text" | "
|
|
3106
|
+
output?: readonly ("text" | "embedding" | "image" | "audio" | "video")[] | undefined;
|
|
3107
3107
|
} | undefined;
|
|
3108
3108
|
context?: number | undefined;
|
|
3109
3109
|
capabilities?: readonly ("temperature" | "reasoning" | "attachments" | "tool_call" | "structured_output")[] | undefined;
|
|
@@ -3181,7 +3181,7 @@ export declare const claude: {
|
|
|
3181
3181
|
knowledge?: string | undefined;
|
|
3182
3182
|
modalities?: {
|
|
3183
3183
|
input?: readonly ("text" | "file" | "image" | "audio" | "video" | "pdf")[] | undefined;
|
|
3184
|
-
output?: readonly ("text" | "
|
|
3184
|
+
output?: readonly ("text" | "embedding" | "image" | "audio" | "video")[] | undefined;
|
|
3185
3185
|
} | undefined;
|
|
3186
3186
|
context?: number | undefined;
|
|
3187
3187
|
capabilities?: readonly ("temperature" | "reasoning" | "attachments" | "tool_call" | "structured_output")[] | undefined;
|
|
@@ -3259,7 +3259,7 @@ export declare const claude: {
|
|
|
3259
3259
|
knowledge?: string | undefined;
|
|
3260
3260
|
modalities?: {
|
|
3261
3261
|
input?: readonly ("text" | "file" | "image" | "audio" | "video" | "pdf")[] | undefined;
|
|
3262
|
-
output?: readonly ("text" | "
|
|
3262
|
+
output?: readonly ("text" | "embedding" | "image" | "audio" | "video")[] | undefined;
|
|
3263
3263
|
} | undefined;
|
|
3264
3264
|
context?: number | undefined;
|
|
3265
3265
|
capabilities?: readonly ("temperature" | "reasoning" | "attachments" | "tool_call" | "structured_output")[] | undefined;
|
|
@@ -3336,7 +3336,7 @@ export declare const claude: {
|
|
|
3336
3336
|
knowledge?: string | undefined;
|
|
3337
3337
|
modalities?: {
|
|
3338
3338
|
input?: readonly ("text" | "file" | "image" | "audio" | "video" | "pdf")[] | undefined;
|
|
3339
|
-
output?: readonly ("text" | "
|
|
3339
|
+
output?: readonly ("text" | "embedding" | "image" | "audio" | "video")[] | undefined;
|
|
3340
3340
|
} | undefined;
|
|
3341
3341
|
context?: number | undefined;
|
|
3342
3342
|
capabilities?: readonly ("temperature" | "reasoning" | "attachments" | "tool_call" | "structured_output")[] | undefined;
|
|
@@ -3414,7 +3414,7 @@ export declare const claude: {
|
|
|
3414
3414
|
knowledge?: string | undefined;
|
|
3415
3415
|
modalities?: {
|
|
3416
3416
|
input?: readonly ("text" | "file" | "image" | "audio" | "video" | "pdf")[] | undefined;
|
|
3417
|
-
output?: readonly ("text" | "
|
|
3417
|
+
output?: readonly ("text" | "embedding" | "image" | "audio" | "video")[] | undefined;
|
|
3418
3418
|
} | undefined;
|
|
3419
3419
|
context?: number | undefined;
|
|
3420
3420
|
capabilities?: readonly ("temperature" | "reasoning" | "attachments" | "tool_call" | "structured_output")[] | undefined;
|
|
@@ -3492,7 +3492,7 @@ export declare const claude: {
|
|
|
3492
3492
|
knowledge?: string | undefined;
|
|
3493
3493
|
modalities?: {
|
|
3494
3494
|
input?: readonly ("text" | "file" | "image" | "audio" | "video" | "pdf")[] | undefined;
|
|
3495
|
-
output?: readonly ("text" | "
|
|
3495
|
+
output?: readonly ("text" | "embedding" | "image" | "audio" | "video")[] | undefined;
|
|
3496
3496
|
} | undefined;
|
|
3497
3497
|
context?: number | undefined;
|
|
3498
3498
|
capabilities?: readonly ("temperature" | "reasoning" | "attachments" | "tool_call" | "structured_output")[] | undefined;
|
|
@@ -3569,7 +3569,7 @@ export declare const claude: {
|
|
|
3569
3569
|
knowledge?: string | undefined;
|
|
3570
3570
|
modalities?: {
|
|
3571
3571
|
input?: readonly ("text" | "file" | "image" | "audio" | "video" | "pdf")[] | undefined;
|
|
3572
|
-
output?: readonly ("text" | "
|
|
3572
|
+
output?: readonly ("text" | "embedding" | "image" | "audio" | "video")[] | undefined;
|
|
3573
3573
|
} | undefined;
|
|
3574
3574
|
context?: number | undefined;
|
|
3575
3575
|
capabilities?: readonly ("temperature" | "reasoning" | "attachments" | "tool_call" | "structured_output")[] | undefined;
|
|
@@ -3646,7 +3646,7 @@ export declare const claude: {
|
|
|
3646
3646
|
knowledge?: string | undefined;
|
|
3647
3647
|
modalities?: {
|
|
3648
3648
|
input?: readonly ("text" | "file" | "image" | "audio" | "video" | "pdf")[] | undefined;
|
|
3649
|
-
output?: readonly ("text" | "
|
|
3649
|
+
output?: readonly ("text" | "embedding" | "image" | "audio" | "video")[] | undefined;
|
|
3650
3650
|
} | undefined;
|
|
3651
3651
|
context?: number | undefined;
|
|
3652
3652
|
capabilities?: readonly ("temperature" | "reasoning" | "attachments" | "tool_call" | "structured_output")[] | undefined;
|
|
@@ -3724,7 +3724,7 @@ export declare const claude: {
|
|
|
3724
3724
|
knowledge?: string | undefined;
|
|
3725
3725
|
modalities?: {
|
|
3726
3726
|
input?: readonly ("text" | "file" | "image" | "audio" | "video" | "pdf")[] | undefined;
|
|
3727
|
-
output?: readonly ("text" | "
|
|
3727
|
+
output?: readonly ("text" | "embedding" | "image" | "audio" | "video")[] | undefined;
|
|
3728
3728
|
} | undefined;
|
|
3729
3729
|
context?: number | undefined;
|
|
3730
3730
|
capabilities?: readonly ("temperature" | "reasoning" | "attachments" | "tool_call" | "structured_output")[] | undefined;
|
|
@@ -3801,7 +3801,7 @@ export declare const claude: {
|
|
|
3801
3801
|
knowledge?: string | undefined;
|
|
3802
3802
|
modalities?: {
|
|
3803
3803
|
input?: readonly ("text" | "file" | "image" | "audio" | "video" | "pdf")[] | undefined;
|
|
3804
|
-
output?: readonly ("text" | "
|
|
3804
|
+
output?: readonly ("text" | "embedding" | "image" | "audio" | "video")[] | undefined;
|
|
3805
3805
|
} | undefined;
|
|
3806
3806
|
context?: number | undefined;
|
|
3807
3807
|
capabilities?: readonly ("temperature" | "reasoning" | "attachments" | "tool_call" | "structured_output")[] | undefined;
|
|
@@ -3878,7 +3878,7 @@ export declare const claude: {
|
|
|
3878
3878
|
knowledge?: string | undefined;
|
|
3879
3879
|
modalities?: {
|
|
3880
3880
|
input?: readonly ("text" | "file" | "image" | "audio" | "video" | "pdf")[] | undefined;
|
|
3881
|
-
output?: readonly ("text" | "
|
|
3881
|
+
output?: readonly ("text" | "embedding" | "image" | "audio" | "video")[] | undefined;
|
|
3882
3882
|
} | undefined;
|
|
3883
3883
|
context?: number | undefined;
|
|
3884
3884
|
capabilities?: readonly ("temperature" | "reasoning" | "attachments" | "tool_call" | "structured_output")[] | undefined;
|
|
@@ -3955,7 +3955,7 @@ export declare const claude: {
|
|
|
3955
3955
|
knowledge?: string | undefined;
|
|
3956
3956
|
modalities?: {
|
|
3957
3957
|
input?: readonly ("text" | "file" | "image" | "audio" | "video" | "pdf")[] | undefined;
|
|
3958
|
-
output?: readonly ("text" | "
|
|
3958
|
+
output?: readonly ("text" | "embedding" | "image" | "audio" | "video")[] | undefined;
|
|
3959
3959
|
} | undefined;
|
|
3960
3960
|
context?: number | undefined;
|
|
3961
3961
|
capabilities?: readonly ("temperature" | "reasoning" | "attachments" | "tool_call" | "structured_output")[] | undefined;
|
|
@@ -4033,7 +4033,7 @@ export declare const claude: {
|
|
|
4033
4033
|
knowledge?: string | undefined;
|
|
4034
4034
|
modalities?: {
|
|
4035
4035
|
input?: readonly ("text" | "file" | "image" | "audio" | "video" | "pdf")[] | undefined;
|
|
4036
|
-
output?: readonly ("text" | "
|
|
4036
|
+
output?: readonly ("text" | "embedding" | "image" | "audio" | "video")[] | undefined;
|
|
4037
4037
|
} | undefined;
|
|
4038
4038
|
context?: number | undefined;
|
|
4039
4039
|
capabilities?: readonly ("temperature" | "reasoning" | "attachments" | "tool_call" | "structured_output")[] | undefined;
|
|
@@ -4110,7 +4110,7 @@ export declare const claude: {
|
|
|
4110
4110
|
knowledge?: string | undefined;
|
|
4111
4111
|
modalities?: {
|
|
4112
4112
|
input?: readonly ("text" | "file" | "image" | "audio" | "video" | "pdf")[] | undefined;
|
|
4113
|
-
output?: readonly ("text" | "
|
|
4113
|
+
output?: readonly ("text" | "embedding" | "image" | "audio" | "video")[] | undefined;
|
|
4114
4114
|
} | undefined;
|
|
4115
4115
|
context?: number | undefined;
|
|
4116
4116
|
capabilities?: readonly ("temperature" | "reasoning" | "attachments" | "tool_call" | "structured_output")[] | undefined;
|
|
@@ -4187,7 +4187,7 @@ export declare const claude: {
|
|
|
4187
4187
|
knowledge?: string | undefined;
|
|
4188
4188
|
modalities?: {
|
|
4189
4189
|
input?: readonly ("text" | "file" | "image" | "audio" | "video" | "pdf")[] | undefined;
|
|
4190
|
-
output?: readonly ("text" | "
|
|
4190
|
+
output?: readonly ("text" | "embedding" | "image" | "audio" | "video")[] | undefined;
|
|
4191
4191
|
} | undefined;
|
|
4192
4192
|
context?: number | undefined;
|
|
4193
4193
|
capabilities?: readonly ("temperature" | "reasoning" | "attachments" | "tool_call" | "structured_output")[] | undefined;
|
|
@@ -4264,7 +4264,7 @@ export declare const claude: {
|
|
|
4264
4264
|
knowledge?: string | undefined;
|
|
4265
4265
|
modalities?: {
|
|
4266
4266
|
input?: readonly ("text" | "file" | "image" | "audio" | "video" | "pdf")[] | undefined;
|
|
4267
|
-
output?: readonly ("text" | "
|
|
4267
|
+
output?: readonly ("text" | "embedding" | "image" | "audio" | "video")[] | undefined;
|
|
4268
4268
|
} | undefined;
|
|
4269
4269
|
context?: number | undefined;
|
|
4270
4270
|
capabilities?: readonly ("temperature" | "reasoning" | "attachments" | "tool_call" | "structured_output")[] | undefined;
|