aimodels 0.2.0 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +225 -34
- package/dist/index.mjs +225 -34
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -50,16 +50,35 @@ var ModelCollection = class _ModelCollection extends Array {
|
|
|
50
50
|
}
|
|
51
51
|
};
|
|
52
52
|
|
|
53
|
-
// src/data/models/openai.json
|
|
54
|
-
var
|
|
53
|
+
// src/data/models/openai-models.json
|
|
54
|
+
var openai_models_default = {
|
|
55
55
|
models: [
|
|
56
56
|
{
|
|
57
|
-
id: "whisper-
|
|
58
|
-
name: "Whisper
|
|
59
|
-
license: "
|
|
57
|
+
id: "whisper-large-v3",
|
|
58
|
+
name: "Whisper Large v3",
|
|
59
|
+
license: "mit",
|
|
60
60
|
providers: [
|
|
61
61
|
"openai",
|
|
62
|
-
"azure"
|
|
62
|
+
"azure",
|
|
63
|
+
"groq"
|
|
64
|
+
],
|
|
65
|
+
can: [
|
|
66
|
+
"sound-in",
|
|
67
|
+
"text-out"
|
|
68
|
+
],
|
|
69
|
+
context: {
|
|
70
|
+
total: null,
|
|
71
|
+
maxOutput: null
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
id: "whisper-large-v3-turbo",
|
|
76
|
+
name: "Whisper Large v3 Turbo",
|
|
77
|
+
license: "mit",
|
|
78
|
+
providers: [
|
|
79
|
+
"openai",
|
|
80
|
+
"azure",
|
|
81
|
+
"groq"
|
|
63
82
|
],
|
|
64
83
|
can: [
|
|
65
84
|
"sound-in",
|
|
@@ -265,8 +284,8 @@ var openai_default = {
|
|
|
265
284
|
]
|
|
266
285
|
};
|
|
267
286
|
|
|
268
|
-
// src/data/models/anthropic.json
|
|
269
|
-
var
|
|
287
|
+
// src/data/models/anthropic-models.json
|
|
288
|
+
var anthropic_models_default = {
|
|
270
289
|
models: [
|
|
271
290
|
{
|
|
272
291
|
id: "claude-3-opus",
|
|
@@ -304,52 +323,224 @@ var anthropic_default = {
|
|
|
304
323
|
]
|
|
305
324
|
};
|
|
306
325
|
|
|
307
|
-
// src/data/models/meta.json
|
|
308
|
-
var
|
|
326
|
+
// src/data/models/meta-models.json
|
|
327
|
+
var meta_models_default = {
|
|
309
328
|
models: [
|
|
310
329
|
{
|
|
311
|
-
id: "
|
|
312
|
-
name: "Llama
|
|
313
|
-
license: "llama-
|
|
314
|
-
providers: ["groq"
|
|
315
|
-
can: ["chat", "json-out", "function-out"],
|
|
330
|
+
id: "llama3-70b-8192",
|
|
331
|
+
name: "Llama 3 70B",
|
|
332
|
+
license: "llama-3-community",
|
|
333
|
+
providers: ["groq"],
|
|
334
|
+
can: ["chat", "text-in", "text-out", "json-out", "function-out"],
|
|
335
|
+
context: {
|
|
336
|
+
total: 8192,
|
|
337
|
+
maxOutput: 4096
|
|
338
|
+
}
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
id: "llama3-8b-8192",
|
|
342
|
+
name: "Llama 3 8B",
|
|
343
|
+
license: "llama-3-community",
|
|
344
|
+
providers: ["groq"],
|
|
345
|
+
can: ["chat", "text-in", "text-out", "json-out", "function-out"],
|
|
346
|
+
context: {
|
|
347
|
+
total: 8192,
|
|
348
|
+
maxOutput: 4096
|
|
349
|
+
}
|
|
350
|
+
},
|
|
351
|
+
{
|
|
352
|
+
id: "llama-3.2-11b-vision-preview",
|
|
353
|
+
name: "Llama 3.2 11B Vision",
|
|
354
|
+
license: "llama-3-community",
|
|
355
|
+
providers: ["groq"],
|
|
356
|
+
can: ["chat", "text-in", "text-out", "img-in"],
|
|
357
|
+
context: {
|
|
358
|
+
total: 4096,
|
|
359
|
+
maxOutput: 4096
|
|
360
|
+
}
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
id: "llama-3.2-90b-vision-preview",
|
|
364
|
+
name: "Llama 3.2 90B Vision",
|
|
365
|
+
license: "llama-3-community",
|
|
366
|
+
providers: ["groq"],
|
|
367
|
+
can: ["chat", "text-in", "text-out", "img-in"],
|
|
316
368
|
context: {
|
|
317
369
|
total: 4096,
|
|
318
370
|
maxOutput: 4096
|
|
319
371
|
}
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
id: "llama-guard-3-8b",
|
|
375
|
+
name: "LlamaGuard 3 8B",
|
|
376
|
+
license: "llama-3-community",
|
|
377
|
+
providers: ["groq"],
|
|
378
|
+
can: ["chat", "text-in", "text-out"],
|
|
379
|
+
context: {
|
|
380
|
+
total: 4096,
|
|
381
|
+
maxOutput: 4096
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
]
|
|
385
|
+
};
|
|
386
|
+
|
|
387
|
+
// src/data/models/mistral-models.json
|
|
388
|
+
var mistral_models_default = {
|
|
389
|
+
models: [
|
|
390
|
+
{
|
|
391
|
+
id: "mistral-large-2402",
|
|
392
|
+
name: "Mistral Large",
|
|
393
|
+
license: "proprietary",
|
|
394
|
+
providers: ["mistral", "azure"],
|
|
395
|
+
can: [
|
|
396
|
+
"chat",
|
|
397
|
+
"text-in",
|
|
398
|
+
"text-out",
|
|
399
|
+
"json-out",
|
|
400
|
+
"function-out"
|
|
401
|
+
],
|
|
402
|
+
context: {
|
|
403
|
+
total: 32768,
|
|
404
|
+
maxOutput: 4096
|
|
405
|
+
}
|
|
406
|
+
},
|
|
407
|
+
{
|
|
408
|
+
id: "mistral-small-2402",
|
|
409
|
+
name: "Mistral Small",
|
|
410
|
+
license: "proprietary",
|
|
411
|
+
providers: ["mistral", "azure"],
|
|
412
|
+
can: [
|
|
413
|
+
"chat",
|
|
414
|
+
"text-in",
|
|
415
|
+
"text-out",
|
|
416
|
+
"json-out",
|
|
417
|
+
"function-out"
|
|
418
|
+
],
|
|
419
|
+
context: {
|
|
420
|
+
total: 32768,
|
|
421
|
+
maxOutput: 4096
|
|
422
|
+
}
|
|
423
|
+
},
|
|
424
|
+
{
|
|
425
|
+
id: "mistral-medium",
|
|
426
|
+
name: "Mistral Medium",
|
|
427
|
+
license: "proprietary",
|
|
428
|
+
providers: ["mistral"],
|
|
429
|
+
can: [
|
|
430
|
+
"chat",
|
|
431
|
+
"text-in",
|
|
432
|
+
"text-out"
|
|
433
|
+
],
|
|
434
|
+
context: {
|
|
435
|
+
total: 32768,
|
|
436
|
+
maxOutput: 4096
|
|
437
|
+
}
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
id: "open-mistral-7b",
|
|
441
|
+
name: "Open Mistral 7B",
|
|
442
|
+
license: "apache-2.0",
|
|
443
|
+
providers: ["mistral", "groq"],
|
|
444
|
+
can: [
|
|
445
|
+
"chat",
|
|
446
|
+
"text-in",
|
|
447
|
+
"text-out"
|
|
448
|
+
],
|
|
449
|
+
context: {
|
|
450
|
+
total: 32768,
|
|
451
|
+
maxOutput: 4096
|
|
452
|
+
}
|
|
453
|
+
},
|
|
454
|
+
{
|
|
455
|
+
id: "open-mixtral-8x7b",
|
|
456
|
+
name: "Open Mixtral 8x7B",
|
|
457
|
+
license: "apache-2.0",
|
|
458
|
+
providers: ["mistral", "groq"],
|
|
459
|
+
can: [
|
|
460
|
+
"chat",
|
|
461
|
+
"text-in",
|
|
462
|
+
"text-out"
|
|
463
|
+
],
|
|
464
|
+
context: {
|
|
465
|
+
total: 32768,
|
|
466
|
+
maxOutput: 4096
|
|
467
|
+
}
|
|
320
468
|
}
|
|
321
469
|
]
|
|
322
470
|
};
|
|
323
471
|
|
|
324
|
-
// src/data/models/
|
|
325
|
-
var
|
|
472
|
+
// src/data/models/google-models.json
|
|
473
|
+
var google_models_default = {
|
|
326
474
|
models: [
|
|
327
475
|
{
|
|
328
|
-
id: "
|
|
329
|
-
name: "
|
|
476
|
+
id: "gemma2-9b-it",
|
|
477
|
+
name: "Gemma 2 9B Instruct",
|
|
330
478
|
license: "apache-2.0",
|
|
331
479
|
providers: ["groq"],
|
|
332
|
-
can: ["chat", "json-out", "function-out"],
|
|
480
|
+
can: ["chat", "text-in", "text-out", "json-out", "function-out"],
|
|
333
481
|
context: {
|
|
334
|
-
total:
|
|
482
|
+
total: 8192,
|
|
335
483
|
maxOutput: 4096
|
|
336
484
|
}
|
|
337
485
|
}
|
|
338
486
|
]
|
|
339
487
|
};
|
|
340
488
|
|
|
489
|
+
// src/data/models/deepseek-models.json
|
|
490
|
+
var deepseek_models_default = {
|
|
491
|
+
models: [
|
|
492
|
+
{
|
|
493
|
+
id: "deepseek-chat",
|
|
494
|
+
name: "DeepSeek V3",
|
|
495
|
+
license: "apache-2.0",
|
|
496
|
+
providers: ["deepseek"],
|
|
497
|
+
can: [
|
|
498
|
+
"chat",
|
|
499
|
+
"text-in",
|
|
500
|
+
"text-out",
|
|
501
|
+
"json-out",
|
|
502
|
+
"function-out"
|
|
503
|
+
],
|
|
504
|
+
context: {
|
|
505
|
+
total: 131072,
|
|
506
|
+
maxOutput: 131072
|
|
507
|
+
}
|
|
508
|
+
},
|
|
509
|
+
{
|
|
510
|
+
id: "deepseek-reasoner",
|
|
511
|
+
name: "DeepSeek R1",
|
|
512
|
+
license: "apache-2.0",
|
|
513
|
+
providers: ["deepseek"],
|
|
514
|
+
can: [
|
|
515
|
+
"chat",
|
|
516
|
+
"text-in",
|
|
517
|
+
"text-out",
|
|
518
|
+
"json-out",
|
|
519
|
+
"function-out",
|
|
520
|
+
"reason"
|
|
521
|
+
],
|
|
522
|
+
context: {
|
|
523
|
+
total: 131072,
|
|
524
|
+
maxOutput: 131072
|
|
525
|
+
}
|
|
526
|
+
}
|
|
527
|
+
]
|
|
528
|
+
};
|
|
529
|
+
|
|
341
530
|
// src/builders/models.ts
|
|
342
531
|
function buildAllModels() {
|
|
343
532
|
return [
|
|
344
|
-
...
|
|
345
|
-
...
|
|
346
|
-
...
|
|
347
|
-
...
|
|
533
|
+
...openai_models_default.models,
|
|
534
|
+
...anthropic_models_default.models,
|
|
535
|
+
...meta_models_default.models,
|
|
536
|
+
...mistral_models_default.models,
|
|
537
|
+
...google_models_default.models,
|
|
538
|
+
...deepseek_models_default.models
|
|
348
539
|
];
|
|
349
540
|
}
|
|
350
541
|
|
|
351
|
-
// src/data/providers/openai.json
|
|
352
|
-
var
|
|
542
|
+
// src/data/providers/openai-provider.json
|
|
543
|
+
var openai_provider_default = {
|
|
353
544
|
id: "openai",
|
|
354
545
|
name: "OpenAI",
|
|
355
546
|
websiteUrl: "https://openai.com/",
|
|
@@ -439,8 +630,8 @@ var openai_default2 = {
|
|
|
439
630
|
}
|
|
440
631
|
};
|
|
441
632
|
|
|
442
|
-
// src/data/providers/anthropic.json
|
|
443
|
-
var
|
|
633
|
+
// src/data/providers/anthropic-provider.json
|
|
634
|
+
var anthropic_provider_default = {
|
|
444
635
|
id: "anthropic",
|
|
445
636
|
name: "Anthropic",
|
|
446
637
|
websiteUrl: "https://www.anthropic.com/",
|
|
@@ -465,8 +656,8 @@ var anthropic_default2 = {
|
|
|
465
656
|
}
|
|
466
657
|
};
|
|
467
658
|
|
|
468
|
-
// src/data/providers/mistral.json
|
|
469
|
-
var
|
|
659
|
+
// src/data/providers/mistral-provider.json
|
|
660
|
+
var mistral_provider_default = {
|
|
470
661
|
id: "mistral",
|
|
471
662
|
name: "Mistral",
|
|
472
663
|
websiteUrl: "https://mistral.ai/",
|
|
@@ -535,9 +726,9 @@ function validateProvider(raw) {
|
|
|
535
726
|
}
|
|
536
727
|
function buildAllProviders() {
|
|
537
728
|
return [
|
|
538
|
-
validateProvider(
|
|
539
|
-
validateProvider(
|
|
540
|
-
validateProvider(
|
|
729
|
+
validateProvider(openai_provider_default),
|
|
730
|
+
validateProvider(anthropic_provider_default),
|
|
731
|
+
validateProvider(mistral_provider_default)
|
|
541
732
|
];
|
|
542
733
|
}
|
|
543
734
|
function buildProvidersData() {
|
package/dist/index.mjs
CHANGED
|
@@ -23,16 +23,35 @@ var ModelCollection = class _ModelCollection extends Array {
|
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
25
|
|
|
26
|
-
// src/data/models/openai.json
|
|
27
|
-
var
|
|
26
|
+
// src/data/models/openai-models.json
|
|
27
|
+
var openai_models_default = {
|
|
28
28
|
models: [
|
|
29
29
|
{
|
|
30
|
-
id: "whisper-
|
|
31
|
-
name: "Whisper
|
|
32
|
-
license: "
|
|
30
|
+
id: "whisper-large-v3",
|
|
31
|
+
name: "Whisper Large v3",
|
|
32
|
+
license: "mit",
|
|
33
33
|
providers: [
|
|
34
34
|
"openai",
|
|
35
|
-
"azure"
|
|
35
|
+
"azure",
|
|
36
|
+
"groq"
|
|
37
|
+
],
|
|
38
|
+
can: [
|
|
39
|
+
"sound-in",
|
|
40
|
+
"text-out"
|
|
41
|
+
],
|
|
42
|
+
context: {
|
|
43
|
+
total: null,
|
|
44
|
+
maxOutput: null
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
id: "whisper-large-v3-turbo",
|
|
49
|
+
name: "Whisper Large v3 Turbo",
|
|
50
|
+
license: "mit",
|
|
51
|
+
providers: [
|
|
52
|
+
"openai",
|
|
53
|
+
"azure",
|
|
54
|
+
"groq"
|
|
36
55
|
],
|
|
37
56
|
can: [
|
|
38
57
|
"sound-in",
|
|
@@ -238,8 +257,8 @@ var openai_default = {
|
|
|
238
257
|
]
|
|
239
258
|
};
|
|
240
259
|
|
|
241
|
-
// src/data/models/anthropic.json
|
|
242
|
-
var
|
|
260
|
+
// src/data/models/anthropic-models.json
|
|
261
|
+
var anthropic_models_default = {
|
|
243
262
|
models: [
|
|
244
263
|
{
|
|
245
264
|
id: "claude-3-opus",
|
|
@@ -277,52 +296,224 @@ var anthropic_default = {
|
|
|
277
296
|
]
|
|
278
297
|
};
|
|
279
298
|
|
|
280
|
-
// src/data/models/meta.json
|
|
281
|
-
var
|
|
299
|
+
// src/data/models/meta-models.json
|
|
300
|
+
var meta_models_default = {
|
|
282
301
|
models: [
|
|
283
302
|
{
|
|
284
|
-
id: "
|
|
285
|
-
name: "Llama
|
|
286
|
-
license: "llama-
|
|
287
|
-
providers: ["groq"
|
|
288
|
-
can: ["chat", "json-out", "function-out"],
|
|
303
|
+
id: "llama3-70b-8192",
|
|
304
|
+
name: "Llama 3 70B",
|
|
305
|
+
license: "llama-3-community",
|
|
306
|
+
providers: ["groq"],
|
|
307
|
+
can: ["chat", "text-in", "text-out", "json-out", "function-out"],
|
|
308
|
+
context: {
|
|
309
|
+
total: 8192,
|
|
310
|
+
maxOutput: 4096
|
|
311
|
+
}
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
id: "llama3-8b-8192",
|
|
315
|
+
name: "Llama 3 8B",
|
|
316
|
+
license: "llama-3-community",
|
|
317
|
+
providers: ["groq"],
|
|
318
|
+
can: ["chat", "text-in", "text-out", "json-out", "function-out"],
|
|
319
|
+
context: {
|
|
320
|
+
total: 8192,
|
|
321
|
+
maxOutput: 4096
|
|
322
|
+
}
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
id: "llama-3.2-11b-vision-preview",
|
|
326
|
+
name: "Llama 3.2 11B Vision",
|
|
327
|
+
license: "llama-3-community",
|
|
328
|
+
providers: ["groq"],
|
|
329
|
+
can: ["chat", "text-in", "text-out", "img-in"],
|
|
330
|
+
context: {
|
|
331
|
+
total: 4096,
|
|
332
|
+
maxOutput: 4096
|
|
333
|
+
}
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
id: "llama-3.2-90b-vision-preview",
|
|
337
|
+
name: "Llama 3.2 90B Vision",
|
|
338
|
+
license: "llama-3-community",
|
|
339
|
+
providers: ["groq"],
|
|
340
|
+
can: ["chat", "text-in", "text-out", "img-in"],
|
|
289
341
|
context: {
|
|
290
342
|
total: 4096,
|
|
291
343
|
maxOutput: 4096
|
|
292
344
|
}
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
id: "llama-guard-3-8b",
|
|
348
|
+
name: "LlamaGuard 3 8B",
|
|
349
|
+
license: "llama-3-community",
|
|
350
|
+
providers: ["groq"],
|
|
351
|
+
can: ["chat", "text-in", "text-out"],
|
|
352
|
+
context: {
|
|
353
|
+
total: 4096,
|
|
354
|
+
maxOutput: 4096
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
]
|
|
358
|
+
};
|
|
359
|
+
|
|
360
|
+
// src/data/models/mistral-models.json
|
|
361
|
+
var mistral_models_default = {
|
|
362
|
+
models: [
|
|
363
|
+
{
|
|
364
|
+
id: "mistral-large-2402",
|
|
365
|
+
name: "Mistral Large",
|
|
366
|
+
license: "proprietary",
|
|
367
|
+
providers: ["mistral", "azure"],
|
|
368
|
+
can: [
|
|
369
|
+
"chat",
|
|
370
|
+
"text-in",
|
|
371
|
+
"text-out",
|
|
372
|
+
"json-out",
|
|
373
|
+
"function-out"
|
|
374
|
+
],
|
|
375
|
+
context: {
|
|
376
|
+
total: 32768,
|
|
377
|
+
maxOutput: 4096
|
|
378
|
+
}
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
id: "mistral-small-2402",
|
|
382
|
+
name: "Mistral Small",
|
|
383
|
+
license: "proprietary",
|
|
384
|
+
providers: ["mistral", "azure"],
|
|
385
|
+
can: [
|
|
386
|
+
"chat",
|
|
387
|
+
"text-in",
|
|
388
|
+
"text-out",
|
|
389
|
+
"json-out",
|
|
390
|
+
"function-out"
|
|
391
|
+
],
|
|
392
|
+
context: {
|
|
393
|
+
total: 32768,
|
|
394
|
+
maxOutput: 4096
|
|
395
|
+
}
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
id: "mistral-medium",
|
|
399
|
+
name: "Mistral Medium",
|
|
400
|
+
license: "proprietary",
|
|
401
|
+
providers: ["mistral"],
|
|
402
|
+
can: [
|
|
403
|
+
"chat",
|
|
404
|
+
"text-in",
|
|
405
|
+
"text-out"
|
|
406
|
+
],
|
|
407
|
+
context: {
|
|
408
|
+
total: 32768,
|
|
409
|
+
maxOutput: 4096
|
|
410
|
+
}
|
|
411
|
+
},
|
|
412
|
+
{
|
|
413
|
+
id: "open-mistral-7b",
|
|
414
|
+
name: "Open Mistral 7B",
|
|
415
|
+
license: "apache-2.0",
|
|
416
|
+
providers: ["mistral", "groq"],
|
|
417
|
+
can: [
|
|
418
|
+
"chat",
|
|
419
|
+
"text-in",
|
|
420
|
+
"text-out"
|
|
421
|
+
],
|
|
422
|
+
context: {
|
|
423
|
+
total: 32768,
|
|
424
|
+
maxOutput: 4096
|
|
425
|
+
}
|
|
426
|
+
},
|
|
427
|
+
{
|
|
428
|
+
id: "open-mixtral-8x7b",
|
|
429
|
+
name: "Open Mixtral 8x7B",
|
|
430
|
+
license: "apache-2.0",
|
|
431
|
+
providers: ["mistral", "groq"],
|
|
432
|
+
can: [
|
|
433
|
+
"chat",
|
|
434
|
+
"text-in",
|
|
435
|
+
"text-out"
|
|
436
|
+
],
|
|
437
|
+
context: {
|
|
438
|
+
total: 32768,
|
|
439
|
+
maxOutput: 4096
|
|
440
|
+
}
|
|
293
441
|
}
|
|
294
442
|
]
|
|
295
443
|
};
|
|
296
444
|
|
|
297
|
-
// src/data/models/
|
|
298
|
-
var
|
|
445
|
+
// src/data/models/google-models.json
|
|
446
|
+
var google_models_default = {
|
|
299
447
|
models: [
|
|
300
448
|
{
|
|
301
|
-
id: "
|
|
302
|
-
name: "
|
|
449
|
+
id: "gemma2-9b-it",
|
|
450
|
+
name: "Gemma 2 9B Instruct",
|
|
303
451
|
license: "apache-2.0",
|
|
304
452
|
providers: ["groq"],
|
|
305
|
-
can: ["chat", "json-out", "function-out"],
|
|
453
|
+
can: ["chat", "text-in", "text-out", "json-out", "function-out"],
|
|
306
454
|
context: {
|
|
307
|
-
total:
|
|
455
|
+
total: 8192,
|
|
308
456
|
maxOutput: 4096
|
|
309
457
|
}
|
|
310
458
|
}
|
|
311
459
|
]
|
|
312
460
|
};
|
|
313
461
|
|
|
462
|
+
// src/data/models/deepseek-models.json
|
|
463
|
+
var deepseek_models_default = {
|
|
464
|
+
models: [
|
|
465
|
+
{
|
|
466
|
+
id: "deepseek-chat",
|
|
467
|
+
name: "DeepSeek V3",
|
|
468
|
+
license: "apache-2.0",
|
|
469
|
+
providers: ["deepseek"],
|
|
470
|
+
can: [
|
|
471
|
+
"chat",
|
|
472
|
+
"text-in",
|
|
473
|
+
"text-out",
|
|
474
|
+
"json-out",
|
|
475
|
+
"function-out"
|
|
476
|
+
],
|
|
477
|
+
context: {
|
|
478
|
+
total: 131072,
|
|
479
|
+
maxOutput: 131072
|
|
480
|
+
}
|
|
481
|
+
},
|
|
482
|
+
{
|
|
483
|
+
id: "deepseek-reasoner",
|
|
484
|
+
name: "DeepSeek R1",
|
|
485
|
+
license: "apache-2.0",
|
|
486
|
+
providers: ["deepseek"],
|
|
487
|
+
can: [
|
|
488
|
+
"chat",
|
|
489
|
+
"text-in",
|
|
490
|
+
"text-out",
|
|
491
|
+
"json-out",
|
|
492
|
+
"function-out",
|
|
493
|
+
"reason"
|
|
494
|
+
],
|
|
495
|
+
context: {
|
|
496
|
+
total: 131072,
|
|
497
|
+
maxOutput: 131072
|
|
498
|
+
}
|
|
499
|
+
}
|
|
500
|
+
]
|
|
501
|
+
};
|
|
502
|
+
|
|
314
503
|
// src/builders/models.ts
|
|
315
504
|
function buildAllModels() {
|
|
316
505
|
return [
|
|
317
|
-
...
|
|
318
|
-
...
|
|
319
|
-
...
|
|
320
|
-
...
|
|
506
|
+
...openai_models_default.models,
|
|
507
|
+
...anthropic_models_default.models,
|
|
508
|
+
...meta_models_default.models,
|
|
509
|
+
...mistral_models_default.models,
|
|
510
|
+
...google_models_default.models,
|
|
511
|
+
...deepseek_models_default.models
|
|
321
512
|
];
|
|
322
513
|
}
|
|
323
514
|
|
|
324
|
-
// src/data/providers/openai.json
|
|
325
|
-
var
|
|
515
|
+
// src/data/providers/openai-provider.json
|
|
516
|
+
var openai_provider_default = {
|
|
326
517
|
id: "openai",
|
|
327
518
|
name: "OpenAI",
|
|
328
519
|
websiteUrl: "https://openai.com/",
|
|
@@ -412,8 +603,8 @@ var openai_default2 = {
|
|
|
412
603
|
}
|
|
413
604
|
};
|
|
414
605
|
|
|
415
|
-
// src/data/providers/anthropic.json
|
|
416
|
-
var
|
|
606
|
+
// src/data/providers/anthropic-provider.json
|
|
607
|
+
var anthropic_provider_default = {
|
|
417
608
|
id: "anthropic",
|
|
418
609
|
name: "Anthropic",
|
|
419
610
|
websiteUrl: "https://www.anthropic.com/",
|
|
@@ -438,8 +629,8 @@ var anthropic_default2 = {
|
|
|
438
629
|
}
|
|
439
630
|
};
|
|
440
631
|
|
|
441
|
-
// src/data/providers/mistral.json
|
|
442
|
-
var
|
|
632
|
+
// src/data/providers/mistral-provider.json
|
|
633
|
+
var mistral_provider_default = {
|
|
443
634
|
id: "mistral",
|
|
444
635
|
name: "Mistral",
|
|
445
636
|
websiteUrl: "https://mistral.ai/",
|
|
@@ -508,9 +699,9 @@ function validateProvider(raw) {
|
|
|
508
699
|
}
|
|
509
700
|
function buildAllProviders() {
|
|
510
701
|
return [
|
|
511
|
-
validateProvider(
|
|
512
|
-
validateProvider(
|
|
513
|
-
validateProvider(
|
|
702
|
+
validateProvider(openai_provider_default),
|
|
703
|
+
validateProvider(anthropic_provider_default),
|
|
704
|
+
validateProvider(mistral_provider_default)
|
|
514
705
|
];
|
|
515
706
|
}
|
|
516
707
|
function buildProvidersData() {
|