@langchain/xai 1.3.3 → 1.3.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/CHANGELOG.md +9 -0
- package/dist/chat_models/completions.cjs +9 -11
- package/dist/chat_models/completions.cjs.map +1 -1
- package/dist/chat_models/completions.d.cts.map +1 -1
- package/dist/chat_models/completions.d.ts.map +1 -1
- package/dist/chat_models/completions.js +4 -5
- package/dist/chat_models/completions.js.map +1 -1
- package/dist/chat_models/index.js +2 -0
- package/dist/chat_models/responses-types.d.cts +5 -12
- package/dist/chat_models/responses-types.d.cts.map +1 -1
- package/dist/chat_models/responses-types.d.ts +5 -12
- package/dist/chat_models/responses-types.d.ts.map +1 -1
- package/dist/chat_models/responses.cjs +9 -14
- package/dist/chat_models/responses.cjs.map +1 -1
- package/dist/chat_models/responses.d.cts +0 -1
- package/dist/chat_models/responses.d.cts.map +1 -1
- package/dist/chat_models/responses.d.ts +0 -1
- package/dist/chat_models/responses.d.ts.map +1 -1
- package/dist/chat_models/responses.js +5 -9
- package/dist/chat_models/responses.js.map +1 -1
- package/dist/converters/responses.cjs +15 -20
- package/dist/converters/responses.cjs.map +1 -1
- package/dist/converters/responses.js +6 -10
- package/dist/converters/responses.js.map +1 -1
- package/dist/index.cjs +1 -0
- package/dist/live_search.cjs +3 -3
- package/dist/live_search.cjs.map +1 -1
- package/dist/live_search.d.cts.map +1 -1
- package/dist/live_search.d.ts.map +1 -1
- package/dist/live_search.js +3 -3
- package/dist/live_search.js.map +1 -1
- package/dist/profiles.cjs +86 -59
- package/dist/profiles.cjs.map +1 -1
- package/dist/profiles.js +86 -59
- package/dist/profiles.js.map +1 -1
- package/dist/tools/code_execution.cjs.map +1 -1
- package/dist/tools/code_execution.d.cts.map +1 -1
- package/dist/tools/code_execution.d.ts.map +1 -1
- package/dist/tools/code_execution.js.map +1 -1
- package/dist/tools/collections_search.cjs.map +1 -1
- package/dist/tools/collections_search.d.cts.map +1 -1
- package/dist/tools/collections_search.d.ts.map +1 -1
- package/dist/tools/collections_search.js.map +1 -1
- package/dist/tools/index.cjs.map +1 -1
- package/dist/tools/index.d.cts +1 -2
- package/dist/tools/index.d.cts.map +1 -1
- package/dist/tools/index.d.ts +1 -2
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/index.js.map +1 -1
- package/dist/tools/live_search.cjs +1 -4
- package/dist/tools/live_search.cjs.map +1 -1
- package/dist/tools/live_search.d.cts +0 -1
- package/dist/tools/live_search.d.cts.map +1 -1
- package/dist/tools/live_search.d.ts +0 -1
- package/dist/tools/live_search.d.ts.map +1 -1
- package/dist/tools/live_search.js +1 -4
- package/dist/tools/live_search.js.map +1 -1
- package/dist/tools/web_search.cjs.map +1 -1
- package/dist/tools/web_search.d.cts.map +1 -1
- package/dist/tools/web_search.d.ts.map +1 -1
- package/dist/tools/web_search.js.map +1 -1
- package/dist/tools/x_search.cjs.map +1 -1
- package/dist/tools/x_search.d.cts.map +1 -1
- package/dist/tools/x_search.d.ts.map +1 -1
- package/dist/tools/x_search.js.map +1 -1
- package/package.json +6 -6
- package/dist/_virtual/rolldown_runtime.cjs +0 -25
package/dist/profiles.cjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
|
|
2
2
|
//#region src/profiles.ts
|
|
3
3
|
const PROFILES = {
|
|
4
|
-
"grok-
|
|
5
|
-
maxInputTokens:
|
|
6
|
-
imageInputs:
|
|
4
|
+
"grok-2-1212": {
|
|
5
|
+
maxInputTokens: 131072,
|
|
6
|
+
imageInputs: false,
|
|
7
7
|
audioInputs: false,
|
|
8
8
|
pdfInputs: false,
|
|
9
9
|
videoInputs: false,
|
|
10
|
-
maxOutputTokens:
|
|
10
|
+
maxOutputTokens: 8192,
|
|
11
11
|
reasoningOutput: false,
|
|
12
12
|
imageOutputs: false,
|
|
13
13
|
audioOutputs: false,
|
|
@@ -15,7 +15,7 @@ const PROFILES = {
|
|
|
15
15
|
toolCalling: true,
|
|
16
16
|
structuredOutput: false
|
|
17
17
|
},
|
|
18
|
-
"grok-
|
|
18
|
+
"grok-2": {
|
|
19
19
|
maxInputTokens: 131072,
|
|
20
20
|
imageInputs: false,
|
|
21
21
|
audioInputs: false,
|
|
@@ -29,14 +29,14 @@ const PROFILES = {
|
|
|
29
29
|
toolCalling: true,
|
|
30
30
|
structuredOutput: false
|
|
31
31
|
},
|
|
32
|
-
"grok-
|
|
33
|
-
maxInputTokens:
|
|
32
|
+
"grok-3-fast-latest": {
|
|
33
|
+
maxInputTokens: 131072,
|
|
34
34
|
imageInputs: false,
|
|
35
35
|
audioInputs: false,
|
|
36
36
|
pdfInputs: false,
|
|
37
37
|
videoInputs: false,
|
|
38
|
-
maxOutputTokens:
|
|
39
|
-
reasoningOutput:
|
|
38
|
+
maxOutputTokens: 8192,
|
|
39
|
+
reasoningOutput: false,
|
|
40
40
|
imageOutputs: false,
|
|
41
41
|
audioOutputs: false,
|
|
42
42
|
videoOutputs: false,
|
|
@@ -57,6 +57,20 @@ const PROFILES = {
|
|
|
57
57
|
toolCalling: true,
|
|
58
58
|
structuredOutput: false
|
|
59
59
|
},
|
|
60
|
+
"grok-3": {
|
|
61
|
+
maxInputTokens: 131072,
|
|
62
|
+
imageInputs: false,
|
|
63
|
+
audioInputs: false,
|
|
64
|
+
pdfInputs: false,
|
|
65
|
+
videoInputs: false,
|
|
66
|
+
maxOutputTokens: 8192,
|
|
67
|
+
reasoningOutput: false,
|
|
68
|
+
imageOutputs: false,
|
|
69
|
+
audioOutputs: false,
|
|
70
|
+
videoOutputs: false,
|
|
71
|
+
toolCalling: true,
|
|
72
|
+
structuredOutput: false
|
|
73
|
+
},
|
|
60
74
|
"grok-code-fast-1": {
|
|
61
75
|
maxInputTokens: 256e3,
|
|
62
76
|
imageInputs: false,
|
|
@@ -71,13 +85,13 @@ const PROFILES = {
|
|
|
71
85
|
toolCalling: true,
|
|
72
86
|
structuredOutput: false
|
|
73
87
|
},
|
|
74
|
-
"grok-2": {
|
|
75
|
-
maxInputTokens:
|
|
76
|
-
imageInputs:
|
|
88
|
+
"grok-2-vision-1212": {
|
|
89
|
+
maxInputTokens: 8192,
|
|
90
|
+
imageInputs: true,
|
|
77
91
|
audioInputs: false,
|
|
78
92
|
pdfInputs: false,
|
|
79
93
|
videoInputs: false,
|
|
80
|
-
maxOutputTokens:
|
|
94
|
+
maxOutputTokens: 4096,
|
|
81
95
|
reasoningOutput: false,
|
|
82
96
|
imageOutputs: false,
|
|
83
97
|
audioOutputs: false,
|
|
@@ -85,23 +99,23 @@ const PROFILES = {
|
|
|
85
99
|
toolCalling: true,
|
|
86
100
|
structuredOutput: false
|
|
87
101
|
},
|
|
88
|
-
"grok-
|
|
89
|
-
maxInputTokens:
|
|
90
|
-
imageInputs:
|
|
102
|
+
"grok-4-1-fast-non-reasoning": {
|
|
103
|
+
maxInputTokens: 2e6,
|
|
104
|
+
imageInputs: true,
|
|
91
105
|
audioInputs: false,
|
|
92
106
|
pdfInputs: false,
|
|
93
107
|
videoInputs: false,
|
|
94
|
-
maxOutputTokens:
|
|
95
|
-
reasoningOutput:
|
|
108
|
+
maxOutputTokens: 3e4,
|
|
109
|
+
reasoningOutput: false,
|
|
96
110
|
imageOutputs: false,
|
|
97
111
|
audioOutputs: false,
|
|
98
112
|
videoOutputs: false,
|
|
99
113
|
toolCalling: true,
|
|
100
114
|
structuredOutput: false
|
|
101
115
|
},
|
|
102
|
-
"grok-
|
|
103
|
-
maxInputTokens:
|
|
104
|
-
imageInputs:
|
|
116
|
+
"grok-beta": {
|
|
117
|
+
maxInputTokens: 131072,
|
|
118
|
+
imageInputs: false,
|
|
105
119
|
audioInputs: false,
|
|
106
120
|
pdfInputs: false,
|
|
107
121
|
videoInputs: false,
|
|
@@ -113,14 +127,14 @@ const PROFILES = {
|
|
|
113
127
|
toolCalling: true,
|
|
114
128
|
structuredOutput: false
|
|
115
129
|
},
|
|
116
|
-
"grok-3": {
|
|
130
|
+
"grok-3-mini-fast": {
|
|
117
131
|
maxInputTokens: 131072,
|
|
118
132
|
imageInputs: false,
|
|
119
133
|
audioInputs: false,
|
|
120
134
|
pdfInputs: false,
|
|
121
135
|
videoInputs: false,
|
|
122
136
|
maxOutputTokens: 8192,
|
|
123
|
-
reasoningOutput:
|
|
137
|
+
reasoningOutput: true,
|
|
124
138
|
imageOutputs: false,
|
|
125
139
|
audioOutputs: false,
|
|
126
140
|
videoOutputs: false,
|
|
@@ -141,21 +155,21 @@ const PROFILES = {
|
|
|
141
155
|
toolCalling: true,
|
|
142
156
|
structuredOutput: false
|
|
143
157
|
},
|
|
144
|
-
"grok-
|
|
145
|
-
maxInputTokens:
|
|
158
|
+
"grok-4": {
|
|
159
|
+
maxInputTokens: 256e3,
|
|
146
160
|
imageInputs: false,
|
|
147
161
|
audioInputs: false,
|
|
148
162
|
pdfInputs: false,
|
|
149
163
|
videoInputs: false,
|
|
150
|
-
maxOutputTokens:
|
|
151
|
-
reasoningOutput:
|
|
164
|
+
maxOutputTokens: 64e3,
|
|
165
|
+
reasoningOutput: true,
|
|
152
166
|
imageOutputs: false,
|
|
153
167
|
audioOutputs: false,
|
|
154
168
|
videoOutputs: false,
|
|
155
169
|
toolCalling: true,
|
|
156
170
|
structuredOutput: false
|
|
157
171
|
},
|
|
158
|
-
"grok-
|
|
172
|
+
"grok-3-latest": {
|
|
159
173
|
maxInputTokens: 131072,
|
|
160
174
|
imageInputs: false,
|
|
161
175
|
audioInputs: false,
|
|
@@ -169,27 +183,27 @@ const PROFILES = {
|
|
|
169
183
|
toolCalling: true,
|
|
170
184
|
structuredOutput: false
|
|
171
185
|
},
|
|
172
|
-
"grok-
|
|
173
|
-
maxInputTokens:
|
|
174
|
-
imageInputs:
|
|
186
|
+
"grok-4-1-fast": {
|
|
187
|
+
maxInputTokens: 2e6,
|
|
188
|
+
imageInputs: true,
|
|
175
189
|
audioInputs: false,
|
|
176
190
|
pdfInputs: false,
|
|
177
191
|
videoInputs: false,
|
|
178
|
-
maxOutputTokens:
|
|
179
|
-
reasoningOutput:
|
|
192
|
+
maxOutputTokens: 3e4,
|
|
193
|
+
reasoningOutput: true,
|
|
180
194
|
imageOutputs: false,
|
|
181
195
|
audioOutputs: false,
|
|
182
196
|
videoOutputs: false,
|
|
183
197
|
toolCalling: true,
|
|
184
198
|
structuredOutput: false
|
|
185
199
|
},
|
|
186
|
-
"grok-
|
|
187
|
-
maxInputTokens:
|
|
188
|
-
imageInputs:
|
|
200
|
+
"grok-2-vision-latest": {
|
|
201
|
+
maxInputTokens: 8192,
|
|
202
|
+
imageInputs: true,
|
|
189
203
|
audioInputs: false,
|
|
190
204
|
pdfInputs: false,
|
|
191
205
|
videoInputs: false,
|
|
192
|
-
maxOutputTokens:
|
|
206
|
+
maxOutputTokens: 4096,
|
|
193
207
|
reasoningOutput: false,
|
|
194
208
|
imageOutputs: false,
|
|
195
209
|
audioOutputs: false,
|
|
@@ -197,35 +211,35 @@ const PROFILES = {
|
|
|
197
211
|
toolCalling: true,
|
|
198
212
|
structuredOutput: false
|
|
199
213
|
},
|
|
200
|
-
"grok-
|
|
201
|
-
maxInputTokens:
|
|
202
|
-
imageInputs:
|
|
214
|
+
"grok-3-mini-latest": {
|
|
215
|
+
maxInputTokens: 131072,
|
|
216
|
+
imageInputs: false,
|
|
203
217
|
audioInputs: false,
|
|
204
218
|
pdfInputs: false,
|
|
205
219
|
videoInputs: false,
|
|
206
|
-
maxOutputTokens:
|
|
207
|
-
reasoningOutput:
|
|
220
|
+
maxOutputTokens: 8192,
|
|
221
|
+
reasoningOutput: true,
|
|
208
222
|
imageOutputs: false,
|
|
209
223
|
audioOutputs: false,
|
|
210
224
|
videoOutputs: false,
|
|
211
225
|
toolCalling: true,
|
|
212
226
|
structuredOutput: false
|
|
213
227
|
},
|
|
214
|
-
"grok-
|
|
215
|
-
maxInputTokens:
|
|
216
|
-
imageInputs:
|
|
228
|
+
"grok-3-mini": {
|
|
229
|
+
maxInputTokens: 131072,
|
|
230
|
+
imageInputs: false,
|
|
217
231
|
audioInputs: false,
|
|
218
232
|
pdfInputs: false,
|
|
219
233
|
videoInputs: false,
|
|
220
|
-
maxOutputTokens:
|
|
221
|
-
reasoningOutput:
|
|
234
|
+
maxOutputTokens: 8192,
|
|
235
|
+
reasoningOutput: true,
|
|
222
236
|
imageOutputs: false,
|
|
223
237
|
audioOutputs: false,
|
|
224
238
|
videoOutputs: false,
|
|
225
239
|
toolCalling: true,
|
|
226
240
|
structuredOutput: false
|
|
227
241
|
},
|
|
228
|
-
"grok-3-mini": {
|
|
242
|
+
"grok-3-mini-fast-latest": {
|
|
229
243
|
maxInputTokens: 131072,
|
|
230
244
|
imageInputs: false,
|
|
231
245
|
audioInputs: false,
|
|
@@ -239,13 +253,13 @@ const PROFILES = {
|
|
|
239
253
|
toolCalling: true,
|
|
240
254
|
structuredOutput: false
|
|
241
255
|
},
|
|
242
|
-
"grok-
|
|
256
|
+
"grok-2-latest": {
|
|
243
257
|
maxInputTokens: 131072,
|
|
244
258
|
imageInputs: false,
|
|
245
259
|
audioInputs: false,
|
|
246
260
|
pdfInputs: false,
|
|
247
261
|
videoInputs: false,
|
|
248
|
-
maxOutputTokens:
|
|
262
|
+
maxOutputTokens: 8192,
|
|
249
263
|
reasoningOutput: false,
|
|
250
264
|
imageOutputs: false,
|
|
251
265
|
audioOutputs: false,
|
|
@@ -253,28 +267,42 @@ const PROFILES = {
|
|
|
253
267
|
toolCalling: true,
|
|
254
268
|
structuredOutput: false
|
|
255
269
|
},
|
|
256
|
-
"grok-
|
|
257
|
-
maxInputTokens:
|
|
258
|
-
imageInputs:
|
|
270
|
+
"grok-4-fast-non-reasoning": {
|
|
271
|
+
maxInputTokens: 2e6,
|
|
272
|
+
imageInputs: true,
|
|
259
273
|
audioInputs: false,
|
|
260
274
|
pdfInputs: false,
|
|
261
275
|
videoInputs: false,
|
|
262
|
-
maxOutputTokens:
|
|
263
|
-
reasoningOutput:
|
|
276
|
+
maxOutputTokens: 3e4,
|
|
277
|
+
reasoningOutput: false,
|
|
264
278
|
imageOutputs: false,
|
|
265
279
|
audioOutputs: false,
|
|
266
280
|
videoOutputs: false,
|
|
267
281
|
toolCalling: true,
|
|
268
282
|
structuredOutput: false
|
|
269
283
|
},
|
|
270
|
-
"grok-
|
|
284
|
+
"grok-vision-beta": {
|
|
285
|
+
maxInputTokens: 8192,
|
|
286
|
+
imageInputs: true,
|
|
287
|
+
audioInputs: false,
|
|
288
|
+
pdfInputs: false,
|
|
289
|
+
videoInputs: false,
|
|
290
|
+
maxOutputTokens: 4096,
|
|
291
|
+
reasoningOutput: false,
|
|
292
|
+
imageOutputs: false,
|
|
293
|
+
audioOutputs: false,
|
|
294
|
+
videoOutputs: false,
|
|
295
|
+
toolCalling: true,
|
|
296
|
+
structuredOutput: false
|
|
297
|
+
},
|
|
298
|
+
"grok-3-fast": {
|
|
271
299
|
maxInputTokens: 131072,
|
|
272
300
|
imageInputs: false,
|
|
273
301
|
audioInputs: false,
|
|
274
302
|
pdfInputs: false,
|
|
275
303
|
videoInputs: false,
|
|
276
304
|
maxOutputTokens: 8192,
|
|
277
|
-
reasoningOutput:
|
|
305
|
+
reasoningOutput: false,
|
|
278
306
|
imageOutputs: false,
|
|
279
307
|
audioOutputs: false,
|
|
280
308
|
videoOutputs: false,
|
|
@@ -282,8 +310,7 @@ const PROFILES = {
|
|
|
282
310
|
structuredOutput: false
|
|
283
311
|
}
|
|
284
312
|
};
|
|
285
|
-
var profiles_default = PROFILES;
|
|
286
313
|
|
|
287
314
|
//#endregion
|
|
288
|
-
exports.default =
|
|
315
|
+
exports.default = PROFILES;
|
|
289
316
|
//# sourceMappingURL=profiles.cjs.map
|
package/dist/profiles.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profiles.cjs","names":["PROFILES: Record<string, ModelProfile>"],"sources":["../src/profiles.ts"],"sourcesContent":["/**\n * This file was automatically generated by an automated script. Do not edit manually.\n */\nimport type { ModelProfile } from \"@langchain/core/language_models/profile\";\nconst PROFILES: Record<string, ModelProfile> = {\n \"grok-4-fast-non-reasoning\": {\n maxInputTokens: 2000000,\n imageInputs: true,\n audioInputs: false,\n pdfInputs: false,\n videoInputs: false,\n maxOutputTokens: 30000,\n reasoningOutput: false,\n imageOutputs: false,\n audioOutputs: false,\n videoOutputs: false,\n toolCalling: true,\n structuredOutput: false,\n },\n \"grok-3-fast\": {\n maxInputTokens: 131072,\n imageInputs: false,\n audioInputs: false,\n pdfInputs: false,\n videoInputs: false,\n maxOutputTokens: 8192,\n reasoningOutput: false,\n imageOutputs: false,\n audioOutputs: false,\n videoOutputs: false,\n toolCalling: true,\n structuredOutput: false,\n },\n \"grok-4\": {\n maxInputTokens: 256000,\n imageInputs: false,\n audioInputs: false,\n pdfInputs: false,\n videoInputs: false,\n maxOutputTokens: 64000,\n reasoningOutput: true,\n imageOutputs: false,\n audioOutputs: false,\n videoOutputs: false,\n toolCalling: true,\n structuredOutput: false,\n },\n \"grok-2-vision\": {\n maxInputTokens: 8192,\n imageInputs: true,\n audioInputs: false,\n pdfInputs: false,\n videoInputs: false,\n maxOutputTokens: 4096,\n reasoningOutput: false,\n imageOutputs: false,\n audioOutputs: false,\n videoOutputs: false,\n toolCalling: true,\n structuredOutput: false,\n },\n \"grok-code-fast-1\": {\n maxInputTokens: 256000,\n imageInputs: false,\n audioInputs: false,\n pdfInputs: false,\n videoInputs: false,\n maxOutputTokens: 10000,\n reasoningOutput: true,\n imageOutputs: false,\n audioOutputs: false,\n videoOutputs: false,\n toolCalling: true,\n structuredOutput: false,\n },\n \"grok-2\": {\n maxInputTokens: 131072,\n imageInputs: false,\n audioInputs: false,\n pdfInputs: false,\n videoInputs: false,\n maxOutputTokens: 8192,\n reasoningOutput: false,\n imageOutputs: false,\n audioOutputs: false,\n videoOutputs: false,\n toolCalling: true,\n structuredOutput: false,\n },\n \"grok-3-mini-fast-latest\": {\n maxInputTokens: 131072,\n imageInputs: false,\n audioInputs: false,\n pdfInputs: false,\n videoInputs: false,\n maxOutputTokens: 8192,\n reasoningOutput: true,\n imageOutputs: false,\n audioOutputs: false,\n videoOutputs: false,\n toolCalling: true,\n structuredOutput: false,\n },\n \"grok-2-vision-1212\": {\n maxInputTokens: 8192,\n imageInputs: true,\n audioInputs: false,\n pdfInputs: false,\n videoInputs: false,\n maxOutputTokens: 4096,\n reasoningOutput: false,\n imageOutputs: false,\n audioOutputs: false,\n videoOutputs: false,\n toolCalling: true,\n structuredOutput: false,\n },\n \"grok-3\": {\n maxInputTokens: 131072,\n imageInputs: false,\n audioInputs: false,\n pdfInputs: false,\n videoInputs: false,\n maxOutputTokens: 8192,\n reasoningOutput: false,\n imageOutputs: false,\n audioOutputs: false,\n videoOutputs: false,\n toolCalling: true,\n structuredOutput: false,\n },\n \"grok-4-fast\": {\n maxInputTokens: 2000000,\n imageInputs: true,\n audioInputs: false,\n pdfInputs: false,\n videoInputs: false,\n maxOutputTokens: 30000,\n reasoningOutput: true,\n imageOutputs: false,\n audioOutputs: false,\n videoOutputs: false,\n toolCalling: true,\n structuredOutput: false,\n },\n \"grok-2-latest\": {\n maxInputTokens: 131072,\n imageInputs: false,\n audioInputs: false,\n pdfInputs: false,\n videoInputs: false,\n maxOutputTokens: 8192,\n reasoningOutput: false,\n imageOutputs: false,\n audioOutputs: false,\n videoOutputs: false,\n toolCalling: true,\n structuredOutput: false,\n },\n \"grok-2-1212\": {\n maxInputTokens: 131072,\n imageInputs: false,\n audioInputs: false,\n pdfInputs: false,\n videoInputs: false,\n maxOutputTokens: 8192,\n reasoningOutput: false,\n imageOutputs: false,\n audioOutputs: false,\n videoOutputs: false,\n toolCalling: true,\n structuredOutput: false,\n },\n \"grok-3-fast-latest\": {\n maxInputTokens: 131072,\n imageInputs: false,\n audioInputs: false,\n pdfInputs: false,\n videoInputs: false,\n maxOutputTokens: 8192,\n reasoningOutput: false,\n imageOutputs: false,\n audioOutputs: false,\n videoOutputs: false,\n toolCalling: true,\n structuredOutput: false,\n },\n \"grok-3-latest\": {\n maxInputTokens: 131072,\n imageInputs: false,\n audioInputs: false,\n pdfInputs: false,\n videoInputs: false,\n maxOutputTokens: 8192,\n reasoningOutput: false,\n imageOutputs: false,\n audioOutputs: false,\n videoOutputs: false,\n toolCalling: true,\n structuredOutput: false,\n },\n \"grok-2-vision-latest\": {\n maxInputTokens: 8192,\n imageInputs: true,\n audioInputs: false,\n pdfInputs: false,\n videoInputs: false,\n maxOutputTokens: 4096,\n reasoningOutput: false,\n imageOutputs: false,\n audioOutputs: false,\n videoOutputs: false,\n toolCalling: true,\n structuredOutput: false,\n },\n \"grok-vision-beta\": {\n maxInputTokens: 8192,\n imageInputs: true,\n audioInputs: false,\n pdfInputs: false,\n videoInputs: false,\n maxOutputTokens: 4096,\n reasoningOutput: false,\n imageOutputs: false,\n audioOutputs: false,\n videoOutputs: false,\n toolCalling: true,\n structuredOutput: false,\n },\n \"grok-3-mini\": {\n maxInputTokens: 131072,\n imageInputs: false,\n audioInputs: false,\n pdfInputs: false,\n videoInputs: false,\n maxOutputTokens: 8192,\n reasoningOutput: true,\n imageOutputs: false,\n audioOutputs: false,\n videoOutputs: false,\n toolCalling: true,\n structuredOutput: false,\n },\n \"grok-beta\": {\n maxInputTokens: 131072,\n imageInputs: false,\n audioInputs: false,\n pdfInputs: false,\n videoInputs: false,\n maxOutputTokens: 4096,\n reasoningOutput: false,\n imageOutputs: false,\n audioOutputs: false,\n videoOutputs: false,\n toolCalling: true,\n structuredOutput: false,\n },\n \"grok-3-mini-latest\": {\n maxInputTokens: 131072,\n imageInputs: false,\n audioInputs: false,\n pdfInputs: false,\n videoInputs: false,\n maxOutputTokens: 8192,\n reasoningOutput: true,\n imageOutputs: false,\n audioOutputs: false,\n videoOutputs: false,\n toolCalling: true,\n structuredOutput: false,\n },\n \"grok-3-mini-fast\": {\n maxInputTokens: 131072,\n imageInputs: false,\n audioInputs: false,\n pdfInputs: false,\n videoInputs: false,\n maxOutputTokens: 8192,\n reasoningOutput: true,\n imageOutputs: false,\n audioOutputs: false,\n videoOutputs: false,\n toolCalling: true,\n structuredOutput: false,\n },\n};\nexport default PROFILES;\n"],"mappings":";;AAIA,MAAMA,WAAyC;CAC7C,6BAA6B;EAC3B,gBAAgB;EAChB,aAAa;EACb,aAAa;EACb,WAAW;EACX,aAAa;EACb,iBAAiB;EACjB,iBAAiB;EACjB,cAAc;EACd,cAAc;EACd,cAAc;EACd,aAAa;EACb,kBAAkB;CACnB;CACD,eAAe;EACb,gBAAgB;EAChB,aAAa;EACb,aAAa;EACb,WAAW;EACX,aAAa;EACb,iBAAiB;EACjB,iBAAiB;EACjB,cAAc;EACd,cAAc;EACd,cAAc;EACd,aAAa;EACb,kBAAkB;CACnB;CACD,UAAU;EACR,gBAAgB;EAChB,aAAa;EACb,aAAa;EACb,WAAW;EACX,aAAa;EACb,iBAAiB;EACjB,iBAAiB;EACjB,cAAc;EACd,cAAc;EACd,cAAc;EACd,aAAa;EACb,kBAAkB;CACnB;CACD,iBAAiB;EACf,gBAAgB;EAChB,aAAa;EACb,aAAa;EACb,WAAW;EACX,aAAa;EACb,iBAAiB;EACjB,iBAAiB;EACjB,cAAc;EACd,cAAc;EACd,cAAc;EACd,aAAa;EACb,kBAAkB;CACnB;CACD,oBAAoB;EAClB,gBAAgB;EAChB,aAAa;EACb,aAAa;EACb,WAAW;EACX,aAAa;EACb,iBAAiB;EACjB,iBAAiB;EACjB,cAAc;EACd,cAAc;EACd,cAAc;EACd,aAAa;EACb,kBAAkB;CACnB;CACD,UAAU;EACR,gBAAgB;EAChB,aAAa;EACb,aAAa;EACb,WAAW;EACX,aAAa;EACb,iBAAiB;EACjB,iBAAiB;EACjB,cAAc;EACd,cAAc;EACd,cAAc;EACd,aAAa;EACb,kBAAkB;CACnB;CACD,2BAA2B;EACzB,gBAAgB;EAChB,aAAa;EACb,aAAa;EACb,WAAW;EACX,aAAa;EACb,iBAAiB;EACjB,iBAAiB;EACjB,cAAc;EACd,cAAc;EACd,cAAc;EACd,aAAa;EACb,kBAAkB;CACnB;CACD,sBAAsB;EACpB,gBAAgB;EAChB,aAAa;EACb,aAAa;EACb,WAAW;EACX,aAAa;EACb,iBAAiB;EACjB,iBAAiB;EACjB,cAAc;EACd,cAAc;EACd,cAAc;EACd,aAAa;EACb,kBAAkB;CACnB;CACD,UAAU;EACR,gBAAgB;EAChB,aAAa;EACb,aAAa;EACb,WAAW;EACX,aAAa;EACb,iBAAiB;EACjB,iBAAiB;EACjB,cAAc;EACd,cAAc;EACd,cAAc;EACd,aAAa;EACb,kBAAkB;CACnB;CACD,eAAe;EACb,gBAAgB;EAChB,aAAa;EACb,aAAa;EACb,WAAW;EACX,aAAa;EACb,iBAAiB;EACjB,iBAAiB;EACjB,cAAc;EACd,cAAc;EACd,cAAc;EACd,aAAa;EACb,kBAAkB;CACnB;CACD,iBAAiB;EACf,gBAAgB;EAChB,aAAa;EACb,aAAa;EACb,WAAW;EACX,aAAa;EACb,iBAAiB;EACjB,iBAAiB;EACjB,cAAc;EACd,cAAc;EACd,cAAc;EACd,aAAa;EACb,kBAAkB;CACnB;CACD,eAAe;EACb,gBAAgB;EAChB,aAAa;EACb,aAAa;EACb,WAAW;EACX,aAAa;EACb,iBAAiB;EACjB,iBAAiB;EACjB,cAAc;EACd,cAAc;EACd,cAAc;EACd,aAAa;EACb,kBAAkB;CACnB;CACD,sBAAsB;EACpB,gBAAgB;EAChB,aAAa;EACb,aAAa;EACb,WAAW;EACX,aAAa;EACb,iBAAiB;EACjB,iBAAiB;EACjB,cAAc;EACd,cAAc;EACd,cAAc;EACd,aAAa;EACb,kBAAkB;CACnB;CACD,iBAAiB;EACf,gBAAgB;EAChB,aAAa;EACb,aAAa;EACb,WAAW;EACX,aAAa;EACb,iBAAiB;EACjB,iBAAiB;EACjB,cAAc;EACd,cAAc;EACd,cAAc;EACd,aAAa;EACb,kBAAkB;CACnB;CACD,wBAAwB;EACtB,gBAAgB;EAChB,aAAa;EACb,aAAa;EACb,WAAW;EACX,aAAa;EACb,iBAAiB;EACjB,iBAAiB;EACjB,cAAc;EACd,cAAc;EACd,cAAc;EACd,aAAa;EACb,kBAAkB;CACnB;CACD,oBAAoB;EAClB,gBAAgB;EAChB,aAAa;EACb,aAAa;EACb,WAAW;EACX,aAAa;EACb,iBAAiB;EACjB,iBAAiB;EACjB,cAAc;EACd,cAAc;EACd,cAAc;EACd,aAAa;EACb,kBAAkB;CACnB;CACD,eAAe;EACb,gBAAgB;EAChB,aAAa;EACb,aAAa;EACb,WAAW;EACX,aAAa;EACb,iBAAiB;EACjB,iBAAiB;EACjB,cAAc;EACd,cAAc;EACd,cAAc;EACd,aAAa;EACb,kBAAkB;CACnB;CACD,aAAa;EACX,gBAAgB;EAChB,aAAa;EACb,aAAa;EACb,WAAW;EACX,aAAa;EACb,iBAAiB;EACjB,iBAAiB;EACjB,cAAc;EACd,cAAc;EACd,cAAc;EACd,aAAa;EACb,kBAAkB;CACnB;CACD,sBAAsB;EACpB,gBAAgB;EAChB,aAAa;EACb,aAAa;EACb,WAAW;EACX,aAAa;EACb,iBAAiB;EACjB,iBAAiB;EACjB,cAAc;EACd,cAAc;EACd,cAAc;EACd,aAAa;EACb,kBAAkB;CACnB;CACD,oBAAoB;EAClB,gBAAgB;EAChB,aAAa;EACb,aAAa;EACb,WAAW;EACX,aAAa;EACb,iBAAiB;EACjB,iBAAiB;EACjB,cAAc;EACd,cAAc;EACd,cAAc;EACd,aAAa;EACb,kBAAkB;CACnB;AACF;AACD,uBAAe"}
|
|
1
|
+
{"version":3,"file":"profiles.cjs","names":[],"sources":["../src/profiles.ts"],"sourcesContent":["/**\n * This file was automatically generated by an automated script. Do not edit manually.\n */\nimport type { ModelProfile } from \"@langchain/core/language_models/profile\";\nconst PROFILES: Record<string, ModelProfile> = {\n \"grok-2-1212\": {\n maxInputTokens: 131072,\n imageInputs: false,\n audioInputs: false,\n pdfInputs: false,\n videoInputs: false,\n maxOutputTokens: 8192,\n reasoningOutput: false,\n imageOutputs: false,\n audioOutputs: false,\n videoOutputs: false,\n toolCalling: true,\n structuredOutput: false,\n },\n \"grok-2\": {\n maxInputTokens: 131072,\n imageInputs: false,\n audioInputs: false,\n pdfInputs: false,\n videoInputs: false,\n maxOutputTokens: 8192,\n reasoningOutput: false,\n imageOutputs: false,\n audioOutputs: false,\n videoOutputs: false,\n toolCalling: true,\n structuredOutput: false,\n },\n \"grok-3-fast-latest\": {\n maxInputTokens: 131072,\n imageInputs: false,\n audioInputs: false,\n pdfInputs: false,\n videoInputs: false,\n maxOutputTokens: 8192,\n reasoningOutput: false,\n imageOutputs: false,\n audioOutputs: false,\n videoOutputs: false,\n toolCalling: true,\n structuredOutput: false,\n },\n \"grok-2-vision\": {\n maxInputTokens: 8192,\n imageInputs: true,\n audioInputs: false,\n pdfInputs: false,\n videoInputs: false,\n maxOutputTokens: 4096,\n reasoningOutput: false,\n imageOutputs: false,\n audioOutputs: false,\n videoOutputs: false,\n toolCalling: true,\n structuredOutput: false,\n },\n \"grok-3\": {\n maxInputTokens: 131072,\n imageInputs: false,\n audioInputs: false,\n pdfInputs: false,\n videoInputs: false,\n maxOutputTokens: 8192,\n reasoningOutput: false,\n imageOutputs: false,\n audioOutputs: false,\n videoOutputs: false,\n toolCalling: true,\n structuredOutput: false,\n },\n \"grok-code-fast-1\": {\n maxInputTokens: 256000,\n imageInputs: false,\n audioInputs: false,\n pdfInputs: false,\n videoInputs: false,\n maxOutputTokens: 10000,\n reasoningOutput: true,\n imageOutputs: false,\n audioOutputs: false,\n videoOutputs: false,\n toolCalling: true,\n structuredOutput: false,\n },\n \"grok-2-vision-1212\": {\n maxInputTokens: 8192,\n imageInputs: true,\n audioInputs: false,\n pdfInputs: false,\n videoInputs: false,\n maxOutputTokens: 4096,\n reasoningOutput: false,\n imageOutputs: false,\n audioOutputs: false,\n videoOutputs: false,\n toolCalling: true,\n structuredOutput: false,\n },\n \"grok-4-1-fast-non-reasoning\": {\n maxInputTokens: 2000000,\n imageInputs: true,\n audioInputs: false,\n pdfInputs: false,\n videoInputs: false,\n maxOutputTokens: 30000,\n reasoningOutput: false,\n imageOutputs: false,\n audioOutputs: false,\n videoOutputs: false,\n toolCalling: true,\n structuredOutput: false,\n },\n \"grok-beta\": {\n maxInputTokens: 131072,\n imageInputs: false,\n audioInputs: false,\n pdfInputs: false,\n videoInputs: false,\n maxOutputTokens: 4096,\n reasoningOutput: false,\n imageOutputs: false,\n audioOutputs: false,\n videoOutputs: false,\n toolCalling: true,\n structuredOutput: false,\n },\n \"grok-3-mini-fast\": {\n maxInputTokens: 131072,\n imageInputs: false,\n audioInputs: false,\n pdfInputs: false,\n videoInputs: false,\n maxOutputTokens: 8192,\n reasoningOutput: true,\n imageOutputs: false,\n audioOutputs: false,\n videoOutputs: false,\n toolCalling: true,\n structuredOutput: false,\n },\n \"grok-4-fast\": {\n maxInputTokens: 2000000,\n imageInputs: true,\n audioInputs: false,\n pdfInputs: false,\n videoInputs: false,\n maxOutputTokens: 30000,\n reasoningOutput: true,\n imageOutputs: false,\n audioOutputs: false,\n videoOutputs: false,\n toolCalling: true,\n structuredOutput: false,\n },\n \"grok-4\": {\n maxInputTokens: 256000,\n imageInputs: false,\n audioInputs: false,\n pdfInputs: false,\n videoInputs: false,\n maxOutputTokens: 64000,\n reasoningOutput: true,\n imageOutputs: false,\n audioOutputs: false,\n videoOutputs: false,\n toolCalling: true,\n structuredOutput: false,\n },\n \"grok-3-latest\": {\n maxInputTokens: 131072,\n imageInputs: false,\n audioInputs: false,\n pdfInputs: false,\n videoInputs: false,\n maxOutputTokens: 8192,\n reasoningOutput: false,\n imageOutputs: false,\n audioOutputs: false,\n videoOutputs: false,\n toolCalling: true,\n structuredOutput: false,\n },\n \"grok-4-1-fast\": {\n maxInputTokens: 2000000,\n imageInputs: true,\n audioInputs: false,\n pdfInputs: false,\n videoInputs: false,\n maxOutputTokens: 30000,\n reasoningOutput: true,\n imageOutputs: false,\n audioOutputs: false,\n videoOutputs: false,\n toolCalling: true,\n structuredOutput: false,\n },\n \"grok-2-vision-latest\": {\n maxInputTokens: 8192,\n imageInputs: true,\n audioInputs: false,\n pdfInputs: false,\n videoInputs: false,\n maxOutputTokens: 4096,\n reasoningOutput: false,\n imageOutputs: false,\n audioOutputs: false,\n videoOutputs: false,\n toolCalling: true,\n structuredOutput: false,\n },\n \"grok-3-mini-latest\": {\n maxInputTokens: 131072,\n imageInputs: false,\n audioInputs: false,\n pdfInputs: false,\n videoInputs: false,\n maxOutputTokens: 8192,\n reasoningOutput: true,\n imageOutputs: false,\n audioOutputs: false,\n videoOutputs: false,\n toolCalling: true,\n structuredOutput: false,\n },\n \"grok-3-mini\": {\n maxInputTokens: 131072,\n imageInputs: false,\n audioInputs: false,\n pdfInputs: false,\n videoInputs: false,\n maxOutputTokens: 8192,\n reasoningOutput: true,\n imageOutputs: false,\n audioOutputs: false,\n videoOutputs: false,\n toolCalling: true,\n structuredOutput: false,\n },\n \"grok-3-mini-fast-latest\": {\n maxInputTokens: 131072,\n imageInputs: false,\n audioInputs: false,\n pdfInputs: false,\n videoInputs: false,\n maxOutputTokens: 8192,\n reasoningOutput: true,\n imageOutputs: false,\n audioOutputs: false,\n videoOutputs: false,\n toolCalling: true,\n structuredOutput: false,\n },\n \"grok-2-latest\": {\n maxInputTokens: 131072,\n imageInputs: false,\n audioInputs: false,\n pdfInputs: false,\n videoInputs: false,\n maxOutputTokens: 8192,\n reasoningOutput: false,\n imageOutputs: false,\n audioOutputs: false,\n videoOutputs: false,\n toolCalling: true,\n structuredOutput: false,\n },\n \"grok-4-fast-non-reasoning\": {\n maxInputTokens: 2000000,\n imageInputs: true,\n audioInputs: false,\n pdfInputs: false,\n videoInputs: false,\n maxOutputTokens: 30000,\n reasoningOutput: false,\n imageOutputs: false,\n audioOutputs: false,\n videoOutputs: false,\n toolCalling: true,\n structuredOutput: false,\n },\n \"grok-vision-beta\": {\n maxInputTokens: 8192,\n imageInputs: true,\n audioInputs: false,\n pdfInputs: false,\n videoInputs: false,\n maxOutputTokens: 4096,\n reasoningOutput: false,\n imageOutputs: false,\n audioOutputs: false,\n videoOutputs: false,\n toolCalling: true,\n structuredOutput: false,\n },\n \"grok-3-fast\": {\n maxInputTokens: 131072,\n imageInputs: false,\n audioInputs: false,\n pdfInputs: false,\n videoInputs: false,\n maxOutputTokens: 8192,\n reasoningOutput: false,\n imageOutputs: false,\n audioOutputs: false,\n videoOutputs: false,\n toolCalling: true,\n structuredOutput: false,\n },\n};\nexport default PROFILES;\n"],"mappings":";;AAIA,MAAM,WAAyC;CAC7C,eAAe;EACb,gBAAgB;EAChB,aAAa;EACb,aAAa;EACb,WAAW;EACX,aAAa;EACb,iBAAiB;EACjB,iBAAiB;EACjB,cAAc;EACd,cAAc;EACd,cAAc;EACd,aAAa;EACb,kBAAkB;EACnB;CACD,UAAU;EACR,gBAAgB;EAChB,aAAa;EACb,aAAa;EACb,WAAW;EACX,aAAa;EACb,iBAAiB;EACjB,iBAAiB;EACjB,cAAc;EACd,cAAc;EACd,cAAc;EACd,aAAa;EACb,kBAAkB;EACnB;CACD,sBAAsB;EACpB,gBAAgB;EAChB,aAAa;EACb,aAAa;EACb,WAAW;EACX,aAAa;EACb,iBAAiB;EACjB,iBAAiB;EACjB,cAAc;EACd,cAAc;EACd,cAAc;EACd,aAAa;EACb,kBAAkB;EACnB;CACD,iBAAiB;EACf,gBAAgB;EAChB,aAAa;EACb,aAAa;EACb,WAAW;EACX,aAAa;EACb,iBAAiB;EACjB,iBAAiB;EACjB,cAAc;EACd,cAAc;EACd,cAAc;EACd,aAAa;EACb,kBAAkB;EACnB;CACD,UAAU;EACR,gBAAgB;EAChB,aAAa;EACb,aAAa;EACb,WAAW;EACX,aAAa;EACb,iBAAiB;EACjB,iBAAiB;EACjB,cAAc;EACd,cAAc;EACd,cAAc;EACd,aAAa;EACb,kBAAkB;EACnB;CACD,oBAAoB;EAClB,gBAAgB;EAChB,aAAa;EACb,aAAa;EACb,WAAW;EACX,aAAa;EACb,iBAAiB;EACjB,iBAAiB;EACjB,cAAc;EACd,cAAc;EACd,cAAc;EACd,aAAa;EACb,kBAAkB;EACnB;CACD,sBAAsB;EACpB,gBAAgB;EAChB,aAAa;EACb,aAAa;EACb,WAAW;EACX,aAAa;EACb,iBAAiB;EACjB,iBAAiB;EACjB,cAAc;EACd,cAAc;EACd,cAAc;EACd,aAAa;EACb,kBAAkB;EACnB;CACD,+BAA+B;EAC7B,gBAAgB;EAChB,aAAa;EACb,aAAa;EACb,WAAW;EACX,aAAa;EACb,iBAAiB;EACjB,iBAAiB;EACjB,cAAc;EACd,cAAc;EACd,cAAc;EACd,aAAa;EACb,kBAAkB;EACnB;CACD,aAAa;EACX,gBAAgB;EAChB,aAAa;EACb,aAAa;EACb,WAAW;EACX,aAAa;EACb,iBAAiB;EACjB,iBAAiB;EACjB,cAAc;EACd,cAAc;EACd,cAAc;EACd,aAAa;EACb,kBAAkB;EACnB;CACD,oBAAoB;EAClB,gBAAgB;EAChB,aAAa;EACb,aAAa;EACb,WAAW;EACX,aAAa;EACb,iBAAiB;EACjB,iBAAiB;EACjB,cAAc;EACd,cAAc;EACd,cAAc;EACd,aAAa;EACb,kBAAkB;EACnB;CACD,eAAe;EACb,gBAAgB;EAChB,aAAa;EACb,aAAa;EACb,WAAW;EACX,aAAa;EACb,iBAAiB;EACjB,iBAAiB;EACjB,cAAc;EACd,cAAc;EACd,cAAc;EACd,aAAa;EACb,kBAAkB;EACnB;CACD,UAAU;EACR,gBAAgB;EAChB,aAAa;EACb,aAAa;EACb,WAAW;EACX,aAAa;EACb,iBAAiB;EACjB,iBAAiB;EACjB,cAAc;EACd,cAAc;EACd,cAAc;EACd,aAAa;EACb,kBAAkB;EACnB;CACD,iBAAiB;EACf,gBAAgB;EAChB,aAAa;EACb,aAAa;EACb,WAAW;EACX,aAAa;EACb,iBAAiB;EACjB,iBAAiB;EACjB,cAAc;EACd,cAAc;EACd,cAAc;EACd,aAAa;EACb,kBAAkB;EACnB;CACD,iBAAiB;EACf,gBAAgB;EAChB,aAAa;EACb,aAAa;EACb,WAAW;EACX,aAAa;EACb,iBAAiB;EACjB,iBAAiB;EACjB,cAAc;EACd,cAAc;EACd,cAAc;EACd,aAAa;EACb,kBAAkB;EACnB;CACD,wBAAwB;EACtB,gBAAgB;EAChB,aAAa;EACb,aAAa;EACb,WAAW;EACX,aAAa;EACb,iBAAiB;EACjB,iBAAiB;EACjB,cAAc;EACd,cAAc;EACd,cAAc;EACd,aAAa;EACb,kBAAkB;EACnB;CACD,sBAAsB;EACpB,gBAAgB;EAChB,aAAa;EACb,aAAa;EACb,WAAW;EACX,aAAa;EACb,iBAAiB;EACjB,iBAAiB;EACjB,cAAc;EACd,cAAc;EACd,cAAc;EACd,aAAa;EACb,kBAAkB;EACnB;CACD,eAAe;EACb,gBAAgB;EAChB,aAAa;EACb,aAAa;EACb,WAAW;EACX,aAAa;EACb,iBAAiB;EACjB,iBAAiB;EACjB,cAAc;EACd,cAAc;EACd,cAAc;EACd,aAAa;EACb,kBAAkB;EACnB;CACD,2BAA2B;EACzB,gBAAgB;EAChB,aAAa;EACb,aAAa;EACb,WAAW;EACX,aAAa;EACb,iBAAiB;EACjB,iBAAiB;EACjB,cAAc;EACd,cAAc;EACd,cAAc;EACd,aAAa;EACb,kBAAkB;EACnB;CACD,iBAAiB;EACf,gBAAgB;EAChB,aAAa;EACb,aAAa;EACb,WAAW;EACX,aAAa;EACb,iBAAiB;EACjB,iBAAiB;EACjB,cAAc;EACd,cAAc;EACd,cAAc;EACd,aAAa;EACb,kBAAkB;EACnB;CACD,6BAA6B;EAC3B,gBAAgB;EAChB,aAAa;EACb,aAAa;EACb,WAAW;EACX,aAAa;EACb,iBAAiB;EACjB,iBAAiB;EACjB,cAAc;EACd,cAAc;EACd,cAAc;EACd,aAAa;EACb,kBAAkB;EACnB;CACD,oBAAoB;EAClB,gBAAgB;EAChB,aAAa;EACb,aAAa;EACb,WAAW;EACX,aAAa;EACb,iBAAiB;EACjB,iBAAiB;EACjB,cAAc;EACd,cAAc;EACd,cAAc;EACd,aAAa;EACb,kBAAkB;EACnB;CACD,eAAe;EACb,gBAAgB;EAChB,aAAa;EACb,aAAa;EACb,WAAW;EACX,aAAa;EACb,iBAAiB;EACjB,iBAAiB;EACjB,cAAc;EACd,cAAc;EACd,cAAc;EACd,aAAa;EACb,kBAAkB;EACnB;CACF"}
|
package/dist/profiles.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
//#region src/profiles.ts
|
|
2
2
|
const PROFILES = {
|
|
3
|
-
"grok-
|
|
4
|
-
maxInputTokens:
|
|
5
|
-
imageInputs:
|
|
3
|
+
"grok-2-1212": {
|
|
4
|
+
maxInputTokens: 131072,
|
|
5
|
+
imageInputs: false,
|
|
6
6
|
audioInputs: false,
|
|
7
7
|
pdfInputs: false,
|
|
8
8
|
videoInputs: false,
|
|
9
|
-
maxOutputTokens:
|
|
9
|
+
maxOutputTokens: 8192,
|
|
10
10
|
reasoningOutput: false,
|
|
11
11
|
imageOutputs: false,
|
|
12
12
|
audioOutputs: false,
|
|
@@ -14,7 +14,7 @@ const PROFILES = {
|
|
|
14
14
|
toolCalling: true,
|
|
15
15
|
structuredOutput: false
|
|
16
16
|
},
|
|
17
|
-
"grok-
|
|
17
|
+
"grok-2": {
|
|
18
18
|
maxInputTokens: 131072,
|
|
19
19
|
imageInputs: false,
|
|
20
20
|
audioInputs: false,
|
|
@@ -28,14 +28,14 @@ const PROFILES = {
|
|
|
28
28
|
toolCalling: true,
|
|
29
29
|
structuredOutput: false
|
|
30
30
|
},
|
|
31
|
-
"grok-
|
|
32
|
-
maxInputTokens:
|
|
31
|
+
"grok-3-fast-latest": {
|
|
32
|
+
maxInputTokens: 131072,
|
|
33
33
|
imageInputs: false,
|
|
34
34
|
audioInputs: false,
|
|
35
35
|
pdfInputs: false,
|
|
36
36
|
videoInputs: false,
|
|
37
|
-
maxOutputTokens:
|
|
38
|
-
reasoningOutput:
|
|
37
|
+
maxOutputTokens: 8192,
|
|
38
|
+
reasoningOutput: false,
|
|
39
39
|
imageOutputs: false,
|
|
40
40
|
audioOutputs: false,
|
|
41
41
|
videoOutputs: false,
|
|
@@ -56,6 +56,20 @@ const PROFILES = {
|
|
|
56
56
|
toolCalling: true,
|
|
57
57
|
structuredOutput: false
|
|
58
58
|
},
|
|
59
|
+
"grok-3": {
|
|
60
|
+
maxInputTokens: 131072,
|
|
61
|
+
imageInputs: false,
|
|
62
|
+
audioInputs: false,
|
|
63
|
+
pdfInputs: false,
|
|
64
|
+
videoInputs: false,
|
|
65
|
+
maxOutputTokens: 8192,
|
|
66
|
+
reasoningOutput: false,
|
|
67
|
+
imageOutputs: false,
|
|
68
|
+
audioOutputs: false,
|
|
69
|
+
videoOutputs: false,
|
|
70
|
+
toolCalling: true,
|
|
71
|
+
structuredOutput: false
|
|
72
|
+
},
|
|
59
73
|
"grok-code-fast-1": {
|
|
60
74
|
maxInputTokens: 256e3,
|
|
61
75
|
imageInputs: false,
|
|
@@ -70,13 +84,13 @@ const PROFILES = {
|
|
|
70
84
|
toolCalling: true,
|
|
71
85
|
structuredOutput: false
|
|
72
86
|
},
|
|
73
|
-
"grok-2": {
|
|
74
|
-
maxInputTokens:
|
|
75
|
-
imageInputs:
|
|
87
|
+
"grok-2-vision-1212": {
|
|
88
|
+
maxInputTokens: 8192,
|
|
89
|
+
imageInputs: true,
|
|
76
90
|
audioInputs: false,
|
|
77
91
|
pdfInputs: false,
|
|
78
92
|
videoInputs: false,
|
|
79
|
-
maxOutputTokens:
|
|
93
|
+
maxOutputTokens: 4096,
|
|
80
94
|
reasoningOutput: false,
|
|
81
95
|
imageOutputs: false,
|
|
82
96
|
audioOutputs: false,
|
|
@@ -84,23 +98,23 @@ const PROFILES = {
|
|
|
84
98
|
toolCalling: true,
|
|
85
99
|
structuredOutput: false
|
|
86
100
|
},
|
|
87
|
-
"grok-
|
|
88
|
-
maxInputTokens:
|
|
89
|
-
imageInputs:
|
|
101
|
+
"grok-4-1-fast-non-reasoning": {
|
|
102
|
+
maxInputTokens: 2e6,
|
|
103
|
+
imageInputs: true,
|
|
90
104
|
audioInputs: false,
|
|
91
105
|
pdfInputs: false,
|
|
92
106
|
videoInputs: false,
|
|
93
|
-
maxOutputTokens:
|
|
94
|
-
reasoningOutput:
|
|
107
|
+
maxOutputTokens: 3e4,
|
|
108
|
+
reasoningOutput: false,
|
|
95
109
|
imageOutputs: false,
|
|
96
110
|
audioOutputs: false,
|
|
97
111
|
videoOutputs: false,
|
|
98
112
|
toolCalling: true,
|
|
99
113
|
structuredOutput: false
|
|
100
114
|
},
|
|
101
|
-
"grok-
|
|
102
|
-
maxInputTokens:
|
|
103
|
-
imageInputs:
|
|
115
|
+
"grok-beta": {
|
|
116
|
+
maxInputTokens: 131072,
|
|
117
|
+
imageInputs: false,
|
|
104
118
|
audioInputs: false,
|
|
105
119
|
pdfInputs: false,
|
|
106
120
|
videoInputs: false,
|
|
@@ -112,14 +126,14 @@ const PROFILES = {
|
|
|
112
126
|
toolCalling: true,
|
|
113
127
|
structuredOutput: false
|
|
114
128
|
},
|
|
115
|
-
"grok-3": {
|
|
129
|
+
"grok-3-mini-fast": {
|
|
116
130
|
maxInputTokens: 131072,
|
|
117
131
|
imageInputs: false,
|
|
118
132
|
audioInputs: false,
|
|
119
133
|
pdfInputs: false,
|
|
120
134
|
videoInputs: false,
|
|
121
135
|
maxOutputTokens: 8192,
|
|
122
|
-
reasoningOutput:
|
|
136
|
+
reasoningOutput: true,
|
|
123
137
|
imageOutputs: false,
|
|
124
138
|
audioOutputs: false,
|
|
125
139
|
videoOutputs: false,
|
|
@@ -140,21 +154,21 @@ const PROFILES = {
|
|
|
140
154
|
toolCalling: true,
|
|
141
155
|
structuredOutput: false
|
|
142
156
|
},
|
|
143
|
-
"grok-
|
|
144
|
-
maxInputTokens:
|
|
157
|
+
"grok-4": {
|
|
158
|
+
maxInputTokens: 256e3,
|
|
145
159
|
imageInputs: false,
|
|
146
160
|
audioInputs: false,
|
|
147
161
|
pdfInputs: false,
|
|
148
162
|
videoInputs: false,
|
|
149
|
-
maxOutputTokens:
|
|
150
|
-
reasoningOutput:
|
|
163
|
+
maxOutputTokens: 64e3,
|
|
164
|
+
reasoningOutput: true,
|
|
151
165
|
imageOutputs: false,
|
|
152
166
|
audioOutputs: false,
|
|
153
167
|
videoOutputs: false,
|
|
154
168
|
toolCalling: true,
|
|
155
169
|
structuredOutput: false
|
|
156
170
|
},
|
|
157
|
-
"grok-
|
|
171
|
+
"grok-3-latest": {
|
|
158
172
|
maxInputTokens: 131072,
|
|
159
173
|
imageInputs: false,
|
|
160
174
|
audioInputs: false,
|
|
@@ -168,27 +182,27 @@ const PROFILES = {
|
|
|
168
182
|
toolCalling: true,
|
|
169
183
|
structuredOutput: false
|
|
170
184
|
},
|
|
171
|
-
"grok-
|
|
172
|
-
maxInputTokens:
|
|
173
|
-
imageInputs:
|
|
185
|
+
"grok-4-1-fast": {
|
|
186
|
+
maxInputTokens: 2e6,
|
|
187
|
+
imageInputs: true,
|
|
174
188
|
audioInputs: false,
|
|
175
189
|
pdfInputs: false,
|
|
176
190
|
videoInputs: false,
|
|
177
|
-
maxOutputTokens:
|
|
178
|
-
reasoningOutput:
|
|
191
|
+
maxOutputTokens: 3e4,
|
|
192
|
+
reasoningOutput: true,
|
|
179
193
|
imageOutputs: false,
|
|
180
194
|
audioOutputs: false,
|
|
181
195
|
videoOutputs: false,
|
|
182
196
|
toolCalling: true,
|
|
183
197
|
structuredOutput: false
|
|
184
198
|
},
|
|
185
|
-
"grok-
|
|
186
|
-
maxInputTokens:
|
|
187
|
-
imageInputs:
|
|
199
|
+
"grok-2-vision-latest": {
|
|
200
|
+
maxInputTokens: 8192,
|
|
201
|
+
imageInputs: true,
|
|
188
202
|
audioInputs: false,
|
|
189
203
|
pdfInputs: false,
|
|
190
204
|
videoInputs: false,
|
|
191
|
-
maxOutputTokens:
|
|
205
|
+
maxOutputTokens: 4096,
|
|
192
206
|
reasoningOutput: false,
|
|
193
207
|
imageOutputs: false,
|
|
194
208
|
audioOutputs: false,
|
|
@@ -196,35 +210,35 @@ const PROFILES = {
|
|
|
196
210
|
toolCalling: true,
|
|
197
211
|
structuredOutput: false
|
|
198
212
|
},
|
|
199
|
-
"grok-
|
|
200
|
-
maxInputTokens:
|
|
201
|
-
imageInputs:
|
|
213
|
+
"grok-3-mini-latest": {
|
|
214
|
+
maxInputTokens: 131072,
|
|
215
|
+
imageInputs: false,
|
|
202
216
|
audioInputs: false,
|
|
203
217
|
pdfInputs: false,
|
|
204
218
|
videoInputs: false,
|
|
205
|
-
maxOutputTokens:
|
|
206
|
-
reasoningOutput:
|
|
219
|
+
maxOutputTokens: 8192,
|
|
220
|
+
reasoningOutput: true,
|
|
207
221
|
imageOutputs: false,
|
|
208
222
|
audioOutputs: false,
|
|
209
223
|
videoOutputs: false,
|
|
210
224
|
toolCalling: true,
|
|
211
225
|
structuredOutput: false
|
|
212
226
|
},
|
|
213
|
-
"grok-
|
|
214
|
-
maxInputTokens:
|
|
215
|
-
imageInputs:
|
|
227
|
+
"grok-3-mini": {
|
|
228
|
+
maxInputTokens: 131072,
|
|
229
|
+
imageInputs: false,
|
|
216
230
|
audioInputs: false,
|
|
217
231
|
pdfInputs: false,
|
|
218
232
|
videoInputs: false,
|
|
219
|
-
maxOutputTokens:
|
|
220
|
-
reasoningOutput:
|
|
233
|
+
maxOutputTokens: 8192,
|
|
234
|
+
reasoningOutput: true,
|
|
221
235
|
imageOutputs: false,
|
|
222
236
|
audioOutputs: false,
|
|
223
237
|
videoOutputs: false,
|
|
224
238
|
toolCalling: true,
|
|
225
239
|
structuredOutput: false
|
|
226
240
|
},
|
|
227
|
-
"grok-3-mini": {
|
|
241
|
+
"grok-3-mini-fast-latest": {
|
|
228
242
|
maxInputTokens: 131072,
|
|
229
243
|
imageInputs: false,
|
|
230
244
|
audioInputs: false,
|
|
@@ -238,13 +252,13 @@ const PROFILES = {
|
|
|
238
252
|
toolCalling: true,
|
|
239
253
|
structuredOutput: false
|
|
240
254
|
},
|
|
241
|
-
"grok-
|
|
255
|
+
"grok-2-latest": {
|
|
242
256
|
maxInputTokens: 131072,
|
|
243
257
|
imageInputs: false,
|
|
244
258
|
audioInputs: false,
|
|
245
259
|
pdfInputs: false,
|
|
246
260
|
videoInputs: false,
|
|
247
|
-
maxOutputTokens:
|
|
261
|
+
maxOutputTokens: 8192,
|
|
248
262
|
reasoningOutput: false,
|
|
249
263
|
imageOutputs: false,
|
|
250
264
|
audioOutputs: false,
|
|
@@ -252,28 +266,42 @@ const PROFILES = {
|
|
|
252
266
|
toolCalling: true,
|
|
253
267
|
structuredOutput: false
|
|
254
268
|
},
|
|
255
|
-
"grok-
|
|
256
|
-
maxInputTokens:
|
|
257
|
-
imageInputs:
|
|
269
|
+
"grok-4-fast-non-reasoning": {
|
|
270
|
+
maxInputTokens: 2e6,
|
|
271
|
+
imageInputs: true,
|
|
258
272
|
audioInputs: false,
|
|
259
273
|
pdfInputs: false,
|
|
260
274
|
videoInputs: false,
|
|
261
|
-
maxOutputTokens:
|
|
262
|
-
reasoningOutput:
|
|
275
|
+
maxOutputTokens: 3e4,
|
|
276
|
+
reasoningOutput: false,
|
|
263
277
|
imageOutputs: false,
|
|
264
278
|
audioOutputs: false,
|
|
265
279
|
videoOutputs: false,
|
|
266
280
|
toolCalling: true,
|
|
267
281
|
structuredOutput: false
|
|
268
282
|
},
|
|
269
|
-
"grok-
|
|
283
|
+
"grok-vision-beta": {
|
|
284
|
+
maxInputTokens: 8192,
|
|
285
|
+
imageInputs: true,
|
|
286
|
+
audioInputs: false,
|
|
287
|
+
pdfInputs: false,
|
|
288
|
+
videoInputs: false,
|
|
289
|
+
maxOutputTokens: 4096,
|
|
290
|
+
reasoningOutput: false,
|
|
291
|
+
imageOutputs: false,
|
|
292
|
+
audioOutputs: false,
|
|
293
|
+
videoOutputs: false,
|
|
294
|
+
toolCalling: true,
|
|
295
|
+
structuredOutput: false
|
|
296
|
+
},
|
|
297
|
+
"grok-3-fast": {
|
|
270
298
|
maxInputTokens: 131072,
|
|
271
299
|
imageInputs: false,
|
|
272
300
|
audioInputs: false,
|
|
273
301
|
pdfInputs: false,
|
|
274
302
|
videoInputs: false,
|
|
275
303
|
maxOutputTokens: 8192,
|
|
276
|
-
reasoningOutput:
|
|
304
|
+
reasoningOutput: false,
|
|
277
305
|
imageOutputs: false,
|
|
278
306
|
audioOutputs: false,
|
|
279
307
|
videoOutputs: false,
|
|
@@ -281,8 +309,7 @@ const PROFILES = {
|
|
|
281
309
|
structuredOutput: false
|
|
282
310
|
}
|
|
283
311
|
};
|
|
284
|
-
var profiles_default = PROFILES;
|
|
285
312
|
|
|
286
313
|
//#endregion
|
|
287
|
-
export {
|
|
314
|
+
export { PROFILES as default };
|
|
288
315
|
//# sourceMappingURL=profiles.js.map
|