@caupulican/pi-ai 0.80.22 → 0.80.25
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/models.generated.d.ts +167 -61
- package/dist/models.generated.d.ts.map +1 -1
- package/dist/models.generated.js +184 -109
- package/dist/models.generated.js.map +1 -1
- package/dist/providers/amazon-bedrock.d.ts.map +1 -1
- package/dist/providers/amazon-bedrock.js +3 -0
- package/dist/providers/amazon-bedrock.js.map +1 -1
- package/dist/providers/anthropic.d.ts.map +1 -1
- package/dist/providers/anthropic.js +6 -0
- package/dist/providers/anthropic.js.map +1 -1
- package/dist/providers/openai-codex-responses.d.ts.map +1 -1
- package/dist/providers/openai-codex-responses.js +11 -16
- package/dist/providers/openai-codex-responses.js.map +1 -1
- package/dist/utils/abort-signals.d.ts +6 -0
- package/dist/utils/abort-signals.d.ts.map +1 -1
- package/dist/utils/abort-signals.js +22 -0
- package/dist/utils/abort-signals.js.map +1 -1
- package/package.json +2 -2
|
@@ -3806,6 +3806,26 @@ export declare const MODELS: {
|
|
|
3806
3806
|
contextWindow: number;
|
|
3807
3807
|
maxTokens: number;
|
|
3808
3808
|
};
|
|
3809
|
+
readonly "@cf/moonshotai/kimi-k2.7-code": {
|
|
3810
|
+
id: string;
|
|
3811
|
+
name: string;
|
|
3812
|
+
api: "openai-completions";
|
|
3813
|
+
provider: string;
|
|
3814
|
+
baseUrl: string;
|
|
3815
|
+
compat: {
|
|
3816
|
+
sendSessionAffinityHeaders: true;
|
|
3817
|
+
};
|
|
3818
|
+
reasoning: true;
|
|
3819
|
+
input: ("image" | "text")[];
|
|
3820
|
+
cost: {
|
|
3821
|
+
input: number;
|
|
3822
|
+
output: number;
|
|
3823
|
+
cacheRead: number;
|
|
3824
|
+
cacheWrite: number;
|
|
3825
|
+
};
|
|
3826
|
+
contextWindow: number;
|
|
3827
|
+
maxTokens: number;
|
|
3828
|
+
};
|
|
3809
3829
|
readonly "@cf/nvidia/nemotron-3-120b-a12b": {
|
|
3810
3830
|
id: string;
|
|
3811
3831
|
name: string;
|
|
@@ -4081,7 +4101,7 @@ export declare const MODELS: {
|
|
|
4081
4101
|
contextWindow: number;
|
|
4082
4102
|
maxTokens: number;
|
|
4083
4103
|
};
|
|
4084
|
-
readonly "accounts/fireworks/models/kimi-
|
|
4104
|
+
readonly "accounts/fireworks/models/kimi-k2p6": {
|
|
4085
4105
|
id: string;
|
|
4086
4106
|
name: string;
|
|
4087
4107
|
api: "anthropic-messages";
|
|
@@ -4104,7 +4124,7 @@ export declare const MODELS: {
|
|
|
4104
4124
|
contextWindow: number;
|
|
4105
4125
|
maxTokens: number;
|
|
4106
4126
|
};
|
|
4107
|
-
readonly "accounts/fireworks/models/kimi-
|
|
4127
|
+
readonly "accounts/fireworks/models/kimi-k2p7-code": {
|
|
4108
4128
|
id: string;
|
|
4109
4129
|
name: string;
|
|
4110
4130
|
api: "anthropic-messages";
|
|
@@ -4127,7 +4147,7 @@ export declare const MODELS: {
|
|
|
4127
4147
|
contextWindow: number;
|
|
4128
4148
|
maxTokens: number;
|
|
4129
4149
|
};
|
|
4130
|
-
readonly "accounts/fireworks/models/minimax-
|
|
4150
|
+
readonly "accounts/fireworks/models/minimax-m2p7": {
|
|
4131
4151
|
id: string;
|
|
4132
4152
|
name: string;
|
|
4133
4153
|
api: "anthropic-messages";
|
|
@@ -4150,7 +4170,7 @@ export declare const MODELS: {
|
|
|
4150
4170
|
contextWindow: number;
|
|
4151
4171
|
maxTokens: number;
|
|
4152
4172
|
};
|
|
4153
|
-
readonly "accounts/fireworks/models/minimax-
|
|
4173
|
+
readonly "accounts/fireworks/models/minimax-m3": {
|
|
4154
4174
|
id: string;
|
|
4155
4175
|
name: string;
|
|
4156
4176
|
api: "anthropic-messages";
|
|
@@ -4173,7 +4193,7 @@ export declare const MODELS: {
|
|
|
4173
4193
|
contextWindow: number;
|
|
4174
4194
|
maxTokens: number;
|
|
4175
4195
|
};
|
|
4176
|
-
readonly "accounts/fireworks/models/
|
|
4196
|
+
readonly "accounts/fireworks/models/qwen3p7-plus": {
|
|
4177
4197
|
id: string;
|
|
4178
4198
|
name: string;
|
|
4179
4199
|
api: "anthropic-messages";
|
|
@@ -4265,6 +4285,29 @@ export declare const MODELS: {
|
|
|
4265
4285
|
contextWindow: number;
|
|
4266
4286
|
maxTokens: number;
|
|
4267
4287
|
};
|
|
4288
|
+
readonly "accounts/fireworks/routers/kimi-k2p7-code-fast": {
|
|
4289
|
+
id: string;
|
|
4290
|
+
name: string;
|
|
4291
|
+
api: "anthropic-messages";
|
|
4292
|
+
provider: string;
|
|
4293
|
+
baseUrl: string;
|
|
4294
|
+
compat: {
|
|
4295
|
+
sendSessionAffinityHeaders: true;
|
|
4296
|
+
supportsEagerToolInputStreaming: false;
|
|
4297
|
+
supportsCacheControlOnTools: false;
|
|
4298
|
+
supportsLongCacheRetention: false;
|
|
4299
|
+
};
|
|
4300
|
+
reasoning: true;
|
|
4301
|
+
input: ("image" | "text")[];
|
|
4302
|
+
cost: {
|
|
4303
|
+
input: number;
|
|
4304
|
+
output: number;
|
|
4305
|
+
cacheRead: number;
|
|
4306
|
+
cacheWrite: number;
|
|
4307
|
+
};
|
|
4308
|
+
contextWindow: number;
|
|
4309
|
+
maxTokens: number;
|
|
4310
|
+
};
|
|
4268
4311
|
};
|
|
4269
4312
|
readonly "github-copilot": {
|
|
4270
4313
|
readonly "claude-fable-5": {
|
|
@@ -6041,6 +6084,26 @@ export declare const MODELS: {
|
|
|
6041
6084
|
};
|
|
6042
6085
|
};
|
|
6043
6086
|
readonly "kimi-coding": {
|
|
6087
|
+
readonly k2p7: {
|
|
6088
|
+
id: string;
|
|
6089
|
+
name: string;
|
|
6090
|
+
api: "anthropic-messages";
|
|
6091
|
+
provider: string;
|
|
6092
|
+
baseUrl: string;
|
|
6093
|
+
headers: {
|
|
6094
|
+
"User-Agent": string;
|
|
6095
|
+
};
|
|
6096
|
+
reasoning: true;
|
|
6097
|
+
input: ("image" | "text")[];
|
|
6098
|
+
cost: {
|
|
6099
|
+
input: number;
|
|
6100
|
+
output: number;
|
|
6101
|
+
cacheRead: number;
|
|
6102
|
+
cacheWrite: number;
|
|
6103
|
+
};
|
|
6104
|
+
contextWindow: number;
|
|
6105
|
+
maxTokens: number;
|
|
6106
|
+
};
|
|
6044
6107
|
readonly "kimi-for-coding": {
|
|
6045
6108
|
id: string;
|
|
6046
6109
|
name: string;
|
|
@@ -6861,6 +6924,30 @@ export declare const MODELS: {
|
|
|
6861
6924
|
contextWindow: number;
|
|
6862
6925
|
maxTokens: number;
|
|
6863
6926
|
};
|
|
6927
|
+
readonly "kimi-k2.7-code": {
|
|
6928
|
+
id: string;
|
|
6929
|
+
name: string;
|
|
6930
|
+
api: "openai-completions";
|
|
6931
|
+
provider: string;
|
|
6932
|
+
baseUrl: string;
|
|
6933
|
+
compat: {
|
|
6934
|
+
supportsStore: false;
|
|
6935
|
+
supportsDeveloperRole: false;
|
|
6936
|
+
supportsReasoningEffort: false;
|
|
6937
|
+
maxTokensField: "max_tokens";
|
|
6938
|
+
supportsStrictMode: false;
|
|
6939
|
+
};
|
|
6940
|
+
reasoning: true;
|
|
6941
|
+
input: ("image" | "text")[];
|
|
6942
|
+
cost: {
|
|
6943
|
+
input: number;
|
|
6944
|
+
output: number;
|
|
6945
|
+
cacheRead: number;
|
|
6946
|
+
cacheWrite: number;
|
|
6947
|
+
};
|
|
6948
|
+
contextWindow: number;
|
|
6949
|
+
maxTokens: number;
|
|
6950
|
+
};
|
|
6864
6951
|
};
|
|
6865
6952
|
readonly "moonshotai-cn": {
|
|
6866
6953
|
readonly "kimi-k2-0711-preview": {
|
|
@@ -7982,23 +8069,6 @@ export declare const MODELS: {
|
|
|
7982
8069
|
contextWindow: number;
|
|
7983
8070
|
maxTokens: number;
|
|
7984
8071
|
};
|
|
7985
|
-
readonly "claude-fable-5": {
|
|
7986
|
-
id: string;
|
|
7987
|
-
name: string;
|
|
7988
|
-
api: "anthropic-messages";
|
|
7989
|
-
provider: string;
|
|
7990
|
-
baseUrl: string;
|
|
7991
|
-
reasoning: true;
|
|
7992
|
-
input: ("image" | "text")[];
|
|
7993
|
-
cost: {
|
|
7994
|
-
input: number;
|
|
7995
|
-
output: number;
|
|
7996
|
-
cacheRead: number;
|
|
7997
|
-
cacheWrite: number;
|
|
7998
|
-
};
|
|
7999
|
-
contextWindow: number;
|
|
8000
|
-
maxTokens: number;
|
|
8001
|
-
};
|
|
8002
8072
|
readonly "claude-haiku-4-5": {
|
|
8003
8073
|
id: string;
|
|
8004
8074
|
name: string;
|
|
@@ -8963,23 +9033,6 @@ export declare const MODELS: {
|
|
|
8963
9033
|
contextWindow: number;
|
|
8964
9034
|
maxTokens: number;
|
|
8965
9035
|
};
|
|
8966
|
-
readonly "kimi-k2.5": {
|
|
8967
|
-
id: string;
|
|
8968
|
-
name: string;
|
|
8969
|
-
api: "openai-completions";
|
|
8970
|
-
provider: string;
|
|
8971
|
-
baseUrl: string;
|
|
8972
|
-
reasoning: true;
|
|
8973
|
-
input: ("image" | "text")[];
|
|
8974
|
-
cost: {
|
|
8975
|
-
input: number;
|
|
8976
|
-
output: number;
|
|
8977
|
-
cacheRead: number;
|
|
8978
|
-
cacheWrite: number;
|
|
8979
|
-
};
|
|
8980
|
-
contextWindow: number;
|
|
8981
|
-
maxTokens: number;
|
|
8982
|
-
};
|
|
8983
9036
|
readonly "kimi-k2.6": {
|
|
8984
9037
|
id: string;
|
|
8985
9038
|
name: string;
|
|
@@ -9006,7 +9059,7 @@ export declare const MODELS: {
|
|
|
9006
9059
|
contextWindow: number;
|
|
9007
9060
|
maxTokens: number;
|
|
9008
9061
|
};
|
|
9009
|
-
readonly "
|
|
9062
|
+
readonly "kimi-k2.7-code": {
|
|
9010
9063
|
id: string;
|
|
9011
9064
|
name: string;
|
|
9012
9065
|
api: "openai-completions";
|
|
@@ -9023,14 +9076,14 @@ export declare const MODELS: {
|
|
|
9023
9076
|
contextWindow: number;
|
|
9024
9077
|
maxTokens: number;
|
|
9025
9078
|
};
|
|
9026
|
-
readonly "mimo-v2.5
|
|
9079
|
+
readonly "mimo-v2.5": {
|
|
9027
9080
|
id: string;
|
|
9028
9081
|
name: string;
|
|
9029
9082
|
api: "openai-completions";
|
|
9030
9083
|
provider: string;
|
|
9031
9084
|
baseUrl: string;
|
|
9032
9085
|
reasoning: true;
|
|
9033
|
-
input: "text"[];
|
|
9086
|
+
input: ("image" | "text")[];
|
|
9034
9087
|
cost: {
|
|
9035
9088
|
input: number;
|
|
9036
9089
|
output: number;
|
|
@@ -9040,10 +9093,10 @@ export declare const MODELS: {
|
|
|
9040
9093
|
contextWindow: number;
|
|
9041
9094
|
maxTokens: number;
|
|
9042
9095
|
};
|
|
9043
|
-
readonly "
|
|
9096
|
+
readonly "mimo-v2.5-pro": {
|
|
9044
9097
|
id: string;
|
|
9045
9098
|
name: string;
|
|
9046
|
-
api: "
|
|
9099
|
+
api: "openai-completions";
|
|
9047
9100
|
provider: string;
|
|
9048
9101
|
baseUrl: string;
|
|
9049
9102
|
reasoning: true;
|
|
@@ -13564,6 +13617,37 @@ export declare const MODELS: {
|
|
|
13564
13617
|
contextWindow: number;
|
|
13565
13618
|
maxTokens: number;
|
|
13566
13619
|
};
|
|
13620
|
+
readonly "MiniMaxAI/MiniMax-M3": {
|
|
13621
|
+
id: string;
|
|
13622
|
+
name: string;
|
|
13623
|
+
api: "openai-completions";
|
|
13624
|
+
provider: string;
|
|
13625
|
+
baseUrl: string;
|
|
13626
|
+
compat: {
|
|
13627
|
+
supportsStore: false;
|
|
13628
|
+
supportsDeveloperRole: false;
|
|
13629
|
+
supportsReasoningEffort: false;
|
|
13630
|
+
maxTokensField: "max_tokens";
|
|
13631
|
+
supportsStrictMode: false;
|
|
13632
|
+
supportsLongCacheRetention: false;
|
|
13633
|
+
thinkingFormat: "together";
|
|
13634
|
+
};
|
|
13635
|
+
reasoning: true;
|
|
13636
|
+
thinkingLevelMap: {
|
|
13637
|
+
minimal: null;
|
|
13638
|
+
low: null;
|
|
13639
|
+
medium: null;
|
|
13640
|
+
};
|
|
13641
|
+
input: ("image" | "text")[];
|
|
13642
|
+
cost: {
|
|
13643
|
+
input: number;
|
|
13644
|
+
output: number;
|
|
13645
|
+
cacheRead: number;
|
|
13646
|
+
cacheWrite: number;
|
|
13647
|
+
};
|
|
13648
|
+
contextWindow: number;
|
|
13649
|
+
maxTokens: number;
|
|
13650
|
+
};
|
|
13567
13651
|
readonly "Qwen/Qwen2.5-7B-Instruct-Turbo": {
|
|
13568
13652
|
id: string;
|
|
13569
13653
|
name: string;
|
|
@@ -14440,23 +14524,6 @@ export declare const MODELS: {
|
|
|
14440
14524
|
contextWindow: number;
|
|
14441
14525
|
maxTokens: number;
|
|
14442
14526
|
};
|
|
14443
|
-
readonly "anthropic/claude-fable-5": {
|
|
14444
|
-
id: string;
|
|
14445
|
-
name: string;
|
|
14446
|
-
api: "anthropic-messages";
|
|
14447
|
-
provider: string;
|
|
14448
|
-
baseUrl: string;
|
|
14449
|
-
reasoning: true;
|
|
14450
|
-
input: ("image" | "text")[];
|
|
14451
|
-
cost: {
|
|
14452
|
-
input: number;
|
|
14453
|
-
output: number;
|
|
14454
|
-
cacheRead: number;
|
|
14455
|
-
cacheWrite: number;
|
|
14456
|
-
};
|
|
14457
|
-
contextWindow: number;
|
|
14458
|
-
maxTokens: number;
|
|
14459
|
-
};
|
|
14460
14527
|
readonly "anthropic/claude-haiku-4.5": {
|
|
14461
14528
|
id: string;
|
|
14462
14529
|
name: string;
|
|
@@ -15636,6 +15703,23 @@ export declare const MODELS: {
|
|
|
15636
15703
|
contextWindow: number;
|
|
15637
15704
|
maxTokens: number;
|
|
15638
15705
|
};
|
|
15706
|
+
readonly "moonshotai/kimi-k2.7-code": {
|
|
15707
|
+
id: string;
|
|
15708
|
+
name: string;
|
|
15709
|
+
api: "anthropic-messages";
|
|
15710
|
+
provider: string;
|
|
15711
|
+
baseUrl: string;
|
|
15712
|
+
reasoning: true;
|
|
15713
|
+
input: ("image" | "text")[];
|
|
15714
|
+
cost: {
|
|
15715
|
+
input: number;
|
|
15716
|
+
output: number;
|
|
15717
|
+
cacheRead: number;
|
|
15718
|
+
cacheWrite: number;
|
|
15719
|
+
};
|
|
15720
|
+
contextWindow: number;
|
|
15721
|
+
maxTokens: number;
|
|
15722
|
+
};
|
|
15639
15723
|
readonly "nvidia/nemotron-3-super-120b-a12b": {
|
|
15640
15724
|
id: string;
|
|
15641
15725
|
name: string;
|
|
@@ -17575,6 +17659,28 @@ export declare const MODELS: {
|
|
|
17575
17659
|
contextWindow: number;
|
|
17576
17660
|
maxTokens: number;
|
|
17577
17661
|
};
|
|
17662
|
+
readonly "glm-5.2": {
|
|
17663
|
+
id: string;
|
|
17664
|
+
name: string;
|
|
17665
|
+
api: "openai-completions";
|
|
17666
|
+
provider: string;
|
|
17667
|
+
baseUrl: string;
|
|
17668
|
+
compat: {
|
|
17669
|
+
supportsDeveloperRole: false;
|
|
17670
|
+
thinkingFormat: "zai";
|
|
17671
|
+
zaiToolStream: true;
|
|
17672
|
+
};
|
|
17673
|
+
reasoning: true;
|
|
17674
|
+
input: "text"[];
|
|
17675
|
+
cost: {
|
|
17676
|
+
input: number;
|
|
17677
|
+
output: number;
|
|
17678
|
+
cacheRead: number;
|
|
17679
|
+
cacheWrite: number;
|
|
17680
|
+
};
|
|
17681
|
+
contextWindow: number;
|
|
17682
|
+
maxTokens: number;
|
|
17683
|
+
};
|
|
17578
17684
|
readonly "glm-5v-turbo": {
|
|
17579
17685
|
id: string;
|
|
17580
17686
|
name: string;
|