@dreb/ai 2.38.1 → 2.40.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 +0 -9
- package/dist/models.generated.d.ts +7 -143
- package/dist/models.generated.d.ts.map +1 -1
- package/dist/models.generated.js +58 -194
- package/dist/models.generated.js.map +1 -1
- package/dist/providers/openai-completions.d.ts.map +1 -1
- package/dist/providers/openai-completions.js +2 -2
- package/dist/providers/openai-completions.js.map +1 -1
- package/dist/utils/sanitize-unicode.d.ts +2 -1
- package/dist/utils/sanitize-unicode.d.ts.map +1 -1
- package/dist/utils/sanitize-unicode.js +4 -4
- package/dist/utils/sanitize-unicode.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1240,15 +1240,6 @@ Update `packages/ai/README.md`:
|
|
|
1240
1240
|
- Document any provider-specific options or authentication requirements
|
|
1241
1241
|
- Add environment variable to the Environment Variables section
|
|
1242
1242
|
|
|
1243
|
-
#### 8. Changelog
|
|
1244
|
-
|
|
1245
|
-
Add an entry to `packages/ai/CHANGELOG.md` under `## [Unreleased]`:
|
|
1246
|
-
|
|
1247
|
-
```markdown
|
|
1248
|
-
### Added
|
|
1249
|
-
- Added support for [Provider Name] provider ([#PR](link) by [@author](link))
|
|
1250
|
-
```
|
|
1251
|
-
|
|
1252
1243
|
## License
|
|
1253
1244
|
|
|
1254
1245
|
MIT
|
|
@@ -9363,23 +9363,6 @@ export declare const MODELS: {
|
|
|
9363
9363
|
contextWindow: number;
|
|
9364
9364
|
maxTokens: number;
|
|
9365
9365
|
};
|
|
9366
|
-
readonly "liquid/lfm-2.5-1.2b-thinking:free": {
|
|
9367
|
-
id: string;
|
|
9368
|
-
name: string;
|
|
9369
|
-
api: "openai-completions";
|
|
9370
|
-
provider: string;
|
|
9371
|
-
baseUrl: string;
|
|
9372
|
-
reasoning: true;
|
|
9373
|
-
input: "text"[];
|
|
9374
|
-
cost: {
|
|
9375
|
-
input: number;
|
|
9376
|
-
output: number;
|
|
9377
|
-
cacheRead: number;
|
|
9378
|
-
cacheWrite: number;
|
|
9379
|
-
};
|
|
9380
|
-
contextWindow: number;
|
|
9381
|
-
maxTokens: number;
|
|
9382
|
-
};
|
|
9383
9366
|
readonly "meta-llama/llama-3.1-70b-instruct": {
|
|
9384
9367
|
id: string;
|
|
9385
9368
|
name: string;
|
|
@@ -10978,23 +10961,6 @@ export declare const MODELS: {
|
|
|
10978
10961
|
contextWindow: number;
|
|
10979
10962
|
maxTokens: number;
|
|
10980
10963
|
};
|
|
10981
|
-
readonly "openai/gpt-oss-120b:free": {
|
|
10982
|
-
id: string;
|
|
10983
|
-
name: string;
|
|
10984
|
-
api: "openai-completions";
|
|
10985
|
-
provider: string;
|
|
10986
|
-
baseUrl: string;
|
|
10987
|
-
reasoning: true;
|
|
10988
|
-
input: "text"[];
|
|
10989
|
-
cost: {
|
|
10990
|
-
input: number;
|
|
10991
|
-
output: number;
|
|
10992
|
-
cacheRead: number;
|
|
10993
|
-
cacheWrite: number;
|
|
10994
|
-
};
|
|
10995
|
-
contextWindow: number;
|
|
10996
|
-
maxTokens: number;
|
|
10997
|
-
};
|
|
10998
10964
|
readonly "openai/gpt-oss-20b": {
|
|
10999
10965
|
id: string;
|
|
11000
10966
|
name: string;
|
|
@@ -13258,23 +13224,6 @@ export declare const MODELS: {
|
|
|
13258
13224
|
contextWindow: number;
|
|
13259
13225
|
maxTokens: number;
|
|
13260
13226
|
};
|
|
13261
|
-
readonly "anthropic/claude-3.5-haiku": {
|
|
13262
|
-
id: string;
|
|
13263
|
-
name: string;
|
|
13264
|
-
api: "anthropic-messages";
|
|
13265
|
-
provider: string;
|
|
13266
|
-
baseUrl: string;
|
|
13267
|
-
reasoning: false;
|
|
13268
|
-
input: ("image" | "text")[];
|
|
13269
|
-
cost: {
|
|
13270
|
-
input: number;
|
|
13271
|
-
output: number;
|
|
13272
|
-
cacheRead: number;
|
|
13273
|
-
cacheWrite: number;
|
|
13274
|
-
};
|
|
13275
|
-
contextWindow: number;
|
|
13276
|
-
maxTokens: number;
|
|
13277
|
-
};
|
|
13278
13227
|
readonly "anthropic/claude-fable-5": {
|
|
13279
13228
|
id: string;
|
|
13280
13229
|
name: string;
|
|
@@ -13479,23 +13428,6 @@ export declare const MODELS: {
|
|
|
13479
13428
|
contextWindow: number;
|
|
13480
13429
|
maxTokens: number;
|
|
13481
13430
|
};
|
|
13482
|
-
readonly "arcee-ai/trinity-large-preview": {
|
|
13483
|
-
id: string;
|
|
13484
|
-
name: string;
|
|
13485
|
-
api: "anthropic-messages";
|
|
13486
|
-
provider: string;
|
|
13487
|
-
baseUrl: string;
|
|
13488
|
-
reasoning: false;
|
|
13489
|
-
input: "text"[];
|
|
13490
|
-
cost: {
|
|
13491
|
-
input: number;
|
|
13492
|
-
output: number;
|
|
13493
|
-
cacheRead: number;
|
|
13494
|
-
cacheWrite: number;
|
|
13495
|
-
};
|
|
13496
|
-
contextWindow: number;
|
|
13497
|
-
maxTokens: number;
|
|
13498
|
-
};
|
|
13499
13431
|
readonly "arcee-ai/trinity-large-thinking": {
|
|
13500
13432
|
id: string;
|
|
13501
13433
|
name: string;
|
|
@@ -13955,13 +13887,13 @@ export declare const MODELS: {
|
|
|
13955
13887
|
contextWindow: number;
|
|
13956
13888
|
maxTokens: number;
|
|
13957
13889
|
};
|
|
13958
|
-
readonly "kwaipilot/kat-coder-
|
|
13890
|
+
readonly "kwaipilot/kat-coder-air-v2.5": {
|
|
13959
13891
|
id: string;
|
|
13960
13892
|
name: string;
|
|
13961
13893
|
api: "anthropic-messages";
|
|
13962
13894
|
provider: string;
|
|
13963
13895
|
baseUrl: string;
|
|
13964
|
-
reasoning:
|
|
13896
|
+
reasoning: true;
|
|
13965
13897
|
input: "text"[];
|
|
13966
13898
|
cost: {
|
|
13967
13899
|
input: number;
|
|
@@ -13972,13 +13904,13 @@ export declare const MODELS: {
|
|
|
13972
13904
|
contextWindow: number;
|
|
13973
13905
|
maxTokens: number;
|
|
13974
13906
|
};
|
|
13975
|
-
readonly "kwaipilot/kat-coder-pro-
|
|
13907
|
+
readonly "kwaipilot/kat-coder-pro-v1": {
|
|
13976
13908
|
id: string;
|
|
13977
13909
|
name: string;
|
|
13978
13910
|
api: "anthropic-messages";
|
|
13979
13911
|
provider: string;
|
|
13980
13912
|
baseUrl: string;
|
|
13981
|
-
reasoning:
|
|
13913
|
+
reasoning: false;
|
|
13982
13914
|
input: "text"[];
|
|
13983
13915
|
cost: {
|
|
13984
13916
|
input: number;
|
|
@@ -13989,13 +13921,13 @@ export declare const MODELS: {
|
|
|
13989
13921
|
contextWindow: number;
|
|
13990
13922
|
maxTokens: number;
|
|
13991
13923
|
};
|
|
13992
|
-
readonly "
|
|
13924
|
+
readonly "kwaipilot/kat-coder-pro-v2": {
|
|
13993
13925
|
id: string;
|
|
13994
13926
|
name: string;
|
|
13995
13927
|
api: "anthropic-messages";
|
|
13996
13928
|
provider: string;
|
|
13997
13929
|
baseUrl: string;
|
|
13998
|
-
reasoning:
|
|
13930
|
+
reasoning: true;
|
|
13999
13931
|
input: "text"[];
|
|
14000
13932
|
cost: {
|
|
14001
13933
|
input: number;
|
|
@@ -14006,7 +13938,7 @@ export declare const MODELS: {
|
|
|
14006
13938
|
contextWindow: number;
|
|
14007
13939
|
maxTokens: number;
|
|
14008
13940
|
};
|
|
14009
|
-
readonly "
|
|
13941
|
+
readonly "kwaipilot/kat-coder-pro-v2.5": {
|
|
14010
13942
|
id: string;
|
|
14011
13943
|
name: string;
|
|
14012
13944
|
api: "anthropic-messages";
|
|
@@ -14329,23 +14261,6 @@ export declare const MODELS: {
|
|
|
14329
14261
|
contextWindow: number;
|
|
14330
14262
|
maxTokens: number;
|
|
14331
14263
|
};
|
|
14332
|
-
readonly "mistral/devstral-small": {
|
|
14333
|
-
id: string;
|
|
14334
|
-
name: string;
|
|
14335
|
-
api: "anthropic-messages";
|
|
14336
|
-
provider: string;
|
|
14337
|
-
baseUrl: string;
|
|
14338
|
-
reasoning: false;
|
|
14339
|
-
input: "text"[];
|
|
14340
|
-
cost: {
|
|
14341
|
-
input: number;
|
|
14342
|
-
output: number;
|
|
14343
|
-
cacheRead: number;
|
|
14344
|
-
cacheWrite: number;
|
|
14345
|
-
};
|
|
14346
|
-
contextWindow: number;
|
|
14347
|
-
maxTokens: number;
|
|
14348
|
-
};
|
|
14349
14264
|
readonly "mistral/devstral-small-2": {
|
|
14350
14265
|
id: string;
|
|
14351
14266
|
name: string;
|
|
@@ -14550,23 +14465,6 @@ export declare const MODELS: {
|
|
|
14550
14465
|
contextWindow: number;
|
|
14551
14466
|
maxTokens: number;
|
|
14552
14467
|
};
|
|
14553
|
-
readonly "mistral/pixtral-large": {
|
|
14554
|
-
id: string;
|
|
14555
|
-
name: string;
|
|
14556
|
-
api: "anthropic-messages";
|
|
14557
|
-
provider: string;
|
|
14558
|
-
baseUrl: string;
|
|
14559
|
-
reasoning: false;
|
|
14560
|
-
input: ("image" | "text")[];
|
|
14561
|
-
cost: {
|
|
14562
|
-
input: number;
|
|
14563
|
-
output: number;
|
|
14564
|
-
cacheRead: number;
|
|
14565
|
-
cacheWrite: number;
|
|
14566
|
-
};
|
|
14567
|
-
contextWindow: number;
|
|
14568
|
-
maxTokens: number;
|
|
14569
|
-
};
|
|
14570
14468
|
readonly "moonshotai/kimi-k2": {
|
|
14571
14469
|
id: string;
|
|
14572
14470
|
name: string;
|
|
@@ -15706,40 +15604,6 @@ export declare const MODELS: {
|
|
|
15706
15604
|
contextWindow: number;
|
|
15707
15605
|
maxTokens: number;
|
|
15708
15606
|
};
|
|
15709
|
-
readonly "xiaomi/mimo-v2-flash": {
|
|
15710
|
-
id: string;
|
|
15711
|
-
name: string;
|
|
15712
|
-
api: "anthropic-messages";
|
|
15713
|
-
provider: string;
|
|
15714
|
-
baseUrl: string;
|
|
15715
|
-
reasoning: true;
|
|
15716
|
-
input: "text"[];
|
|
15717
|
-
cost: {
|
|
15718
|
-
input: number;
|
|
15719
|
-
output: number;
|
|
15720
|
-
cacheRead: number;
|
|
15721
|
-
cacheWrite: number;
|
|
15722
|
-
};
|
|
15723
|
-
contextWindow: number;
|
|
15724
|
-
maxTokens: number;
|
|
15725
|
-
};
|
|
15726
|
-
readonly "xiaomi/mimo-v2-pro": {
|
|
15727
|
-
id: string;
|
|
15728
|
-
name: string;
|
|
15729
|
-
api: "anthropic-messages";
|
|
15730
|
-
provider: string;
|
|
15731
|
-
baseUrl: string;
|
|
15732
|
-
reasoning: true;
|
|
15733
|
-
input: "text"[];
|
|
15734
|
-
cost: {
|
|
15735
|
-
input: number;
|
|
15736
|
-
output: number;
|
|
15737
|
-
cacheRead: number;
|
|
15738
|
-
cacheWrite: number;
|
|
15739
|
-
};
|
|
15740
|
-
contextWindow: number;
|
|
15741
|
-
maxTokens: number;
|
|
15742
|
-
};
|
|
15743
15607
|
readonly "xiaomi/mimo-v2.5": {
|
|
15744
15608
|
id: string;
|
|
15745
15609
|
name: string;
|