@node-llm/core 1.7.0 → 1.9.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/README.md +9 -8
- package/dist/aliases.d.ts +216 -0
- package/dist/aliases.d.ts.map +1 -1
- package/dist/aliases.js +241 -25
- package/dist/chat/Chat.d.ts +8 -4
- package/dist/chat/Chat.d.ts.map +1 -1
- package/dist/chat/Chat.js +33 -5
- package/dist/chat/ChatResponse.d.ts +28 -3
- package/dist/chat/ChatResponse.d.ts.map +1 -1
- package/dist/chat/ChatResponse.js +79 -6
- package/dist/chat/ChatStream.d.ts.map +1 -1
- package/dist/chat/ChatStream.js +13 -1
- package/dist/chat/Content.d.ts +7 -0
- package/dist/chat/Content.d.ts.map +1 -1
- package/dist/config.d.ts +28 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +58 -6
- package/dist/constants.d.ts +6 -0
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +6 -0
- package/dist/errors/index.d.ts +20 -2
- package/dist/errors/index.d.ts.map +1 -1
- package/dist/errors/index.js +31 -3
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/llm.d.ts.map +1 -1
- package/dist/llm.js +3 -2
- package/dist/models/ModelRegistry.d.ts.map +1 -1
- package/dist/models/ModelRegistry.js +4 -2
- package/dist/models/PricingRegistry.js +3 -3
- package/dist/models/models.json +16696 -0
- package/dist/providers/Provider.d.ts +5 -0
- package/dist/providers/Provider.d.ts.map +1 -1
- package/dist/providers/anthropic/AnthropicProvider.d.ts.map +1 -1
- package/dist/providers/anthropic/AnthropicProvider.js +2 -1
- package/dist/providers/anthropic/Capabilities.d.ts +1 -0
- package/dist/providers/anthropic/Capabilities.d.ts.map +1 -1
- package/dist/providers/anthropic/Capabilities.js +8 -5
- package/dist/providers/anthropic/Chat.d.ts.map +1 -1
- package/dist/providers/anthropic/Chat.js +2 -1
- package/dist/providers/anthropic/Errors.d.ts.map +1 -1
- package/dist/providers/anthropic/Errors.js +15 -1
- package/dist/providers/anthropic/Streaming.d.ts.map +1 -1
- package/dist/providers/anthropic/Streaming.js +19 -3
- package/dist/providers/bedrock/BedrockProvider.d.ts +53 -0
- package/dist/providers/bedrock/BedrockProvider.d.ts.map +1 -0
- package/dist/providers/bedrock/BedrockProvider.js +107 -0
- package/dist/providers/bedrock/Capabilities.d.ts +50 -0
- package/dist/providers/bedrock/Capabilities.d.ts.map +1 -0
- package/dist/providers/bedrock/Capabilities.js +233 -0
- package/dist/providers/bedrock/Chat.d.ts +26 -0
- package/dist/providers/bedrock/Chat.d.ts.map +1 -0
- package/dist/providers/bedrock/Chat.js +152 -0
- package/dist/providers/bedrock/Embeddings.d.ts +22 -0
- package/dist/providers/bedrock/Embeddings.d.ts.map +1 -0
- package/dist/providers/bedrock/Embeddings.js +100 -0
- package/dist/providers/bedrock/Errors.d.ts +2 -0
- package/dist/providers/bedrock/Errors.d.ts.map +1 -0
- package/dist/providers/bedrock/Errors.js +51 -0
- package/dist/providers/bedrock/Image.d.ts +33 -0
- package/dist/providers/bedrock/Image.d.ts.map +1 -0
- package/dist/providers/bedrock/Image.js +154 -0
- package/dist/providers/bedrock/Models.d.ts +34 -0
- package/dist/providers/bedrock/Models.d.ts.map +1 -0
- package/dist/providers/bedrock/Models.js +131 -0
- package/dist/providers/bedrock/Moderation.d.ts +23 -0
- package/dist/providers/bedrock/Moderation.d.ts.map +1 -0
- package/dist/providers/bedrock/Moderation.js +138 -0
- package/dist/providers/bedrock/Streaming.d.ts +21 -0
- package/dist/providers/bedrock/Streaming.d.ts.map +1 -0
- package/dist/providers/bedrock/Streaming.js +239 -0
- package/dist/providers/bedrock/config.d.ts +57 -0
- package/dist/providers/bedrock/config.d.ts.map +1 -0
- package/dist/providers/bedrock/config.js +33 -0
- package/dist/providers/bedrock/index.d.ts +8 -0
- package/dist/providers/bedrock/index.d.ts.map +1 -0
- package/dist/providers/bedrock/index.js +30 -0
- package/dist/providers/bedrock/mapper.d.ts +37 -0
- package/dist/providers/bedrock/mapper.d.ts.map +1 -0
- package/dist/providers/bedrock/mapper.js +204 -0
- package/dist/providers/bedrock/types.d.ts +179 -0
- package/dist/providers/bedrock/types.d.ts.map +1 -0
- package/dist/providers/bedrock/types.js +7 -0
- package/dist/providers/deepseek/Capabilities.d.ts +3 -2
- package/dist/providers/deepseek/Capabilities.d.ts.map +1 -1
- package/dist/providers/deepseek/Capabilities.js +19 -5
- package/dist/providers/deepseek/Chat.d.ts.map +1 -1
- package/dist/providers/deepseek/Chat.js +2 -2
- package/dist/providers/deepseek/DeepSeekProvider.d.ts.map +1 -1
- package/dist/providers/deepseek/DeepSeekProvider.js +2 -1
- package/dist/providers/deepseek/Errors.d.ts +2 -0
- package/dist/providers/deepseek/Errors.d.ts.map +1 -0
- package/dist/providers/deepseek/Errors.js +45 -0
- package/dist/providers/deepseek/Streaming.d.ts.map +1 -1
- package/dist/providers/deepseek/Streaming.js +13 -2
- package/dist/providers/gemini/Capabilities.d.ts +1 -0
- package/dist/providers/gemini/Capabilities.d.ts.map +1 -1
- package/dist/providers/gemini/Capabilities.js +9 -6
- package/dist/providers/gemini/Chat.d.ts.map +1 -1
- package/dist/providers/gemini/Chat.js +6 -23
- package/dist/providers/gemini/Errors.d.ts.map +1 -1
- package/dist/providers/gemini/Errors.js +13 -1
- package/dist/providers/gemini/GeminiProvider.d.ts.map +1 -1
- package/dist/providers/gemini/GeminiProvider.js +2 -1
- package/dist/providers/ollama/Capabilities.d.ts.map +1 -1
- package/dist/providers/ollama/Capabilities.js +4 -1
- package/dist/providers/ollama/OllamaProvider.d.ts.map +1 -1
- package/dist/providers/ollama/OllamaProvider.js +2 -2
- package/dist/providers/openai/Capabilities.d.ts +1 -0
- package/dist/providers/openai/Capabilities.d.ts.map +1 -1
- package/dist/providers/openai/Capabilities.js +14 -11
- package/dist/providers/openai/Errors.d.ts.map +1 -1
- package/dist/providers/openai/Errors.js +31 -5
- package/dist/providers/openai/OpenAIProvider.d.ts.map +1 -1
- package/dist/providers/openai/OpenAIProvider.js +2 -1
- package/dist/providers/openai/Streaming.d.ts.map +1 -1
- package/dist/providers/openai/Streaming.js +10 -0
- package/dist/providers/openrouter/OpenRouterProvider.d.ts.map +1 -1
- package/dist/providers/openrouter/OpenRouterProvider.js +2 -1
- package/dist/providers/registry.d.ts +5 -1
- package/dist/providers/registry.d.ts.map +1 -1
- package/dist/providers/registry.js +12 -3
- package/dist/utils/AwsSigV4.d.ts +51 -0
- package/dist/utils/AwsSigV4.d.ts.map +1 -0
- package/dist/utils/AwsSigV4.js +209 -0
- package/dist/utils/json.d.ts +6 -0
- package/dist/utils/json.d.ts.map +1 -0
- package/dist/utils/json.js +43 -0
- package/package.json +1 -1
- package/dist/models/models.d.ts +0 -327
- package/dist/models/models.d.ts.map +0 -1
- package/dist/models/models.js +0 -11138
package/README.md
CHANGED
|
@@ -29,14 +29,15 @@
|
|
|
29
29
|
|
|
30
30
|
## 📋 Supported Providers
|
|
31
31
|
|
|
32
|
-
| Provider
|
|
33
|
-
|
|
|
34
|
-
| **OpenAI**
|
|
35
|
-
| **Anthropic**
|
|
36
|
-
| **Gemini**
|
|
37
|
-
| **DeepSeek**
|
|
38
|
-
| **
|
|
39
|
-
| **
|
|
32
|
+
| Provider | Supported Features |
|
|
33
|
+
| :----------------------------------------------------------------------------------------------------------------------------------- | :----------------------------------------------------------------------------------------- |
|
|
34
|
+
| <img src="https://registry.npmmirror.com/@lobehub/icons-static-svg/latest/files/icons/openai.svg" height="18"> **OpenAI** | Chat, Streaming, Tools, Vision, Audio, Images, Transcription, **Reasoning** |
|
|
35
|
+
| <img src="https://registry.npmmirror.com/@lobehub/icons-static-svg/latest/files/icons/anthropic-text.svg" height="12"> **Anthropic** | Chat, Streaming, Tools, Vision, PDF, Structured Output, **Extended Thinking (Claude 3.7)** |
|
|
36
|
+
| <img src="https://registry.npmmirror.com/@lobehub/icons-static-svg/latest/files/icons/gemini-color.svg" height="18"> **Gemini** | Chat, Streaming, Tools, Vision, Audio, Video, Embeddings |
|
|
37
|
+
| <img src="https://registry.npmmirror.com/@lobehub/icons-static-svg/latest/files/icons/deepseek-color.svg" height="18"> **DeepSeek** | Chat (V3), **Extended Thinking (R1)**, Streaming, Tools |
|
|
38
|
+
| <img src="https://registry.npmmirror.com/@lobehub/icons-static-svg/latest/files/icons/bedrock-color.svg" height="18"> **Bedrock** | Chat, Streaming, Tools, Image Gen (Titan/SD), Embeddings, **Prompt Caching** |
|
|
39
|
+
| <img src="https://registry.npmmirror.com/@lobehub/icons-static-svg/latest/files/icons/openrouter.svg" height="18"> **OpenRouter** | 540+ models, Chat, Streaming, Tools, Vision, Embeddings, **Reasoning** |
|
|
40
|
+
| <img src="https://registry.npmmirror.com/@lobehub/icons-static-svg/latest/files/icons/ollama.svg" height="18"> **Ollama** | **Local Inference**, Chat, Streaming, Tools, Vision, Embeddings |
|
|
40
41
|
|
|
41
42
|
---
|
|
42
43
|
|
package/dist/aliases.d.ts
CHANGED
|
@@ -1,22 +1,51 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
+
readonly "claude-2": {
|
|
3
|
+
readonly bedrock: "anthropic.claude-v2";
|
|
4
|
+
};
|
|
5
|
+
readonly "claude-2.1": {
|
|
6
|
+
readonly bedrock: "anthropic.claude-v2:1";
|
|
7
|
+
};
|
|
2
8
|
readonly "claude-3-5-haiku": {
|
|
3
9
|
readonly anthropic: "claude-3-5-haiku-20241022";
|
|
4
10
|
readonly openrouter: "anthropic/claude-3.5-haiku";
|
|
11
|
+
readonly bedrock: "anthropic.claude-3-5-haiku-20241022-v1:0";
|
|
5
12
|
};
|
|
6
13
|
readonly "claude-3-5-sonnet": {
|
|
7
14
|
readonly anthropic: "claude-3-5-sonnet-20241022";
|
|
8
15
|
readonly openrouter: "anthropic/claude-3.5-sonnet";
|
|
16
|
+
readonly bedrock: "anthropic.claude-3-5-sonnet-20241022-v2:0";
|
|
9
17
|
};
|
|
10
18
|
readonly "claude-3-7-sonnet": {
|
|
11
19
|
readonly anthropic: "claude-3-7-sonnet-20250219";
|
|
12
20
|
readonly openrouter: "anthropic/claude-3.7-sonnet";
|
|
21
|
+
readonly bedrock: "anthropic.claude-3-7-sonnet-20250219-v1:0";
|
|
22
|
+
};
|
|
23
|
+
readonly "claude-4-1-opus": {
|
|
24
|
+
readonly bedrock: "anthropic.claude-opus-4-1-20250805-v1:0";
|
|
25
|
+
};
|
|
26
|
+
readonly "claude-4-5-haiku": {
|
|
27
|
+
readonly bedrock: "anthropic.claude-haiku-4-5-20251001-v1:0";
|
|
28
|
+
};
|
|
29
|
+
readonly "claude-4-5-opus": {
|
|
30
|
+
readonly bedrock: "anthropic.claude-opus-4-5-20251101-v1:0";
|
|
31
|
+
};
|
|
32
|
+
readonly "claude-4-5-sonnet": {
|
|
33
|
+
readonly bedrock: "anthropic.claude-sonnet-4-5-20250929-v1:0";
|
|
34
|
+
};
|
|
35
|
+
readonly "claude-4-opus": {
|
|
36
|
+
readonly bedrock: "anthropic.claude-opus-4-20250514-v1:0";
|
|
37
|
+
};
|
|
38
|
+
readonly "claude-4-sonnet": {
|
|
39
|
+
readonly bedrock: "anthropic.claude-sonnet-4-20250514-v1:0";
|
|
13
40
|
};
|
|
14
41
|
readonly "claude-haiku-3": {
|
|
15
42
|
readonly anthropic: "claude-3-haiku-20240307";
|
|
43
|
+
readonly bedrock: "anthropic.claude-3-haiku-20240307-v1:0";
|
|
16
44
|
};
|
|
17
45
|
readonly "claude-haiku-3.5": {
|
|
18
46
|
readonly openrouter: "anthropic/claude-3.5-haiku";
|
|
19
47
|
readonly anthropic: "claude-3-5-haiku-20241022";
|
|
48
|
+
readonly bedrock: "anthropic.claude-3-5-haiku-20241022-v1:0";
|
|
20
49
|
};
|
|
21
50
|
readonly "claude-haiku-3.5-latest": {
|
|
22
51
|
readonly anthropic: "claude-3-5-haiku-latest";
|
|
@@ -24,16 +53,22 @@ declare const _default: {
|
|
|
24
53
|
readonly "claude-haiku-4.5": {
|
|
25
54
|
readonly openrouter: "anthropic/claude-haiku-4.5";
|
|
26
55
|
readonly anthropic: "claude-haiku-4-5-20251001";
|
|
56
|
+
readonly bedrock: "anthropic.claude-haiku-4-5-20251001-v1:0";
|
|
27
57
|
};
|
|
28
58
|
readonly "claude-haiku-4.5-latest": {
|
|
29
59
|
readonly anthropic: "claude-haiku-4-5";
|
|
30
60
|
};
|
|
61
|
+
readonly "claude-instant": {
|
|
62
|
+
readonly bedrock: "anthropic.claude-instant-v1";
|
|
63
|
+
};
|
|
31
64
|
readonly "claude-opus-3": {
|
|
32
65
|
readonly anthropic: "claude-3-opus-20240229";
|
|
66
|
+
readonly bedrock: "anthropic.claude-3-opus-20240229-v1:0";
|
|
33
67
|
};
|
|
34
68
|
readonly "claude-opus-4": {
|
|
35
69
|
readonly openrouter: "anthropic/claude-opus-4";
|
|
36
70
|
readonly anthropic: "claude-opus-4-20250514";
|
|
71
|
+
readonly bedrock: "anthropic.claude-opus-4-20250514-v1:0";
|
|
37
72
|
};
|
|
38
73
|
readonly "claude-opus-4-latest": {
|
|
39
74
|
readonly anthropic: "claude-opus-4-0";
|
|
@@ -41,6 +76,7 @@ declare const _default: {
|
|
|
41
76
|
readonly "claude-opus-4.1": {
|
|
42
77
|
readonly openrouter: "anthropic/claude-opus-4.1";
|
|
43
78
|
readonly anthropic: "claude-opus-4-1-20250805";
|
|
79
|
+
readonly bedrock: "anthropic.claude-opus-4-1-20250805-v1:0";
|
|
44
80
|
};
|
|
45
81
|
readonly "claude-opus-4.1-latest": {
|
|
46
82
|
readonly anthropic: "claude-opus-4-1";
|
|
@@ -48,19 +84,26 @@ declare const _default: {
|
|
|
48
84
|
readonly "claude-opus-4.5": {
|
|
49
85
|
readonly openrouter: "anthropic/claude-opus-4.5";
|
|
50
86
|
readonly anthropic: "claude-opus-4-5-20251101";
|
|
87
|
+
readonly bedrock: "anthropic.claude-opus-4-5-20251101-v1:0";
|
|
88
|
+
};
|
|
89
|
+
readonly "claude-opus-4.5-global": {
|
|
90
|
+
readonly bedrock: "global.anthropic.claude-opus-4-5-20251101-v1:0";
|
|
51
91
|
};
|
|
52
92
|
readonly "claude-opus-4.5-latest": {
|
|
53
93
|
readonly anthropic: "claude-opus-4-5";
|
|
54
94
|
};
|
|
55
95
|
readonly "claude-sonnet-3": {
|
|
56
96
|
readonly anthropic: "claude-3-sonnet-20240229";
|
|
97
|
+
readonly bedrock: "anthropic.claude-3-sonnet-20240229-v1:0";
|
|
57
98
|
};
|
|
58
99
|
readonly "claude-sonnet-3.5": {
|
|
59
100
|
readonly anthropic: "claude-3-5-sonnet-20240620";
|
|
101
|
+
readonly bedrock: "anthropic.claude-3-5-sonnet-20241022-v2:0";
|
|
60
102
|
};
|
|
61
103
|
readonly "claude-sonnet-3.7": {
|
|
62
104
|
readonly openrouter: "anthropic/claude-3.7-sonnet";
|
|
63
105
|
readonly anthropic: "claude-3-7-sonnet-20250219";
|
|
106
|
+
readonly bedrock: "anthropic.claude-3-7-sonnet-20250219-v1:0";
|
|
64
107
|
};
|
|
65
108
|
readonly "claude-sonnet-3.7-latest": {
|
|
66
109
|
readonly anthropic: "claude-3-7-sonnet-latest";
|
|
@@ -68,6 +111,7 @@ declare const _default: {
|
|
|
68
111
|
readonly "claude-sonnet-4": {
|
|
69
112
|
readonly openrouter: "anthropic/claude-sonnet-4";
|
|
70
113
|
readonly anthropic: "claude-sonnet-4-20250514";
|
|
114
|
+
readonly bedrock: "anthropic.claude-sonnet-4-20250514-v1:0";
|
|
71
115
|
};
|
|
72
116
|
readonly "claude-sonnet-4-latest": {
|
|
73
117
|
readonly anthropic: "claude-sonnet-4-0";
|
|
@@ -75,6 +119,7 @@ declare const _default: {
|
|
|
75
119
|
readonly "claude-sonnet-4.5": {
|
|
76
120
|
readonly openrouter: "anthropic/claude-sonnet-4.5";
|
|
77
121
|
readonly anthropic: "claude-sonnet-4-5-20250929";
|
|
122
|
+
readonly bedrock: "anthropic.claude-sonnet-4-5-20250929-v1:0";
|
|
78
123
|
};
|
|
79
124
|
readonly "claude-sonnet-4.5-latest": {
|
|
80
125
|
readonly anthropic: "claude-sonnet-4-5";
|
|
@@ -85,12 +130,25 @@ declare const _default: {
|
|
|
85
130
|
readonly "codex-mini": {
|
|
86
131
|
readonly openai: "codex-mini-latest";
|
|
87
132
|
};
|
|
133
|
+
readonly command: {
|
|
134
|
+
readonly bedrock: "cohere.command-text-v14";
|
|
135
|
+
};
|
|
136
|
+
readonly "command-light": {
|
|
137
|
+
readonly bedrock: "cohere.command-light-text-v14";
|
|
138
|
+
};
|
|
139
|
+
readonly "command-r": {
|
|
140
|
+
readonly bedrock: "cohere.command-r-v1:0";
|
|
141
|
+
};
|
|
88
142
|
readonly "deephermes-3-llama-3-8b-preview": {
|
|
89
143
|
readonly openrouter: "nousresearch/deephermes-3-llama-3-8b-preview";
|
|
90
144
|
};
|
|
91
145
|
readonly "deepseek-chat": {
|
|
92
146
|
readonly deepseek: "deepseek-chat";
|
|
93
147
|
readonly openrouter: "deepseek/deepseek-chat";
|
|
148
|
+
readonly bedrock: "deepseek.v3-v1:0";
|
|
149
|
+
};
|
|
150
|
+
readonly "deepseek-r1": {
|
|
151
|
+
readonly bedrock: "deepseek.r1-v1:0";
|
|
94
152
|
};
|
|
95
153
|
readonly "deepseek-r1-0528-qwen3-8b-free": {
|
|
96
154
|
readonly openrouter: "deepseek/deepseek-r1-0528-qwen3-8b:free";
|
|
@@ -107,6 +165,7 @@ declare const _default: {
|
|
|
107
165
|
readonly "deepseek-reasoner": {
|
|
108
166
|
readonly deepseek: "deepseek-reasoner";
|
|
109
167
|
readonly openrouter: "deepseek/deepseek-reasoner";
|
|
168
|
+
readonly bedrock: "deepseek.r1-v1:0";
|
|
110
169
|
};
|
|
111
170
|
readonly "deepseek-v3-0324": {
|
|
112
171
|
readonly openrouter: "deepseek/deepseek-chat-v3-0324";
|
|
@@ -116,6 +175,7 @@ declare const _default: {
|
|
|
116
175
|
};
|
|
117
176
|
readonly "deepseek-v3.1": {
|
|
118
177
|
readonly openrouter: "deepseek/deepseek-chat-v3.1";
|
|
178
|
+
readonly bedrock: "deepseek.v3-v1:0";
|
|
119
179
|
};
|
|
120
180
|
readonly "deepseek-v3.1-terminus": {
|
|
121
181
|
readonly openrouter: "deepseek/deepseek-v3.1-terminus";
|
|
@@ -254,6 +314,9 @@ declare const _default: {
|
|
|
254
314
|
readonly "gemma-3-27b-it": {
|
|
255
315
|
readonly openrouter: "google/gemma-3-27b-it";
|
|
256
316
|
};
|
|
317
|
+
readonly "gemma-3-4b-it": {
|
|
318
|
+
readonly bedrock: "google.gemma-3-4b-it";
|
|
319
|
+
};
|
|
257
320
|
readonly "gemma-3n-4b-free": {
|
|
258
321
|
readonly openrouter: "google/gemma-3n-e4b-it:free";
|
|
259
322
|
};
|
|
@@ -285,6 +348,12 @@ declare const _default: {
|
|
|
285
348
|
readonly "glm-z1-32b-free": {
|
|
286
349
|
readonly openrouter: "thudm/glm-z1-32b:free";
|
|
287
350
|
};
|
|
351
|
+
readonly "google-gemma-3-12b": {
|
|
352
|
+
readonly bedrock: "google.gemma-3-12b-it";
|
|
353
|
+
};
|
|
354
|
+
readonly "google-gemma-3-27b-instruct": {
|
|
355
|
+
readonly bedrock: "google.gemma-3-27b-it";
|
|
356
|
+
};
|
|
288
357
|
readonly "gpt-3.5-turbo": {
|
|
289
358
|
readonly openai: "gpt-3.5-turbo";
|
|
290
359
|
};
|
|
@@ -388,6 +457,7 @@ declare const _default: {
|
|
|
388
457
|
readonly "gpt-oss-120b": {
|
|
389
458
|
readonly gemini: "openai/gpt-oss-120b-maas";
|
|
390
459
|
readonly openrouter: "openai/gpt-oss-120b";
|
|
460
|
+
readonly bedrock: "openai.gpt-oss-120b-1:0";
|
|
391
461
|
};
|
|
392
462
|
readonly "gpt-oss-120b-exacto": {
|
|
393
463
|
readonly openrouter: "openai/gpt-oss-120b:exacto";
|
|
@@ -395,9 +465,14 @@ declare const _default: {
|
|
|
395
465
|
readonly "gpt-oss-20b": {
|
|
396
466
|
readonly gemini: "openai/gpt-oss-20b-maas";
|
|
397
467
|
readonly openrouter: "openai/gpt-oss-20b";
|
|
468
|
+
readonly bedrock: "openai.gpt-oss-20b-1:0";
|
|
469
|
+
};
|
|
470
|
+
readonly "gpt-oss-safeguard-120b": {
|
|
471
|
+
readonly bedrock: "openai.gpt-oss-safeguard-120b";
|
|
398
472
|
};
|
|
399
473
|
readonly "gpt-oss-safeguard-20b": {
|
|
400
474
|
readonly openrouter: "openai/gpt-oss-safeguard-20b";
|
|
475
|
+
readonly bedrock: "openai.gpt-oss-safeguard-20b";
|
|
401
476
|
};
|
|
402
477
|
readonly "grok-3": {
|
|
403
478
|
readonly openrouter: "x-ai/grok-3";
|
|
@@ -429,6 +504,12 @@ declare const _default: {
|
|
|
429
504
|
readonly "hermes-4-70b": {
|
|
430
505
|
readonly openrouter: "nousresearch/hermes-4-70b";
|
|
431
506
|
};
|
|
507
|
+
readonly "jamba-1.5-large": {
|
|
508
|
+
readonly bedrock: "ai21.jamba-1-5-large-v1:0";
|
|
509
|
+
};
|
|
510
|
+
readonly "jamba-1.5-mini": {
|
|
511
|
+
readonly bedrock: "ai21.jamba-1-5-mini-v1:0";
|
|
512
|
+
};
|
|
432
513
|
readonly "kat-coder-pro-free": {
|
|
433
514
|
readonly openrouter: "kwaipilot/kat-coder-pro:free";
|
|
434
515
|
};
|
|
@@ -449,13 +530,84 @@ declare const _default: {
|
|
|
449
530
|
};
|
|
450
531
|
readonly "kimi-k2-thinking": {
|
|
451
532
|
readonly openrouter: "moonshotai/kimi-k2-thinking";
|
|
533
|
+
readonly bedrock: "moonshot.kimi-k2-thinking";
|
|
534
|
+
};
|
|
535
|
+
readonly "kimi-k2.5": {
|
|
536
|
+
readonly openrouter: "moonshotai/kimi-k2.5";
|
|
537
|
+
};
|
|
538
|
+
readonly "llama-3-1-70b": {
|
|
539
|
+
readonly bedrock: "meta.llama3-1-70b-instruct-v1:0";
|
|
540
|
+
readonly openrouter: "meta-llama/llama-3.1-70b-instruct";
|
|
541
|
+
};
|
|
542
|
+
readonly "llama-3-1-7b": {
|
|
543
|
+
readonly bedrock: "meta.llama3-1-8b-instruct-v1:0";
|
|
544
|
+
readonly openrouter: "meta-llama/llama-3.1-8b-instruct";
|
|
545
|
+
};
|
|
546
|
+
readonly "llama-3-2-11b": {
|
|
547
|
+
readonly bedrock: "meta.llama3-2-11b-instruct-v1:0";
|
|
548
|
+
readonly openrouter: "meta-llama/llama-3.2-11b-instruct";
|
|
549
|
+
};
|
|
550
|
+
readonly "llama-3-2-1b": {
|
|
551
|
+
readonly bedrock: "meta.llama3-2-1b-instruct-v1:0";
|
|
552
|
+
readonly openrouter: "meta-llama/llama-3.2-1b-instruct";
|
|
553
|
+
};
|
|
554
|
+
readonly "llama-3-2-3b": {
|
|
555
|
+
readonly bedrock: "meta.llama3-2-3b-instruct-v1:0";
|
|
556
|
+
readonly openrouter: "meta-llama/llama-3.2-3b-instruct";
|
|
557
|
+
};
|
|
558
|
+
readonly "llama-3-2-90b": {
|
|
559
|
+
readonly bedrock: "meta.llama3-2-90b-instruct-v1:0";
|
|
560
|
+
readonly openrouter: "meta-llama/llama-3.2-90b-instruct";
|
|
561
|
+
};
|
|
562
|
+
readonly "llama-3-3-70b": {
|
|
563
|
+
readonly bedrock: "meta.llama3-3-70b-instruct-v1:0";
|
|
564
|
+
readonly openrouter: "meta-llama/llama-3.3-70b-instruct";
|
|
565
|
+
};
|
|
566
|
+
readonly "llama-3-70b-instruct": {
|
|
567
|
+
readonly bedrock: "meta.llama3-70b-instruct-v1:0";
|
|
568
|
+
};
|
|
569
|
+
readonly "llama-3-8b-instruct": {
|
|
570
|
+
readonly bedrock: "meta.llama3-8b-instruct-v1:0";
|
|
571
|
+
};
|
|
572
|
+
readonly "llama-3.1-70b-instruct": {
|
|
573
|
+
readonly bedrock: "meta.llama3-1-70b-instruct-v1:0";
|
|
574
|
+
};
|
|
575
|
+
readonly "llama-3.1-8b-instruct": {
|
|
576
|
+
readonly bedrock: "meta.llama3-1-8b-instruct-v1:0";
|
|
577
|
+
};
|
|
578
|
+
readonly "llama-3.2-11b-instruct": {
|
|
579
|
+
readonly bedrock: "meta.llama3-2-11b-instruct-v1:0";
|
|
452
580
|
};
|
|
453
581
|
readonly "llama-3.2-11b-vision-instruct": {
|
|
454
582
|
readonly openrouter: "meta-llama/llama-3.2-11b-vision-instruct";
|
|
455
583
|
};
|
|
584
|
+
readonly "llama-3.2-1b-instruct": {
|
|
585
|
+
readonly bedrock: "meta.llama3-2-1b-instruct-v1:0";
|
|
586
|
+
};
|
|
587
|
+
readonly "llama-3.2-3b-instruct": {
|
|
588
|
+
readonly bedrock: "meta.llama3-2-3b-instruct-v1:0";
|
|
589
|
+
};
|
|
590
|
+
readonly "llama-3.2-90b-instruct": {
|
|
591
|
+
readonly bedrock: "meta.llama3-2-90b-instruct-v1:0";
|
|
592
|
+
};
|
|
593
|
+
readonly "llama-3.3-70b-instruct": {
|
|
594
|
+
readonly bedrock: "meta.llama3-3-70b-instruct-v1:0";
|
|
595
|
+
};
|
|
456
596
|
readonly "llama-3.3-70b-instruct-free": {
|
|
457
597
|
readonly openrouter: "meta-llama/llama-3.3-70b-instruct:free";
|
|
458
598
|
};
|
|
599
|
+
readonly "llama-4-maverick": {
|
|
600
|
+
readonly bedrock: "meta.llama4-maverick-17b-instruct-v1:0";
|
|
601
|
+
};
|
|
602
|
+
readonly "llama-4-maverick-17b-instruct": {
|
|
603
|
+
readonly bedrock: "meta.llama4-maverick-17b-instruct-v1:0";
|
|
604
|
+
};
|
|
605
|
+
readonly "llama-4-scout": {
|
|
606
|
+
readonly bedrock: "meta.llama4-scout-17b-instruct-v1:0";
|
|
607
|
+
};
|
|
608
|
+
readonly "llama-4-scout-17b-instruct": {
|
|
609
|
+
readonly bedrock: "meta.llama4-scout-17b-instruct-v1:0";
|
|
610
|
+
};
|
|
459
611
|
readonly "llama-4-scout-free": {
|
|
460
612
|
readonly openrouter: "meta-llama/llama-4-scout:free";
|
|
461
613
|
};
|
|
@@ -470,13 +622,30 @@ declare const _default: {
|
|
|
470
622
|
};
|
|
471
623
|
readonly "minimax-m2": {
|
|
472
624
|
readonly openrouter: "minimax/minimax-m2";
|
|
625
|
+
readonly bedrock: "minimax.minimax-m2";
|
|
473
626
|
};
|
|
474
627
|
readonly "minimax-m2.1": {
|
|
475
628
|
readonly openrouter: "minimax/minimax-m2.1";
|
|
476
629
|
};
|
|
630
|
+
readonly "ministral-14b-3.0": {
|
|
631
|
+
readonly bedrock: "mistral.ministral-3-14b-instruct";
|
|
632
|
+
};
|
|
633
|
+
readonly "ministral-3-8b": {
|
|
634
|
+
readonly bedrock: "mistral.ministral-3-8b-instruct";
|
|
635
|
+
};
|
|
477
636
|
readonly "mistral-7b-instruct-free": {
|
|
478
637
|
readonly openrouter: "mistralai/mistral-7b-instruct:free";
|
|
479
638
|
};
|
|
639
|
+
readonly "mistral-7b-instruct-v0.3": {
|
|
640
|
+
readonly bedrock: "mistral.mistral-7b-instruct-v0:2";
|
|
641
|
+
};
|
|
642
|
+
readonly "mistral-large": {
|
|
643
|
+
readonly bedrock: "mistral.mistral-large-2402-v1:0";
|
|
644
|
+
readonly openrouter: "mistralai/mistral-large";
|
|
645
|
+
};
|
|
646
|
+
readonly "mistral-large-24.02": {
|
|
647
|
+
readonly bedrock: "mistral.mistral-large-2402-v1:0";
|
|
648
|
+
};
|
|
480
649
|
readonly "mistral-medium-3": {
|
|
481
650
|
readonly openrouter: "mistralai/mistral-medium-3";
|
|
482
651
|
};
|
|
@@ -495,8 +664,30 @@ declare const _default: {
|
|
|
495
664
|
readonly "mistral-small-3.2-24b-instruct": {
|
|
496
665
|
readonly openrouter: "mistralai/mistral-small-3.2-24b-instruct";
|
|
497
666
|
};
|
|
667
|
+
readonly "mixtral-8x7b-instruct-v0.1": {
|
|
668
|
+
readonly bedrock: "mistral.mixtral-8x7b-instruct-v0:1";
|
|
669
|
+
};
|
|
670
|
+
readonly "nova-2-lite": {
|
|
671
|
+
readonly bedrock: "amazon.nova-2-lite-v1:0";
|
|
672
|
+
};
|
|
673
|
+
readonly "nova-lite": {
|
|
674
|
+
readonly bedrock: "amazon.nova-lite-v1:0";
|
|
675
|
+
};
|
|
676
|
+
readonly "nova-micro": {
|
|
677
|
+
readonly bedrock: "amazon.nova-micro-v1:0";
|
|
678
|
+
};
|
|
679
|
+
readonly "nova-premier": {
|
|
680
|
+
readonly bedrock: "amazon.nova-premier-v1:0";
|
|
681
|
+
};
|
|
682
|
+
readonly "nova-pro": {
|
|
683
|
+
readonly bedrock: "amazon.nova-pro-v1:0";
|
|
684
|
+
};
|
|
685
|
+
readonly "nvidia-nemotron-nano-12b-v2-vl-bf16": {
|
|
686
|
+
readonly bedrock: "nvidia.nemotron-nano-12b-v2";
|
|
687
|
+
};
|
|
498
688
|
readonly "nvidia-nemotron-nano-9b": {
|
|
499
689
|
readonly openrouter: "nvidia/nemotron-nano-9b-v2";
|
|
690
|
+
readonly bedrock: "nvidia.nemotron-nano-9b-v2";
|
|
500
691
|
};
|
|
501
692
|
readonly o1: {
|
|
502
693
|
readonly openai: "o1";
|
|
@@ -543,6 +734,9 @@ declare const _default: {
|
|
|
543
734
|
readonly "qwen3-14b-free": {
|
|
544
735
|
readonly openrouter: "qwen/qwen3-14b:free";
|
|
545
736
|
};
|
|
737
|
+
readonly "qwen3-235b-a22b-2507": {
|
|
738
|
+
readonly bedrock: "qwen.qwen3-235b-a22b-2507-v1:0";
|
|
739
|
+
};
|
|
546
740
|
readonly "qwen3-235b-a22b-free": {
|
|
547
741
|
readonly openrouter: "qwen/qwen3-235b-a22b:free";
|
|
548
742
|
};
|
|
@@ -564,6 +758,9 @@ declare const _default: {
|
|
|
564
758
|
readonly "qwen3-30b-a3b-thinking-2507": {
|
|
565
759
|
readonly openrouter: "qwen/qwen3-30b-a3b-thinking-2507";
|
|
566
760
|
};
|
|
761
|
+
readonly "qwen3-32b-dense": {
|
|
762
|
+
readonly bedrock: "qwen.qwen3-32b-v1:0";
|
|
763
|
+
};
|
|
567
764
|
readonly "qwen3-32b-free": {
|
|
568
765
|
readonly openrouter: "qwen/qwen3-32b:free";
|
|
569
766
|
};
|
|
@@ -575,6 +772,10 @@ declare const _default: {
|
|
|
575
772
|
};
|
|
576
773
|
readonly "qwen3-coder-30b-a3b-instruct": {
|
|
577
774
|
readonly openrouter: "qwen/qwen3-coder-30b-a3b-instruct";
|
|
775
|
+
readonly bedrock: "qwen.qwen3-coder-30b-a3b-v1:0";
|
|
776
|
+
};
|
|
777
|
+
readonly "qwen3-coder-480b-a35b-instruct": {
|
|
778
|
+
readonly bedrock: "qwen.qwen3-coder-480b-a35b-v1:0";
|
|
578
779
|
};
|
|
579
780
|
readonly "qwen3-coder-480b-a35b-instruct-free": {
|
|
580
781
|
readonly openrouter: "qwen/qwen3-coder:free";
|
|
@@ -594,6 +795,12 @@ declare const _default: {
|
|
|
594
795
|
readonly "qwen3-next-80b-a3b-thinking": {
|
|
595
796
|
readonly openrouter: "qwen/qwen3-next-80b-a3b-thinking";
|
|
596
797
|
};
|
|
798
|
+
readonly "qwenqwen3-next-80b-a3b-instruct": {
|
|
799
|
+
readonly bedrock: "qwen.qwen3-next-80b-a3b";
|
|
800
|
+
};
|
|
801
|
+
readonly "qwenqwen3-vl-235b-a22b-instruct": {
|
|
802
|
+
readonly bedrock: "qwen.qwen3-vl-235b-a22b";
|
|
803
|
+
};
|
|
597
804
|
readonly "qwerky-72b": {
|
|
598
805
|
readonly openrouter: "featherless/qwerky-72b";
|
|
599
806
|
};
|
|
@@ -627,6 +834,15 @@ declare const _default: {
|
|
|
627
834
|
readonly "text-embedding-ada-002": {
|
|
628
835
|
readonly openai: "text-embedding-ada-002";
|
|
629
836
|
};
|
|
837
|
+
readonly "titan-text-g1---express": {
|
|
838
|
+
readonly bedrock: "amazon.titan-text-express-v1";
|
|
839
|
+
};
|
|
840
|
+
readonly "voxtral-mini-3b-2507": {
|
|
841
|
+
readonly bedrock: "mistral.voxtral-mini-3b-2507";
|
|
842
|
+
};
|
|
843
|
+
readonly "voxtral-small-24b-2507": {
|
|
844
|
+
readonly bedrock: "mistral.voxtral-small-24b-2507";
|
|
845
|
+
};
|
|
630
846
|
};
|
|
631
847
|
export default _default;
|
|
632
848
|
//# sourceMappingURL=aliases.d.ts.map
|
package/dist/aliases.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aliases.d.ts","sourceRoot":"","sources":["../src/aliases.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"aliases.d.ts","sourceRoot":"","sources":["../src/aliases.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBA60BW"}
|