claudish 14.21.0 → 14.21.1
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 +443 -974
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -5508,7 +5508,7 @@ var init_env_placeholder = __esm(() => {
|
|
|
5508
5508
|
});
|
|
5509
5509
|
|
|
5510
5510
|
// src/version.ts
|
|
5511
|
-
var VERSION = "14.21.
|
|
5511
|
+
var VERSION = "14.21.1";
|
|
5512
5512
|
|
|
5513
5513
|
// src/redact.ts
|
|
5514
5514
|
function isPlaceholder(value) {
|
|
@@ -11781,6 +11781,18 @@ var init_bundled_recommended_list = __esm(() => {
|
|
|
11781
11781
|
}
|
|
11782
11782
|
]
|
|
11783
11783
|
},
|
|
11784
|
+
default: {
|
|
11785
|
+
basis: "vendor_default",
|
|
11786
|
+
effort: "high",
|
|
11787
|
+
sendableOn: [
|
|
11788
|
+
{
|
|
11789
|
+
encoding: "request_parameter",
|
|
11790
|
+
externalModelId: "claude-fable-5-2",
|
|
11791
|
+
routeId: "anthropic",
|
|
11792
|
+
routeProfileId: "claude-code-subscription"
|
|
11793
|
+
}
|
|
11794
|
+
]
|
|
11795
|
+
},
|
|
11784
11796
|
frontend_ui: {
|
|
11785
11797
|
basis: "owner_choice",
|
|
11786
11798
|
effort: "medium",
|
|
@@ -11903,6 +11915,18 @@ var init_bundled_recommended_list = __esm(() => {
|
|
|
11903
11915
|
}
|
|
11904
11916
|
]
|
|
11905
11917
|
},
|
|
11918
|
+
default: {
|
|
11919
|
+
basis: "vendor_default",
|
|
11920
|
+
effort: "medium",
|
|
11921
|
+
sendableOn: [
|
|
11922
|
+
{
|
|
11923
|
+
encoding: "request_parameter",
|
|
11924
|
+
externalModelId: "claude-haiku-5-5",
|
|
11925
|
+
routeId: "anthropic",
|
|
11926
|
+
routeProfileId: "claude-code-subscription"
|
|
11927
|
+
}
|
|
11928
|
+
]
|
|
11929
|
+
},
|
|
11906
11930
|
frontend_ui: {
|
|
11907
11931
|
basis: "owner_choice",
|
|
11908
11932
|
effort: "max",
|
|
@@ -12025,6 +12049,18 @@ var init_bundled_recommended_list = __esm(() => {
|
|
|
12025
12049
|
}
|
|
12026
12050
|
]
|
|
12027
12051
|
},
|
|
12052
|
+
default: {
|
|
12053
|
+
basis: "vendor_default",
|
|
12054
|
+
effort: "medium",
|
|
12055
|
+
sendableOn: [
|
|
12056
|
+
{
|
|
12057
|
+
encoding: "request_parameter",
|
|
12058
|
+
externalModelId: "claude-opus-5-5",
|
|
12059
|
+
routeId: "anthropic",
|
|
12060
|
+
routeProfileId: "claude-code-subscription"
|
|
12061
|
+
}
|
|
12062
|
+
]
|
|
12063
|
+
},
|
|
12028
12064
|
frontend_ui: {
|
|
12029
12065
|
basis: "owner_choice",
|
|
12030
12066
|
effort: "high",
|
|
@@ -12123,6 +12159,18 @@ var init_bundled_recommended_list = __esm(() => {
|
|
|
12123
12159
|
}
|
|
12124
12160
|
]
|
|
12125
12161
|
},
|
|
12162
|
+
default: {
|
|
12163
|
+
basis: "vendor_default",
|
|
12164
|
+
effort: "high",
|
|
12165
|
+
sendableOn: [
|
|
12166
|
+
{
|
|
12167
|
+
encoding: "request_parameter",
|
|
12168
|
+
externalModelId: "claude-sonnet-5-5",
|
|
12169
|
+
routeId: "anthropic",
|
|
12170
|
+
routeProfileId: "claude-code-subscription"
|
|
12171
|
+
}
|
|
12172
|
+
]
|
|
12173
|
+
},
|
|
12126
12174
|
frontend_ui: {
|
|
12127
12175
|
basis: "owner_choice",
|
|
12128
12176
|
effort: "max",
|
|
@@ -12208,7 +12256,7 @@ var init_bundled_recommended_list = __esm(() => {
|
|
|
12208
12256
|
]
|
|
12209
12257
|
}
|
|
12210
12258
|
},
|
|
12211
|
-
"deepseek-v4-
|
|
12259
|
+
"deepseek-v4.1-flash": {
|
|
12212
12260
|
code_review: {
|
|
12213
12261
|
basis: "owner_choice",
|
|
12214
12262
|
effort: "high",
|
|
@@ -12219,58 +12267,11 @@ var init_bundled_recommended_list = __esm(() => {
|
|
|
12219
12267
|
effort: "max",
|
|
12220
12268
|
sendableOn: []
|
|
12221
12269
|
},
|
|
12222
|
-
|
|
12223
|
-
basis: "
|
|
12224
|
-
effort: "max",
|
|
12225
|
-
sendableOn: []
|
|
12226
|
-
},
|
|
12227
|
-
implementation: {
|
|
12228
|
-
basis: "benchmark_knee",
|
|
12229
|
-
effort: "max",
|
|
12230
|
-
sendableOn: []
|
|
12231
|
-
},
|
|
12232
|
-
long_context: {
|
|
12233
|
-
basis: "benchmark_knee",
|
|
12234
|
-
effort: "high",
|
|
12235
|
-
sendableOn: []
|
|
12236
|
-
},
|
|
12237
|
-
planning: {
|
|
12238
|
-
basis: "benchmark_knee",
|
|
12270
|
+
default: {
|
|
12271
|
+
basis: "vendor_default",
|
|
12239
12272
|
effort: "high",
|
|
12240
12273
|
sendableOn: []
|
|
12241
12274
|
},
|
|
12242
|
-
quick_edit: {
|
|
12243
|
-
basis: "owner_choice",
|
|
12244
|
-
effort: "high",
|
|
12245
|
-
sendableOn: []
|
|
12246
|
-
},
|
|
12247
|
-
research: {
|
|
12248
|
-
basis: "owner_choice",
|
|
12249
|
-
effort: "max",
|
|
12250
|
-
sendableOn: []
|
|
12251
|
-
},
|
|
12252
|
-
terminal_ops: {
|
|
12253
|
-
basis: "owner_choice",
|
|
12254
|
-
effort: "high",
|
|
12255
|
-
sendableOn: []
|
|
12256
|
-
},
|
|
12257
|
-
tool_automation: {
|
|
12258
|
-
basis: "benchmark_knee",
|
|
12259
|
-
effort: "max",
|
|
12260
|
-
sendableOn: []
|
|
12261
|
-
}
|
|
12262
|
-
},
|
|
12263
|
-
"deepseek-v4.1-flash": {
|
|
12264
|
-
code_review: {
|
|
12265
|
-
basis: "owner_choice",
|
|
12266
|
-
effort: "high",
|
|
12267
|
-
sendableOn: []
|
|
12268
|
-
},
|
|
12269
|
-
debugging: {
|
|
12270
|
-
basis: "owner_choice",
|
|
12271
|
-
effort: "max",
|
|
12272
|
-
sendableOn: []
|
|
12273
|
-
},
|
|
12274
12275
|
frontend_ui: {
|
|
12275
12276
|
basis: "owner_choice",
|
|
12276
12277
|
effort: "max",
|
|
@@ -12569,6 +12570,18 @@ var init_bundled_recommended_list = __esm(() => {
|
|
|
12569
12570
|
}
|
|
12570
12571
|
]
|
|
12571
12572
|
},
|
|
12573
|
+
default: {
|
|
12574
|
+
basis: "vendor_default",
|
|
12575
|
+
effort: "max",
|
|
12576
|
+
sendableOn: [
|
|
12577
|
+
{
|
|
12578
|
+
encoding: "request_parameter",
|
|
12579
|
+
externalModelId: "GLM-5.3",
|
|
12580
|
+
routeId: "z-ai",
|
|
12581
|
+
routeProfileId: "glm-coding-subscription"
|
|
12582
|
+
}
|
|
12583
|
+
]
|
|
12584
|
+
},
|
|
12572
12585
|
frontend_ui: {
|
|
12573
12586
|
basis: "owner_choice",
|
|
12574
12587
|
effort: "max",
|
|
@@ -12691,6 +12704,18 @@ var init_bundled_recommended_list = __esm(() => {
|
|
|
12691
12704
|
}
|
|
12692
12705
|
]
|
|
12693
12706
|
},
|
|
12707
|
+
default: {
|
|
12708
|
+
basis: "vendor_default",
|
|
12709
|
+
effort: "max",
|
|
12710
|
+
sendableOn: [
|
|
12711
|
+
{
|
|
12712
|
+
encoding: "request_parameter",
|
|
12713
|
+
externalModelId: "GLM-5.3-Flash",
|
|
12714
|
+
routeId: "z-ai",
|
|
12715
|
+
routeProfileId: "glm-coding-subscription"
|
|
12716
|
+
}
|
|
12717
|
+
]
|
|
12718
|
+
},
|
|
12694
12719
|
frontend_ui: {
|
|
12695
12720
|
basis: "owner_choice",
|
|
12696
12721
|
effort: "max",
|
|
@@ -12935,6 +12960,18 @@ var init_bundled_recommended_list = __esm(() => {
|
|
|
12935
12960
|
}
|
|
12936
12961
|
]
|
|
12937
12962
|
},
|
|
12963
|
+
default: {
|
|
12964
|
+
basis: "vendor_default",
|
|
12965
|
+
effort: "medium",
|
|
12966
|
+
sendableOn: [
|
|
12967
|
+
{
|
|
12968
|
+
encoding: "request_parameter",
|
|
12969
|
+
externalModelId: "gpt-6-luna",
|
|
12970
|
+
routeId: "openai",
|
|
12971
|
+
routeProfileId: "codex-subscription"
|
|
12972
|
+
}
|
|
12973
|
+
]
|
|
12974
|
+
},
|
|
12938
12975
|
frontend_ui: {
|
|
12939
12976
|
basis: "owner_choice",
|
|
12940
12977
|
effort: "xhigh",
|
|
@@ -13057,6 +13094,18 @@ var init_bundled_recommended_list = __esm(() => {
|
|
|
13057
13094
|
}
|
|
13058
13095
|
]
|
|
13059
13096
|
},
|
|
13097
|
+
default: {
|
|
13098
|
+
basis: "vendor_default",
|
|
13099
|
+
effort: "medium",
|
|
13100
|
+
sendableOn: [
|
|
13101
|
+
{
|
|
13102
|
+
encoding: "request_parameter",
|
|
13103
|
+
externalModelId: "gpt-6.1-sol",
|
|
13104
|
+
routeId: "openai",
|
|
13105
|
+
routeProfileId: "codex-subscription"
|
|
13106
|
+
}
|
|
13107
|
+
]
|
|
13108
|
+
},
|
|
13060
13109
|
frontend_ui: {
|
|
13061
13110
|
basis: "owner_choice",
|
|
13062
13111
|
effort: "high",
|
|
@@ -13154,58 +13203,6 @@ var init_bundled_recommended_list = __esm(() => {
|
|
|
13154
13203
|
]
|
|
13155
13204
|
}
|
|
13156
13205
|
},
|
|
13157
|
-
"grok-4.7": {
|
|
13158
|
-
code_review: {
|
|
13159
|
-
basis: "owner_choice",
|
|
13160
|
-
effort: "high",
|
|
13161
|
-
sendableOn: []
|
|
13162
|
-
},
|
|
13163
|
-
debugging: {
|
|
13164
|
-
basis: "owner_choice",
|
|
13165
|
-
effort: "xhigh",
|
|
13166
|
-
sendableOn: []
|
|
13167
|
-
},
|
|
13168
|
-
frontend_ui: {
|
|
13169
|
-
basis: "owner_choice",
|
|
13170
|
-
effort: "xhigh",
|
|
13171
|
-
sendableOn: []
|
|
13172
|
-
},
|
|
13173
|
-
implementation: {
|
|
13174
|
-
basis: "benchmark_knee",
|
|
13175
|
-
effort: "high",
|
|
13176
|
-
sendableOn: []
|
|
13177
|
-
},
|
|
13178
|
-
long_context: {
|
|
13179
|
-
basis: "benchmark_knee",
|
|
13180
|
-
effort: "low",
|
|
13181
|
-
sendableOn: []
|
|
13182
|
-
},
|
|
13183
|
-
planning: {
|
|
13184
|
-
basis: "benchmark_knee",
|
|
13185
|
-
effort: "high",
|
|
13186
|
-
sendableOn: []
|
|
13187
|
-
},
|
|
13188
|
-
quick_edit: {
|
|
13189
|
-
basis: "owner_choice",
|
|
13190
|
-
effort: "medium",
|
|
13191
|
-
sendableOn: []
|
|
13192
|
-
},
|
|
13193
|
-
research: {
|
|
13194
|
-
basis: "benchmark_knee",
|
|
13195
|
-
effort: "high",
|
|
13196
|
-
sendableOn: []
|
|
13197
|
-
},
|
|
13198
|
-
terminal_ops: {
|
|
13199
|
-
basis: "owner_choice",
|
|
13200
|
-
effort: "high",
|
|
13201
|
-
sendableOn: []
|
|
13202
|
-
},
|
|
13203
|
-
tool_automation: {
|
|
13204
|
-
basis: "vendor_guidance",
|
|
13205
|
-
effort: "low",
|
|
13206
|
-
sendableOn: []
|
|
13207
|
-
}
|
|
13208
|
-
},
|
|
13209
13206
|
"kimi-k3.1-pro": {
|
|
13210
13207
|
code_review: {
|
|
13211
13208
|
basis: "owner_choice",
|
|
@@ -13231,6 +13228,18 @@ var init_bundled_recommended_list = __esm(() => {
|
|
|
13231
13228
|
}
|
|
13232
13229
|
]
|
|
13233
13230
|
},
|
|
13231
|
+
default: {
|
|
13232
|
+
basis: "vendor_default",
|
|
13233
|
+
effort: "max",
|
|
13234
|
+
sendableOn: [
|
|
13235
|
+
{
|
|
13236
|
+
encoding: "request_parameter",
|
|
13237
|
+
externalModelId: "k3.1-pro",
|
|
13238
|
+
routeId: "moonshotai",
|
|
13239
|
+
routeProfileId: "kimi-code-subscription"
|
|
13240
|
+
}
|
|
13241
|
+
]
|
|
13242
|
+
},
|
|
13234
13243
|
frontend_ui: {
|
|
13235
13244
|
basis: "owner_choice",
|
|
13236
13245
|
effort: "max",
|
|
@@ -13353,6 +13362,18 @@ var init_bundled_recommended_list = __esm(() => {
|
|
|
13353
13362
|
}
|
|
13354
13363
|
]
|
|
13355
13364
|
},
|
|
13365
|
+
default: {
|
|
13366
|
+
basis: "vendor_default",
|
|
13367
|
+
effort: "max",
|
|
13368
|
+
sendableOn: [
|
|
13369
|
+
{
|
|
13370
|
+
encoding: "request_parameter",
|
|
13371
|
+
externalModelId: "MiniMax-M3.1-Flash",
|
|
13372
|
+
routeId: "minimax",
|
|
13373
|
+
routeProfileId: "coding-plan-subscription"
|
|
13374
|
+
}
|
|
13375
|
+
]
|
|
13376
|
+
},
|
|
13356
13377
|
frontend_ui: {
|
|
13357
13378
|
basis: "owner_choice",
|
|
13358
13379
|
effort: "max",
|
|
@@ -13814,58 +13835,6 @@ var init_bundled_recommended_list = __esm(() => {
|
|
|
13814
13835
|
]
|
|
13815
13836
|
}
|
|
13816
13837
|
},
|
|
13817
|
-
"qwen3.8-max": {
|
|
13818
|
-
code_review: {
|
|
13819
|
-
basis: "owner_choice",
|
|
13820
|
-
effort: "medium",
|
|
13821
|
-
sendableOn: []
|
|
13822
|
-
},
|
|
13823
|
-
debugging: {
|
|
13824
|
-
basis: "owner_choice",
|
|
13825
|
-
effort: "xhigh",
|
|
13826
|
-
sendableOn: []
|
|
13827
|
-
},
|
|
13828
|
-
frontend_ui: {
|
|
13829
|
-
basis: "owner_choice",
|
|
13830
|
-
effort: "xhigh",
|
|
13831
|
-
sendableOn: []
|
|
13832
|
-
},
|
|
13833
|
-
implementation: {
|
|
13834
|
-
basis: "owner_choice",
|
|
13835
|
-
effort: "medium",
|
|
13836
|
-
sendableOn: []
|
|
13837
|
-
},
|
|
13838
|
-
long_context: {
|
|
13839
|
-
basis: "benchmark_knee",
|
|
13840
|
-
effort: "low",
|
|
13841
|
-
sendableOn: []
|
|
13842
|
-
},
|
|
13843
|
-
planning: {
|
|
13844
|
-
basis: "owner_choice",
|
|
13845
|
-
effort: "xhigh",
|
|
13846
|
-
sendableOn: []
|
|
13847
|
-
},
|
|
13848
|
-
quick_edit: {
|
|
13849
|
-
basis: "owner_choice",
|
|
13850
|
-
effort: "medium",
|
|
13851
|
-
sendableOn: []
|
|
13852
|
-
},
|
|
13853
|
-
research: {
|
|
13854
|
-
basis: "owner_choice",
|
|
13855
|
-
effort: "xhigh",
|
|
13856
|
-
sendableOn: []
|
|
13857
|
-
},
|
|
13858
|
-
terminal_ops: {
|
|
13859
|
-
basis: "owner_choice",
|
|
13860
|
-
effort: "medium",
|
|
13861
|
-
sendableOn: []
|
|
13862
|
-
},
|
|
13863
|
-
tool_automation: {
|
|
13864
|
-
basis: "owner_choice",
|
|
13865
|
-
effort: "low",
|
|
13866
|
-
sendableOn: []
|
|
13867
|
-
}
|
|
13868
|
-
},
|
|
13869
13838
|
"qwen3.8-omni-flash": {
|
|
13870
13839
|
code_review: {
|
|
13871
13840
|
basis: "owner_choice",
|
|
@@ -13891,6 +13860,18 @@ var init_bundled_recommended_list = __esm(() => {
|
|
|
13891
13860
|
}
|
|
13892
13861
|
]
|
|
13893
13862
|
},
|
|
13863
|
+
default: {
|
|
13864
|
+
basis: "vendor_default",
|
|
13865
|
+
effort: "xhigh",
|
|
13866
|
+
sendableOn: [
|
|
13867
|
+
{
|
|
13868
|
+
encoding: "request_parameter",
|
|
13869
|
+
externalModelId: "qwen3.8-omni-flash",
|
|
13870
|
+
routeId: "qwen",
|
|
13871
|
+
routeProfileId: "dashscope-direct"
|
|
13872
|
+
}
|
|
13873
|
+
]
|
|
13874
|
+
},
|
|
13894
13875
|
frontend_ui: {
|
|
13895
13876
|
basis: "owner_choice",
|
|
13896
13877
|
effort: "xhigh",
|
|
@@ -13989,7 +13970,7 @@ var init_bundled_recommended_list = __esm(() => {
|
|
|
13989
13970
|
}
|
|
13990
13971
|
}
|
|
13991
13972
|
},
|
|
13992
|
-
fetchedAt: "2026-11-
|
|
13973
|
+
fetchedAt: "2026-11-13T03:25:33.693Z",
|
|
13993
13974
|
format: 1,
|
|
13994
13975
|
recommendations: {
|
|
13995
13976
|
contractVersion: 3,
|
|
@@ -14006,16 +13987,12 @@ var init_bundled_recommended_list = __esm(() => {
|
|
|
14006
13987
|
modelId: "gemini-4-argon",
|
|
14007
13988
|
tier: "flagship"
|
|
14008
13989
|
},
|
|
14009
|
-
{
|
|
14010
|
-
modelId: "grok-4.7",
|
|
14011
|
-
tier: "flagship"
|
|
14012
|
-
},
|
|
14013
13990
|
{
|
|
14014
13991
|
modelId: "kimi-k3.1-pro",
|
|
14015
13992
|
tier: "flagship"
|
|
14016
13993
|
},
|
|
14017
13994
|
{
|
|
14018
|
-
modelId: "
|
|
13995
|
+
modelId: "qwen4-max-preview",
|
|
14019
13996
|
tier: "flagship"
|
|
14020
13997
|
},
|
|
14021
13998
|
{
|
|
@@ -14027,7 +14004,7 @@ var init_bundled_recommended_list = __esm(() => {
|
|
|
14027
14004
|
tier: "flagship"
|
|
14028
14005
|
},
|
|
14029
14006
|
{
|
|
14030
|
-
modelId: "deepseek-v4-
|
|
14007
|
+
modelId: "deepseek-v4.1-flash",
|
|
14031
14008
|
tier: "flagship"
|
|
14032
14009
|
},
|
|
14033
14010
|
{
|
|
@@ -14050,10 +14027,6 @@ var init_bundled_recommended_list = __esm(() => {
|
|
|
14050
14027
|
modelId: "gemini-3.8-flash",
|
|
14051
14028
|
tier: "lightweight"
|
|
14052
14029
|
},
|
|
14053
|
-
{
|
|
14054
|
-
modelId: "deepseek-v4.1-flash",
|
|
14055
|
-
tier: "lightweight"
|
|
14056
|
-
},
|
|
14057
14030
|
{
|
|
14058
14031
|
modelId: "glm-5.3-flash",
|
|
14059
14032
|
tier: "lightweight"
|
|
@@ -14086,6 +14059,10 @@ var init_bundled_recommended_list = __esm(() => {
|
|
|
14086
14059
|
modelId: "gemini-4-argon",
|
|
14087
14060
|
tier: "cost_efficient"
|
|
14088
14061
|
},
|
|
14062
|
+
{
|
|
14063
|
+
modelId: "claude-haiku-5-5",
|
|
14064
|
+
tier: "cost_efficient"
|
|
14065
|
+
},
|
|
14089
14066
|
{
|
|
14090
14067
|
modelId: "claude-fable-5-2",
|
|
14091
14068
|
tier: "luxury"
|
|
@@ -14095,11 +14072,11 @@ var init_bundled_recommended_list = __esm(() => {
|
|
|
14095
14072
|
tier: "luxury"
|
|
14096
14073
|
}
|
|
14097
14074
|
],
|
|
14098
|
-
generationId: "g-
|
|
14075
|
+
generationId: "g-20261112195224186-062fe295"
|
|
14099
14076
|
},
|
|
14100
14077
|
source: "https://us-central1-claudish-6da10.cloudfunctions.net"
|
|
14101
14078
|
},
|
|
14102
|
-
catalogGenerationId: "g-
|
|
14079
|
+
catalogGenerationId: "g-20261112195224186-062fe295",
|
|
14103
14080
|
entries: [
|
|
14104
14081
|
{
|
|
14105
14082
|
aggregators: [
|
|
@@ -14673,9 +14650,9 @@ var init_bundled_recommended_list = __esm(() => {
|
|
|
14673
14650
|
],
|
|
14674
14651
|
aliases: [
|
|
14675
14652
|
"anthropic/claude-opus-5.5",
|
|
14653
|
+
"claude-opus-5-5-medium",
|
|
14676
14654
|
"claude-opus-5-5-high",
|
|
14677
14655
|
"claude-opus-5-5-low",
|
|
14678
|
-
"claude-opus-5-5-medium",
|
|
14679
14656
|
"claude-opus-5-5-max",
|
|
14680
14657
|
"claude-opus-5-5-xhigh"
|
|
14681
14658
|
],
|
|
@@ -14736,12 +14713,6 @@ var init_bundled_recommended_list = __esm(() => {
|
|
|
14736
14713
|
},
|
|
14737
14714
|
request: {
|
|
14738
14715
|
api: "anthropic-messages",
|
|
14739
|
-
disable: [
|
|
14740
|
-
{
|
|
14741
|
-
path: "/thinking/type",
|
|
14742
|
-
value: "between_tools"
|
|
14743
|
-
}
|
|
14744
|
-
],
|
|
14745
14716
|
effort: {
|
|
14746
14717
|
default: "high",
|
|
14747
14718
|
path: "/output_config/effort",
|
|
@@ -14753,12 +14724,6 @@ var init_bundled_recommended_list = __esm(() => {
|
|
|
14753
14724
|
xhigh: "xhigh"
|
|
14754
14725
|
}
|
|
14755
14726
|
},
|
|
14756
|
-
enable: [
|
|
14757
|
-
{
|
|
14758
|
-
path: "/thinking/type",
|
|
14759
|
-
value: "adaptive"
|
|
14760
|
-
}
|
|
14761
|
-
],
|
|
14762
14727
|
status: "supported"
|
|
14763
14728
|
}
|
|
14764
14729
|
},
|
|
@@ -14772,12 +14737,9 @@ var init_bundled_recommended_list = __esm(() => {
|
|
|
14772
14737
|
api: "anthropic-messages",
|
|
14773
14738
|
evidence: [],
|
|
14774
14739
|
reasoning: {
|
|
14775
|
-
disable:
|
|
14776
|
-
|
|
14777
|
-
|
|
14778
|
-
value: "between_tools"
|
|
14779
|
-
}
|
|
14780
|
-
],
|
|
14740
|
+
disable: {
|
|
14741
|
+
status: "unknown"
|
|
14742
|
+
},
|
|
14781
14743
|
effort: {
|
|
14782
14744
|
default: "high",
|
|
14783
14745
|
path: "/output_config/effort",
|
|
@@ -14789,12 +14751,9 @@ var init_bundled_recommended_list = __esm(() => {
|
|
|
14789
14751
|
xhigh: "xhigh"
|
|
14790
14752
|
}
|
|
14791
14753
|
},
|
|
14792
|
-
enable:
|
|
14793
|
-
|
|
14794
|
-
|
|
14795
|
-
value: "adaptive"
|
|
14796
|
-
}
|
|
14797
|
-
],
|
|
14754
|
+
enable: {
|
|
14755
|
+
status: "unknown"
|
|
14756
|
+
},
|
|
14798
14757
|
mode: {
|
|
14799
14758
|
path: "/reasoning/mode",
|
|
14800
14759
|
status: "rejected"
|
|
@@ -14824,12 +14783,6 @@ var init_bundled_recommended_list = __esm(() => {
|
|
|
14824
14783
|
},
|
|
14825
14784
|
request: {
|
|
14826
14785
|
api: "anthropic-messages",
|
|
14827
|
-
disable: [
|
|
14828
|
-
{
|
|
14829
|
-
path: "/thinking/type",
|
|
14830
|
-
value: "between_tools"
|
|
14831
|
-
}
|
|
14832
|
-
],
|
|
14833
14786
|
effort: {
|
|
14834
14787
|
default: "high",
|
|
14835
14788
|
path: "/output_config/effort",
|
|
@@ -14841,12 +14794,6 @@ var init_bundled_recommended_list = __esm(() => {
|
|
|
14841
14794
|
xhigh: "xhigh"
|
|
14842
14795
|
}
|
|
14843
14796
|
},
|
|
14844
|
-
enable: [
|
|
14845
|
-
{
|
|
14846
|
-
path: "/thinking/type",
|
|
14847
|
-
value: "adaptive"
|
|
14848
|
-
}
|
|
14849
|
-
],
|
|
14850
14797
|
status: "supported"
|
|
14851
14798
|
}
|
|
14852
14799
|
},
|
|
@@ -14860,12 +14807,9 @@ var init_bundled_recommended_list = __esm(() => {
|
|
|
14860
14807
|
api: "anthropic-messages",
|
|
14861
14808
|
evidence: [],
|
|
14862
14809
|
reasoning: {
|
|
14863
|
-
disable:
|
|
14864
|
-
|
|
14865
|
-
|
|
14866
|
-
value: "between_tools"
|
|
14867
|
-
}
|
|
14868
|
-
],
|
|
14810
|
+
disable: {
|
|
14811
|
+
status: "unknown"
|
|
14812
|
+
},
|
|
14869
14813
|
effort: {
|
|
14870
14814
|
default: "high",
|
|
14871
14815
|
path: "/output_config/effort",
|
|
@@ -14877,12 +14821,9 @@ var init_bundled_recommended_list = __esm(() => {
|
|
|
14877
14821
|
xhigh: "xhigh"
|
|
14878
14822
|
}
|
|
14879
14823
|
},
|
|
14880
|
-
enable:
|
|
14881
|
-
|
|
14882
|
-
|
|
14883
|
-
value: "adaptive"
|
|
14884
|
-
}
|
|
14885
|
-
],
|
|
14824
|
+
enable: {
|
|
14825
|
+
status: "unknown"
|
|
14826
|
+
},
|
|
14886
14827
|
mode: {
|
|
14887
14828
|
path: "/reasoning/mode",
|
|
14888
14829
|
status: "rejected"
|
|
@@ -14937,7 +14878,7 @@ var init_bundled_recommended_list = __esm(() => {
|
|
|
14937
14878
|
"medium",
|
|
14938
14879
|
"low"
|
|
14939
14880
|
],
|
|
14940
|
-
mandatory:
|
|
14881
|
+
mandatory: true,
|
|
14941
14882
|
supported: true,
|
|
14942
14883
|
supportsBudgetTokens: false
|
|
14943
14884
|
},
|
|
@@ -14955,111 +14896,6 @@ var init_bundled_recommended_list = __esm(() => {
|
|
|
14955
14896
|
videoInput: false,
|
|
14956
14897
|
videoOutput: false
|
|
14957
14898
|
},
|
|
14958
|
-
{
|
|
14959
|
-
aggregators: [
|
|
14960
|
-
{
|
|
14961
|
-
externalModelId: "deepseek-v4-pro",
|
|
14962
|
-
pricing: {
|
|
14963
|
-
type: "unavailable"
|
|
14964
|
-
},
|
|
14965
|
-
reasoning: {
|
|
14966
|
-
request: {
|
|
14967
|
-
status: "unknown"
|
|
14968
|
-
}
|
|
14969
|
-
},
|
|
14970
|
-
route: {
|
|
14971
|
-
routeId: "deepseek",
|
|
14972
|
-
routeProfileId: "direct-api"
|
|
14973
|
-
},
|
|
14974
|
-
routeStatus: "mapped",
|
|
14975
|
-
sourceProviderId: "deepseek",
|
|
14976
|
-
wire: {
|
|
14977
|
-
api: "responses",
|
|
14978
|
-
evidence: [],
|
|
14979
|
-
reasoning: {
|
|
14980
|
-
disable: {
|
|
14981
|
-
status: "unknown"
|
|
14982
|
-
},
|
|
14983
|
-
effort: {
|
|
14984
|
-
default: {
|
|
14985
|
-
status: "unknown"
|
|
14986
|
-
},
|
|
14987
|
-
path: "/reasoning/effort",
|
|
14988
|
-
values: {
|
|
14989
|
-
high: "high",
|
|
14990
|
-
low: "low",
|
|
14991
|
-
max: "max"
|
|
14992
|
-
}
|
|
14993
|
-
},
|
|
14994
|
-
enable: {
|
|
14995
|
-
status: "unknown"
|
|
14996
|
-
},
|
|
14997
|
-
mode: {
|
|
14998
|
-
status: "not_applicable"
|
|
14999
|
-
},
|
|
15000
|
-
status: "supported"
|
|
15001
|
-
},
|
|
15002
|
-
speed: {
|
|
15003
|
-
status: "not_applicable"
|
|
15004
|
-
},
|
|
15005
|
-
status: "known",
|
|
15006
|
-
tokenParam: "max_output_tokens",
|
|
15007
|
-
toolsWithReasoning: "ok"
|
|
15008
|
-
}
|
|
15009
|
-
}
|
|
15010
|
-
],
|
|
15011
|
-
aliases: [
|
|
15012
|
-
"deepseek/deepseek-v4-pro",
|
|
15013
|
-
"deepseek-v4-pro-t",
|
|
15014
|
-
"deepseek-v4-pro-e",
|
|
15015
|
-
"deepseek-v4-pro-high",
|
|
15016
|
-
"deepseek-v4-pro-max"
|
|
15017
|
-
],
|
|
15018
|
-
contextWindow: 1048576,
|
|
15019
|
-
contractVersion: 3,
|
|
15020
|
-
displayName: "DeepSeek-V4-Pro",
|
|
15021
|
-
endpoints: {
|
|
15022
|
-
openai: {
|
|
15023
|
-
api: "responses",
|
|
15024
|
-
toolsWithReasoning: "ok"
|
|
15025
|
-
}
|
|
15026
|
-
},
|
|
15027
|
-
inputModalities: [
|
|
15028
|
-
"text"
|
|
15029
|
-
],
|
|
15030
|
-
maxOutputTokens: 393216,
|
|
15031
|
-
modelId: "deepseek-v4-pro",
|
|
15032
|
-
outputModalities: [
|
|
15033
|
-
"text"
|
|
15034
|
-
],
|
|
15035
|
-
provider: "deepseek",
|
|
15036
|
-
reasoning: {
|
|
15037
|
-
control: "effort",
|
|
15038
|
-
defaultEffort: "high",
|
|
15039
|
-
efforts: [
|
|
15040
|
-
"max",
|
|
15041
|
-
"high",
|
|
15042
|
-
"low"
|
|
15043
|
-
],
|
|
15044
|
-
mandatory: false,
|
|
15045
|
-
supported: true
|
|
15046
|
-
},
|
|
15047
|
-
status: "active",
|
|
15048
|
-
subscriptionPlanIds: [
|
|
15049
|
-
"alibaba-token-plan-individual",
|
|
15050
|
-
"alibaba-token-plan-team-edition",
|
|
15051
|
-
"byteplus-modelark-coding-plan",
|
|
15052
|
-
"cognition-devin",
|
|
15053
|
-
"llm-gateway-devpass",
|
|
15054
|
-
"opencode-go"
|
|
15055
|
-
],
|
|
15056
|
-
supportsThinking: true,
|
|
15057
|
-
supportsTools: true,
|
|
15058
|
-
supportsVision: false,
|
|
15059
|
-
tokenParam: "max_output_tokens",
|
|
15060
|
-
videoInput: false,
|
|
15061
|
-
videoOutput: false
|
|
15062
|
-
},
|
|
15063
14899
|
{
|
|
15064
14900
|
aggregators: [
|
|
15065
14901
|
{
|
|
@@ -15282,9 +15118,9 @@ var init_bundled_recommended_list = __esm(() => {
|
|
|
15282
15118
|
],
|
|
15283
15119
|
aliases: [
|
|
15284
15120
|
"google/gemini-3.8-flash",
|
|
15285
|
-
"gemini-3.8-flash-high",
|
|
15286
|
-
"gemini-3.8-flash-low",
|
|
15287
15121
|
"gemini-3.8-flash-medium",
|
|
15122
|
+
"gemini-3.8-flash-low",
|
|
15123
|
+
"gemini-3.8-flash-high",
|
|
15288
15124
|
"gemini-3-8-flash-high",
|
|
15289
15125
|
"gemini-3-8-flash-low",
|
|
15290
15126
|
"gemini-3-8-flash-medium"
|
|
@@ -15406,9 +15242,9 @@ var init_bundled_recommended_list = __esm(() => {
|
|
|
15406
15242
|
],
|
|
15407
15243
|
aliases: [
|
|
15408
15244
|
"google/gemini-4-argon",
|
|
15409
|
-
"gemini-4-argon-
|
|
15245
|
+
"gemini-4-argon-low",
|
|
15410
15246
|
"gemini-4-argon-medium",
|
|
15411
|
-
"gemini-4-argon-
|
|
15247
|
+
"gemini-4-argon-high"
|
|
15412
15248
|
],
|
|
15413
15249
|
contextWindow: 1048576,
|
|
15414
15250
|
contractVersion: 3,
|
|
@@ -16641,50 +16477,45 @@ var init_bundled_recommended_list = __esm(() => {
|
|
|
16641
16477
|
{
|
|
16642
16478
|
aggregators: [
|
|
16643
16479
|
{
|
|
16644
|
-
externalModelId: "
|
|
16480
|
+
externalModelId: "kimi-k3.1-pro",
|
|
16645
16481
|
pricing: {
|
|
16646
|
-
|
|
16647
|
-
input: 2,
|
|
16648
|
-
output: 6,
|
|
16649
|
-
type: "flat"
|
|
16482
|
+
type: "unavailable"
|
|
16650
16483
|
},
|
|
16651
16484
|
reasoning: {
|
|
16652
16485
|
request: {
|
|
16653
|
-
api: "
|
|
16486
|
+
api: "chat-completions",
|
|
16654
16487
|
effort: {
|
|
16655
|
-
default: "
|
|
16656
|
-
path: "/
|
|
16488
|
+
default: "max",
|
|
16489
|
+
path: "/reasoning_effort",
|
|
16657
16490
|
values: {
|
|
16658
16491
|
high: "high",
|
|
16659
16492
|
low: "low",
|
|
16660
|
-
|
|
16661
|
-
xhigh: "xhigh"
|
|
16493
|
+
max: "max"
|
|
16662
16494
|
}
|
|
16663
16495
|
},
|
|
16664
16496
|
status: "supported"
|
|
16665
16497
|
}
|
|
16666
16498
|
},
|
|
16667
16499
|
route: {
|
|
16668
|
-
routeId: "
|
|
16500
|
+
routeId: "moonshotai",
|
|
16669
16501
|
routeProfileId: "direct-api"
|
|
16670
16502
|
},
|
|
16671
16503
|
routeStatus: "mapped",
|
|
16672
|
-
sourceProviderId: "
|
|
16504
|
+
sourceProviderId: "moonshotai",
|
|
16673
16505
|
wire: {
|
|
16674
|
-
api: "
|
|
16506
|
+
api: "chat-completions",
|
|
16675
16507
|
evidence: [],
|
|
16676
16508
|
reasoning: {
|
|
16677
16509
|
disable: {
|
|
16678
16510
|
status: "not_applicable"
|
|
16679
16511
|
},
|
|
16680
16512
|
effort: {
|
|
16681
|
-
default: "
|
|
16682
|
-
path: "/
|
|
16513
|
+
default: "max",
|
|
16514
|
+
path: "/reasoning_effort",
|
|
16683
16515
|
values: {
|
|
16684
16516
|
high: "high",
|
|
16685
16517
|
low: "low",
|
|
16686
|
-
|
|
16687
|
-
xhigh: "xhigh"
|
|
16518
|
+
max: "max"
|
|
16688
16519
|
}
|
|
16689
16520
|
},
|
|
16690
16521
|
enable: {
|
|
@@ -16696,84 +16527,20 @@ var init_bundled_recommended_list = __esm(() => {
|
|
|
16696
16527
|
status: "supported"
|
|
16697
16528
|
},
|
|
16698
16529
|
speed: {
|
|
16699
|
-
|
|
16700
|
-
default: "standard",
|
|
16701
|
-
echo: "/service_tier",
|
|
16702
|
-
headers: [],
|
|
16703
|
-
path: "/service_tier",
|
|
16704
|
-
status: "supported",
|
|
16705
|
-
values: {
|
|
16706
|
-
priority: "priority",
|
|
16707
|
-
standard: "default"
|
|
16708
|
-
}
|
|
16530
|
+
status: "unknown"
|
|
16709
16531
|
},
|
|
16710
16532
|
status: "known",
|
|
16711
|
-
tokenParam: "
|
|
16533
|
+
tokenParam: "max_completion_tokens",
|
|
16712
16534
|
toolsWithReasoning: "ok"
|
|
16713
16535
|
}
|
|
16714
|
-
}
|
|
16715
|
-
],
|
|
16716
|
-
aliases: [
|
|
16717
|
-
"x-ai/grok-4.7",
|
|
16718
|
-
"grok-4-7-high",
|
|
16719
|
-
"grok-4-7-low",
|
|
16720
|
-
"grok-4-7-medium",
|
|
16721
|
-
"grok-4-7-xhigh"
|
|
16722
|
-
],
|
|
16723
|
-
contextWindow: 500000,
|
|
16724
|
-
contractVersion: 3,
|
|
16725
|
-
displayName: "Grok 4.7",
|
|
16726
|
-
endpoints: {
|
|
16727
|
-
openai: {
|
|
16728
|
-
api: "responses",
|
|
16729
|
-
toolsWithReasoning: "ok"
|
|
16730
|
-
}
|
|
16731
|
-
},
|
|
16732
|
-
inputModalities: [
|
|
16733
|
-
"image",
|
|
16734
|
-
"text"
|
|
16735
|
-
],
|
|
16736
|
-
modelId: "grok-4.7",
|
|
16737
|
-
outputModalities: [
|
|
16738
|
-
"text"
|
|
16739
|
-
],
|
|
16740
|
-
provider: "x-ai",
|
|
16741
|
-
reasoning: {
|
|
16742
|
-
control: "effort",
|
|
16743
|
-
defaultEffort: "high",
|
|
16744
|
-
efforts: [
|
|
16745
|
-
"xhigh",
|
|
16746
|
-
"high",
|
|
16747
|
-
"medium",
|
|
16748
|
-
"low"
|
|
16749
|
-
],
|
|
16750
|
-
mandatory: true,
|
|
16751
|
-
supported: true
|
|
16752
|
-
},
|
|
16753
|
-
releaseDate: "2026-09-21",
|
|
16754
|
-
status: "active",
|
|
16755
|
-
subscriptionPlanIds: [
|
|
16756
|
-
"cognition-devin",
|
|
16757
|
-
"opencode-go"
|
|
16758
|
-
],
|
|
16759
|
-
supportsTools: true,
|
|
16760
|
-
supportsVision: true,
|
|
16761
|
-
tokenParam: "max_output_tokens",
|
|
16762
|
-
videoInput: false,
|
|
16763
|
-
videoOutput: false
|
|
16764
|
-
},
|
|
16765
|
-
{
|
|
16766
|
-
aggregators: [
|
|
16536
|
+
},
|
|
16767
16537
|
{
|
|
16768
|
-
externalModelId: "
|
|
16769
|
-
pricing: {
|
|
16770
|
-
type: "unavailable"
|
|
16771
|
-
},
|
|
16538
|
+
externalModelId: "k3.1-pro",
|
|
16772
16539
|
reasoning: {
|
|
16773
16540
|
request: {
|
|
16774
16541
|
api: "chat-completions",
|
|
16775
16542
|
effort: {
|
|
16776
|
-
default: "
|
|
16543
|
+
default: "high",
|
|
16777
16544
|
path: "/reasoning_effort",
|
|
16778
16545
|
values: {
|
|
16779
16546
|
high: "high",
|
|
@@ -16786,10 +16553,10 @@ var init_bundled_recommended_list = __esm(() => {
|
|
|
16786
16553
|
},
|
|
16787
16554
|
route: {
|
|
16788
16555
|
routeId: "moonshotai",
|
|
16789
|
-
routeProfileId: "
|
|
16556
|
+
routeProfileId: "kimi-code-subscription"
|
|
16790
16557
|
},
|
|
16791
16558
|
routeStatus: "mapped",
|
|
16792
|
-
sourceProviderId: "
|
|
16559
|
+
sourceProviderId: "kimi-code",
|
|
16793
16560
|
wire: {
|
|
16794
16561
|
api: "chat-completions",
|
|
16795
16562
|
evidence: [],
|
|
@@ -16798,62 +16565,7 @@ var init_bundled_recommended_list = __esm(() => {
|
|
|
16798
16565
|
status: "not_applicable"
|
|
16799
16566
|
},
|
|
16800
16567
|
effort: {
|
|
16801
|
-
default: "
|
|
16802
|
-
path: "/reasoning_effort",
|
|
16803
|
-
values: {
|
|
16804
|
-
high: "high",
|
|
16805
|
-
low: "low",
|
|
16806
|
-
max: "max"
|
|
16807
|
-
}
|
|
16808
|
-
},
|
|
16809
|
-
enable: {
|
|
16810
|
-
status: "not_applicable"
|
|
16811
|
-
},
|
|
16812
|
-
mode: {
|
|
16813
|
-
status: "not_applicable"
|
|
16814
|
-
},
|
|
16815
|
-
status: "supported"
|
|
16816
|
-
},
|
|
16817
|
-
speed: {
|
|
16818
|
-
status: "unknown"
|
|
16819
|
-
},
|
|
16820
|
-
status: "known",
|
|
16821
|
-
tokenParam: "max_completion_tokens",
|
|
16822
|
-
toolsWithReasoning: "ok"
|
|
16823
|
-
}
|
|
16824
|
-
},
|
|
16825
|
-
{
|
|
16826
|
-
externalModelId: "k3.1-pro",
|
|
16827
|
-
reasoning: {
|
|
16828
|
-
request: {
|
|
16829
|
-
api: "chat-completions",
|
|
16830
|
-
effort: {
|
|
16831
|
-
default: "high",
|
|
16832
|
-
path: "/reasoning_effort",
|
|
16833
|
-
values: {
|
|
16834
|
-
high: "high",
|
|
16835
|
-
low: "low",
|
|
16836
|
-
max: "max"
|
|
16837
|
-
}
|
|
16838
|
-
},
|
|
16839
|
-
status: "supported"
|
|
16840
|
-
}
|
|
16841
|
-
},
|
|
16842
|
-
route: {
|
|
16843
|
-
routeId: "moonshotai",
|
|
16844
|
-
routeProfileId: "kimi-code-subscription"
|
|
16845
|
-
},
|
|
16846
|
-
routeStatus: "mapped",
|
|
16847
|
-
sourceProviderId: "kimi-code",
|
|
16848
|
-
wire: {
|
|
16849
|
-
api: "chat-completions",
|
|
16850
|
-
evidence: [],
|
|
16851
|
-
reasoning: {
|
|
16852
|
-
disable: {
|
|
16853
|
-
status: "not_applicable"
|
|
16854
|
-
},
|
|
16855
|
-
effort: {
|
|
16856
|
-
default: "high",
|
|
16568
|
+
default: "high",
|
|
16857
16569
|
path: "/reasoning_effort",
|
|
16858
16570
|
values: {
|
|
16859
16571
|
high: "high",
|
|
@@ -17764,7 +17476,8 @@ var init_bundled_recommended_list = __esm(() => {
|
|
|
17764
17476
|
displayName: "Muse Wonder Full",
|
|
17765
17477
|
inputModalities: [
|
|
17766
17478
|
"image",
|
|
17767
|
-
"text"
|
|
17479
|
+
"text",
|
|
17480
|
+
"video"
|
|
17768
17481
|
],
|
|
17769
17482
|
modelId: "muse-wonder-full",
|
|
17770
17483
|
outputModalities: [
|
|
@@ -17792,33 +17505,13 @@ var init_bundled_recommended_list = __esm(() => {
|
|
|
17792
17505
|
{
|
|
17793
17506
|
aggregators: [
|
|
17794
17507
|
{
|
|
17795
|
-
externalModelId: "qwen3.8-
|
|
17508
|
+
externalModelId: "qwen3.8-omni-flash",
|
|
17796
17509
|
pricing: {
|
|
17797
17510
|
type: "unavailable"
|
|
17798
17511
|
},
|
|
17799
17512
|
reasoning: {
|
|
17800
17513
|
request: {
|
|
17801
|
-
|
|
17802
|
-
disable: [
|
|
17803
|
-
{
|
|
17804
|
-
path: "/enable_thinking",
|
|
17805
|
-
value: false
|
|
17806
|
-
}
|
|
17807
|
-
],
|
|
17808
|
-
effort: {
|
|
17809
|
-
path: "/reasoning/effort",
|
|
17810
|
-
values: {
|
|
17811
|
-
low: "low",
|
|
17812
|
-
xhigh: "xhigh"
|
|
17813
|
-
}
|
|
17814
|
-
},
|
|
17815
|
-
enable: [
|
|
17816
|
-
{
|
|
17817
|
-
path: "/enable_thinking",
|
|
17818
|
-
value: true
|
|
17819
|
-
}
|
|
17820
|
-
],
|
|
17821
|
-
status: "supported"
|
|
17514
|
+
status: "unknown"
|
|
17822
17515
|
}
|
|
17823
17516
|
},
|
|
17824
17517
|
route: {
|
|
@@ -17844,6 +17537,7 @@ var init_bundled_recommended_list = __esm(() => {
|
|
|
17844
17537
|
path: "/reasoning/effort",
|
|
17845
17538
|
values: {
|
|
17846
17539
|
low: "low",
|
|
17540
|
+
medium: "medium",
|
|
17847
17541
|
xhigh: "xhigh"
|
|
17848
17542
|
}
|
|
17849
17543
|
},
|
|
@@ -17865,73 +17559,14 @@ var init_bundled_recommended_list = __esm(() => {
|
|
|
17865
17559
|
tokenParam: "max_output_tokens",
|
|
17866
17560
|
toolsWithReasoning: "ok"
|
|
17867
17561
|
}
|
|
17868
|
-
},
|
|
17869
|
-
{
|
|
17870
|
-
externalModelId: "qwen3.8-max",
|
|
17871
|
-
reasoning: {
|
|
17872
|
-
request: {
|
|
17873
|
-
api: "chat-completions",
|
|
17874
|
-
disable: [
|
|
17875
|
-
{
|
|
17876
|
-
path: "/enable_thinking",
|
|
17877
|
-
value: false
|
|
17878
|
-
}
|
|
17879
|
-
],
|
|
17880
|
-
enable: [
|
|
17881
|
-
{
|
|
17882
|
-
path: "/enable_thinking",
|
|
17883
|
-
value: true
|
|
17884
|
-
}
|
|
17885
|
-
],
|
|
17886
|
-
status: "supported"
|
|
17887
|
-
}
|
|
17888
|
-
},
|
|
17889
|
-
route: {
|
|
17890
|
-
routeId: "qwen",
|
|
17891
|
-
routeProfileId: "qwencloud-token-plan"
|
|
17892
|
-
},
|
|
17893
|
-
routeStatus: "mapped",
|
|
17894
|
-
sourceProviderId: "qwen-cloud",
|
|
17895
|
-
wire: {
|
|
17896
|
-
api: "chat-completions",
|
|
17897
|
-
evidence: [],
|
|
17898
|
-
reasoning: {
|
|
17899
|
-
disable: [
|
|
17900
|
-
{
|
|
17901
|
-
path: "/enable_thinking",
|
|
17902
|
-
value: false
|
|
17903
|
-
}
|
|
17904
|
-
],
|
|
17905
|
-
effort: {
|
|
17906
|
-
status: "unknown"
|
|
17907
|
-
},
|
|
17908
|
-
enable: [
|
|
17909
|
-
{
|
|
17910
|
-
path: "/enable_thinking",
|
|
17911
|
-
value: true
|
|
17912
|
-
}
|
|
17913
|
-
],
|
|
17914
|
-
mode: {
|
|
17915
|
-
status: "not_applicable"
|
|
17916
|
-
},
|
|
17917
|
-
status: "supported"
|
|
17918
|
-
},
|
|
17919
|
-
speed: {
|
|
17920
|
-
status: "not_applicable"
|
|
17921
|
-
},
|
|
17922
|
-
status: "known",
|
|
17923
|
-
tokenParam: "max_completion_tokens",
|
|
17924
|
-
toolsWithReasoning: "ok"
|
|
17925
|
-
}
|
|
17926
17562
|
}
|
|
17927
17563
|
],
|
|
17928
17564
|
aliases: [
|
|
17929
|
-
"
|
|
17930
|
-
"qwen3.8-max-el"
|
|
17565
|
+
"qwen/qwen3.8-omni-flash"
|
|
17931
17566
|
],
|
|
17932
17567
|
contextWindow: 1e6,
|
|
17933
17568
|
contractVersion: 3,
|
|
17934
|
-
displayName: "Qwen3.8-
|
|
17569
|
+
displayName: "Qwen3.8-Omni-Flash",
|
|
17935
17570
|
endpoints: {
|
|
17936
17571
|
openai: {
|
|
17937
17572
|
api: "responses",
|
|
@@ -17939,12 +17574,13 @@ var init_bundled_recommended_list = __esm(() => {
|
|
|
17939
17574
|
}
|
|
17940
17575
|
},
|
|
17941
17576
|
inputModalities: [
|
|
17577
|
+
"audio",
|
|
17942
17578
|
"image",
|
|
17943
17579
|
"text",
|
|
17944
17580
|
"video"
|
|
17945
17581
|
],
|
|
17946
17582
|
maxOutputTokens: 131072,
|
|
17947
|
-
modelId: "qwen3.8-
|
|
17583
|
+
modelId: "qwen3.8-omni-flash",
|
|
17948
17584
|
outputModalities: [
|
|
17949
17585
|
"text"
|
|
17950
17586
|
],
|
|
@@ -17958,75 +17594,24 @@ var init_bundled_recommended_list = __esm(() => {
|
|
|
17958
17594
|
"low"
|
|
17959
17595
|
],
|
|
17960
17596
|
mandatory: false,
|
|
17961
|
-
supported: true
|
|
17597
|
+
supported: true,
|
|
17598
|
+
supportsBudgetTokens: true
|
|
17962
17599
|
},
|
|
17963
|
-
releaseDate: "2026-
|
|
17600
|
+
releaseDate: "2026-09-17",
|
|
17964
17601
|
status: "active",
|
|
17965
17602
|
subscriptionPlanIds: [
|
|
17966
|
-
"
|
|
17967
|
-
"alibaba-token-plan-team-edition",
|
|
17968
|
-
"llm-gateway-devpass",
|
|
17969
|
-
"opencode-go"
|
|
17603
|
+
"llm-gateway-devpass"
|
|
17970
17604
|
],
|
|
17971
|
-
supportsThinking: true,
|
|
17972
17605
|
supportsTools: true,
|
|
17973
17606
|
supportsVision: true,
|
|
17974
17607
|
tokenParam: "max_output_tokens",
|
|
17975
17608
|
videoInput: true,
|
|
17976
17609
|
videoOutput: false
|
|
17977
17610
|
},
|
|
17978
|
-
{
|
|
17979
|
-
aggregators: [],
|
|
17980
|
-
aliases: [
|
|
17981
|
-
"qwen/qwen3.8-max-prime"
|
|
17982
|
-
],
|
|
17983
|
-
contextWindow: 1e6,
|
|
17984
|
-
contractVersion: 3,
|
|
17985
|
-
displayName: "Qwen3.8 Max Prime",
|
|
17986
|
-
inputModalities: [
|
|
17987
|
-
"image",
|
|
17988
|
-
"text",
|
|
17989
|
-
"video"
|
|
17990
|
-
],
|
|
17991
|
-
modelId: "qwen3.8-max-prime",
|
|
17992
|
-
outputModalities: [
|
|
17993
|
-
"text"
|
|
17994
|
-
],
|
|
17995
|
-
provider: "qwen",
|
|
17996
|
-
reasoning: {
|
|
17997
|
-
control: "effort",
|
|
17998
|
-
defaultEffort: "xhigh",
|
|
17999
|
-
efforts: [
|
|
18000
|
-
"xhigh",
|
|
18001
|
-
"high",
|
|
18002
|
-
"medium",
|
|
18003
|
-
"low",
|
|
18004
|
-
"minimal"
|
|
18005
|
-
],
|
|
18006
|
-
mandatory: true,
|
|
18007
|
-
supported: true
|
|
18008
|
-
},
|
|
18009
|
-
releaseDate: "2026-08-02",
|
|
18010
|
-
routeVariant: {
|
|
18011
|
-
baseModelId: "qwen3.8-max",
|
|
18012
|
-
familyId: "qwen3.8-max",
|
|
18013
|
-
kind: "provider-preset",
|
|
18014
|
-
preset: "prime",
|
|
18015
|
-
provider: "qwen"
|
|
18016
|
-
},
|
|
18017
|
-
status: "preview",
|
|
18018
|
-
supportsTools: true,
|
|
18019
|
-
supportsVision: true,
|
|
18020
|
-
videoInput: true,
|
|
18021
|
-
videoOutput: false
|
|
18022
|
-
},
|
|
18023
17611
|
{
|
|
18024
17612
|
aggregators: [
|
|
18025
17613
|
{
|
|
18026
|
-
externalModelId: "
|
|
18027
|
-
pricing: {
|
|
18028
|
-
type: "unavailable"
|
|
18029
|
-
},
|
|
17614
|
+
externalModelId: "qwen4-max-preview",
|
|
18030
17615
|
reasoning: {
|
|
18031
17616
|
request: {
|
|
18032
17617
|
status: "unknown"
|
|
@@ -18034,74 +17619,31 @@ var init_bundled_recommended_list = __esm(() => {
|
|
|
18034
17619
|
},
|
|
18035
17620
|
route: {
|
|
18036
17621
|
routeId: "qwen",
|
|
18037
|
-
routeProfileId: "
|
|
17622
|
+
routeProfileId: "qwencloud-token-plan"
|
|
18038
17623
|
},
|
|
18039
17624
|
routeStatus: "mapped",
|
|
18040
|
-
sourceProviderId: "qwen",
|
|
17625
|
+
sourceProviderId: "qwen-cloud",
|
|
18041
17626
|
wire: {
|
|
18042
|
-
api: "
|
|
17627
|
+
api: "chat-completions",
|
|
18043
17628
|
evidence: [],
|
|
18044
17629
|
reasoning: {
|
|
18045
|
-
|
|
18046
|
-
{
|
|
18047
|
-
path: "/enable_thinking",
|
|
18048
|
-
value: false
|
|
18049
|
-
}
|
|
18050
|
-
],
|
|
18051
|
-
effort: {
|
|
18052
|
-
default: {
|
|
18053
|
-
status: "unknown"
|
|
18054
|
-
},
|
|
18055
|
-
path: "/reasoning/effort",
|
|
18056
|
-
values: {
|
|
18057
|
-
low: "low",
|
|
18058
|
-
medium: "medium",
|
|
18059
|
-
xhigh: "xhigh"
|
|
18060
|
-
}
|
|
18061
|
-
},
|
|
18062
|
-
enable: [
|
|
18063
|
-
{
|
|
18064
|
-
path: "/enable_thinking",
|
|
18065
|
-
value: true
|
|
18066
|
-
}
|
|
18067
|
-
],
|
|
18068
|
-
mode: {
|
|
18069
|
-
status: "not_applicable"
|
|
18070
|
-
},
|
|
18071
|
-
status: "supported"
|
|
17630
|
+
status: "unknown"
|
|
18072
17631
|
},
|
|
18073
17632
|
speed: {
|
|
18074
|
-
status: "
|
|
17633
|
+
status: "unknown"
|
|
18075
17634
|
},
|
|
18076
17635
|
status: "known",
|
|
18077
|
-
tokenParam:
|
|
17636
|
+
tokenParam: {
|
|
17637
|
+
status: "unknown"
|
|
17638
|
+
},
|
|
18078
17639
|
toolsWithReasoning: "ok"
|
|
18079
17640
|
}
|
|
18080
17641
|
}
|
|
18081
17642
|
],
|
|
18082
|
-
aliases: [
|
|
18083
|
-
"qwen/qwen3.8-omni-flash"
|
|
18084
|
-
],
|
|
18085
|
-
contextWindow: 1e6,
|
|
17643
|
+
aliases: [],
|
|
18086
17644
|
contractVersion: 3,
|
|
18087
|
-
displayName: "
|
|
18088
|
-
|
|
18089
|
-
openai: {
|
|
18090
|
-
api: "responses",
|
|
18091
|
-
toolsWithReasoning: "ok"
|
|
18092
|
-
}
|
|
18093
|
-
},
|
|
18094
|
-
inputModalities: [
|
|
18095
|
-
"audio",
|
|
18096
|
-
"image",
|
|
18097
|
-
"text",
|
|
18098
|
-
"video"
|
|
18099
|
-
],
|
|
18100
|
-
maxOutputTokens: 131072,
|
|
18101
|
-
modelId: "qwen3.8-omni-flash",
|
|
18102
|
-
outputModalities: [
|
|
18103
|
-
"text"
|
|
18104
|
-
],
|
|
17645
|
+
displayName: "qwen4-max-preview",
|
|
17646
|
+
modelId: "qwen4-max-preview",
|
|
18105
17647
|
provider: "qwen",
|
|
18106
17648
|
reasoning: {
|
|
18107
17649
|
control: "effort",
|
|
@@ -18112,22 +17654,17 @@ var init_bundled_recommended_list = __esm(() => {
|
|
|
18112
17654
|
"low"
|
|
18113
17655
|
],
|
|
18114
17656
|
mandatory: false,
|
|
18115
|
-
supported: true
|
|
18116
|
-
supportsBudgetTokens: true
|
|
17657
|
+
supported: true
|
|
18117
17658
|
},
|
|
18118
|
-
|
|
18119
|
-
status: "active",
|
|
17659
|
+
status: "preview",
|
|
18120
17660
|
subscriptionPlanIds: [
|
|
18121
|
-
"
|
|
17661
|
+
"alibaba-token-plan-individual",
|
|
17662
|
+
"alibaba-token-plan-team-edition"
|
|
18122
17663
|
],
|
|
18123
|
-
|
|
18124
|
-
supportsVision: true,
|
|
18125
|
-
tokenParam: "max_output_tokens",
|
|
18126
|
-
videoInput: true,
|
|
18127
|
-
videoOutput: false
|
|
17664
|
+
supportsVision: true
|
|
18128
17665
|
}
|
|
18129
17666
|
],
|
|
18130
|
-
lastUpdated: "2026-11-
|
|
17667
|
+
lastUpdated: "2026-11-12T19:52:24.186Z",
|
|
18131
17668
|
models: [],
|
|
18132
17669
|
plans: [
|
|
18133
17670
|
{
|
|
@@ -18147,14 +17684,14 @@ var init_bundled_recommended_list = __esm(() => {
|
|
|
18147
17684
|
id: "alibaba-token-plan-individual",
|
|
18148
17685
|
inclusions: [
|
|
18149
17686
|
{
|
|
18150
|
-
externalModelId: "
|
|
17687
|
+
externalModelId: "qwen4-max-preview",
|
|
18151
17688
|
kind: "provider_model",
|
|
18152
17689
|
provider: "qwencloud",
|
|
18153
17690
|
resolution: {
|
|
18154
|
-
modelId: "
|
|
17691
|
+
modelId: "qwen4-max-preview",
|
|
18155
17692
|
status: "mapped"
|
|
18156
17693
|
},
|
|
18157
|
-
sourceText: "
|
|
17694
|
+
sourceText: "qwen4-max-preview"
|
|
18158
17695
|
},
|
|
18159
17696
|
{
|
|
18160
17697
|
externalModelId: "glm-5.3",
|
|
@@ -18166,16 +17703,6 @@ var init_bundled_recommended_list = __esm(() => {
|
|
|
18166
17703
|
},
|
|
18167
17704
|
sourceText: "glm-5.3"
|
|
18168
17705
|
},
|
|
18169
|
-
{
|
|
18170
|
-
externalModelId: "deepseek-v4-pro",
|
|
18171
|
-
kind: "provider_model",
|
|
18172
|
-
provider: "qwencloud",
|
|
18173
|
-
resolution: {
|
|
18174
|
-
modelId: "deepseek-v4-pro",
|
|
18175
|
-
status: "mapped"
|
|
18176
|
-
},
|
|
18177
|
-
sourceText: "deepseek-v4-pro"
|
|
18178
|
-
},
|
|
18179
17706
|
{
|
|
18180
17707
|
externalModelId: "deepseek-v4.1-flash",
|
|
18181
17708
|
kind: "provider_model",
|
|
@@ -18200,24 +17727,14 @@ var init_bundled_recommended_list = __esm(() => {
|
|
|
18200
17727
|
id: "alibaba-token-plan-team-edition",
|
|
18201
17728
|
inclusions: [
|
|
18202
17729
|
{
|
|
18203
|
-
externalModelId: "
|
|
17730
|
+
externalModelId: "qwen4-max-preview",
|
|
18204
17731
|
kind: "provider_model",
|
|
18205
17732
|
provider: "qwencloud",
|
|
18206
17733
|
resolution: {
|
|
18207
|
-
modelId: "
|
|
17734
|
+
modelId: "qwen4-max-preview",
|
|
18208
17735
|
status: "mapped"
|
|
18209
17736
|
},
|
|
18210
|
-
sourceText: "
|
|
18211
|
-
},
|
|
18212
|
-
{
|
|
18213
|
-
externalModelId: "deepseek-v4-pro",
|
|
18214
|
-
kind: "provider_model",
|
|
18215
|
-
provider: "qwencloud",
|
|
18216
|
-
resolution: {
|
|
18217
|
-
modelId: "deepseek-v4-pro",
|
|
18218
|
-
status: "mapped"
|
|
18219
|
-
},
|
|
18220
|
-
sourceText: "deepseek-v4-pro"
|
|
17737
|
+
sourceText: "qwen4-max-preview"
|
|
18221
17738
|
},
|
|
18222
17739
|
{
|
|
18223
17740
|
externalModelId: "deepseek-v4.1-flash",
|
|
@@ -18315,16 +17832,6 @@ var init_bundled_recommended_list = __esm(() => {
|
|
|
18315
17832
|
},
|
|
18316
17833
|
sourceText: "GLM-5.3-Flash"
|
|
18317
17834
|
},
|
|
18318
|
-
{
|
|
18319
|
-
externalModelId: "DeepSeek-V4-Pro",
|
|
18320
|
-
kind: "provider_model",
|
|
18321
|
-
provider: "byteplus",
|
|
18322
|
-
resolution: {
|
|
18323
|
-
modelId: "deepseek-v4-pro",
|
|
18324
|
-
status: "mapped"
|
|
18325
|
-
},
|
|
18326
|
-
sourceText: "DeepSeek-V4-Pro"
|
|
18327
|
-
},
|
|
18328
17835
|
{
|
|
18329
17836
|
externalModelId: "DeepSeek-V4.1-Flash",
|
|
18330
17837
|
kind: "provider_model",
|
|
@@ -18545,26 +18052,6 @@ var init_bundled_recommended_list = __esm(() => {
|
|
|
18545
18052
|
},
|
|
18546
18053
|
sourceText: "Claude Sonnet 5.5 XHigh"
|
|
18547
18054
|
},
|
|
18548
|
-
{
|
|
18549
|
-
externalModelId: "deepseek-v4-pro-high",
|
|
18550
|
-
kind: "provider_model",
|
|
18551
|
-
provider: "cognition",
|
|
18552
|
-
resolution: {
|
|
18553
|
-
modelId: "deepseek-v4-pro",
|
|
18554
|
-
status: "mapped"
|
|
18555
|
-
},
|
|
18556
|
-
sourceText: "DeepSeek V4 Pro High"
|
|
18557
|
-
},
|
|
18558
|
-
{
|
|
18559
|
-
externalModelId: "deepseek-v4-pro-max",
|
|
18560
|
-
kind: "provider_model",
|
|
18561
|
-
provider: "cognition",
|
|
18562
|
-
resolution: {
|
|
18563
|
-
modelId: "deepseek-v4-pro",
|
|
18564
|
-
status: "mapped"
|
|
18565
|
-
},
|
|
18566
|
-
sourceText: "DeepSeek V4 Pro Max"
|
|
18567
|
-
},
|
|
18568
18055
|
{
|
|
18569
18056
|
externalModelId: "gemini-3-8-flash-high",
|
|
18570
18057
|
kind: "provider_model",
|
|
@@ -18845,46 +18332,6 @@ var init_bundled_recommended_list = __esm(() => {
|
|
|
18845
18332
|
},
|
|
18846
18333
|
sourceText: "GPT-6 Luna XHigh Thinking"
|
|
18847
18334
|
},
|
|
18848
|
-
{
|
|
18849
|
-
externalModelId: "grok-4-7-high",
|
|
18850
|
-
kind: "provider_model",
|
|
18851
|
-
provider: "cognition",
|
|
18852
|
-
resolution: {
|
|
18853
|
-
modelId: "grok-4.7",
|
|
18854
|
-
status: "mapped"
|
|
18855
|
-
},
|
|
18856
|
-
sourceText: "Grok 4.7 High"
|
|
18857
|
-
},
|
|
18858
|
-
{
|
|
18859
|
-
externalModelId: "grok-4-7-low",
|
|
18860
|
-
kind: "provider_model",
|
|
18861
|
-
provider: "cognition",
|
|
18862
|
-
resolution: {
|
|
18863
|
-
modelId: "grok-4.7",
|
|
18864
|
-
status: "mapped"
|
|
18865
|
-
},
|
|
18866
|
-
sourceText: "Grok 4.7 Low"
|
|
18867
|
-
},
|
|
18868
|
-
{
|
|
18869
|
-
externalModelId: "grok-4-7-medium",
|
|
18870
|
-
kind: "provider_model",
|
|
18871
|
-
provider: "cognition",
|
|
18872
|
-
resolution: {
|
|
18873
|
-
modelId: "grok-4.7",
|
|
18874
|
-
status: "mapped"
|
|
18875
|
-
},
|
|
18876
|
-
sourceText: "Grok 4.7 Medium"
|
|
18877
|
-
},
|
|
18878
|
-
{
|
|
18879
|
-
externalModelId: "grok-4-7-xhigh",
|
|
18880
|
-
kind: "provider_model",
|
|
18881
|
-
provider: "cognition",
|
|
18882
|
-
resolution: {
|
|
18883
|
-
modelId: "grok-4.7",
|
|
18884
|
-
status: "mapped"
|
|
18885
|
-
},
|
|
18886
|
-
sourceText: "Grok 4.7 XHigh"
|
|
18887
|
-
},
|
|
18888
18335
|
{
|
|
18889
18336
|
externalModelId: "kimi-k3-1-pro-high",
|
|
18890
18337
|
kind: "provider_model",
|
|
@@ -18958,14 +18405,14 @@ var init_bundled_recommended_list = __esm(() => {
|
|
|
18958
18405
|
sourceText: "claude-sonnet-5-5-medium"
|
|
18959
18406
|
},
|
|
18960
18407
|
{
|
|
18961
|
-
externalModelId: "
|
|
18408
|
+
externalModelId: "claude-opus-5-5-medium",
|
|
18962
18409
|
kind: "provider_model",
|
|
18963
18410
|
provider: "antigravity",
|
|
18964
18411
|
resolution: {
|
|
18965
|
-
modelId: "
|
|
18412
|
+
modelId: "claude-opus-5-5",
|
|
18966
18413
|
status: "mapped"
|
|
18967
18414
|
},
|
|
18968
|
-
sourceText: "
|
|
18415
|
+
sourceText: "claude-opus-5-5-medium"
|
|
18969
18416
|
},
|
|
18970
18417
|
{
|
|
18971
18418
|
externalModelId: "claude-opus-5-5-high",
|
|
@@ -18978,44 +18425,44 @@ var init_bundled_recommended_list = __esm(() => {
|
|
|
18978
18425
|
sourceText: "claude-opus-5-5-high"
|
|
18979
18426
|
},
|
|
18980
18427
|
{
|
|
18981
|
-
externalModelId: "
|
|
18428
|
+
externalModelId: "gemini-3.8-flash-medium",
|
|
18982
18429
|
kind: "provider_model",
|
|
18983
18430
|
provider: "antigravity",
|
|
18984
18431
|
resolution: {
|
|
18985
|
-
modelId: "
|
|
18432
|
+
modelId: "gemini-3.8-flash",
|
|
18986
18433
|
status: "mapped"
|
|
18987
18434
|
},
|
|
18988
|
-
sourceText: "
|
|
18435
|
+
sourceText: "gemini-3.8-flash-medium"
|
|
18989
18436
|
},
|
|
18990
18437
|
{
|
|
18991
|
-
externalModelId: "gemini-
|
|
18438
|
+
externalModelId: "gemini-4-argon-low",
|
|
18992
18439
|
kind: "provider_model",
|
|
18993
18440
|
provider: "antigravity",
|
|
18994
18441
|
resolution: {
|
|
18995
|
-
modelId: "gemini-
|
|
18442
|
+
modelId: "gemini-4-argon",
|
|
18996
18443
|
status: "mapped"
|
|
18997
18444
|
},
|
|
18998
|
-
sourceText: "gemini-
|
|
18445
|
+
sourceText: "gemini-4-argon-low"
|
|
18999
18446
|
},
|
|
19000
18447
|
{
|
|
19001
|
-
externalModelId: "
|
|
18448
|
+
externalModelId: "gemini-3.8-flash-low",
|
|
19002
18449
|
kind: "provider_model",
|
|
19003
18450
|
provider: "antigravity",
|
|
19004
18451
|
resolution: {
|
|
19005
|
-
modelId: "
|
|
18452
|
+
modelId: "gemini-3.8-flash",
|
|
19006
18453
|
status: "mapped"
|
|
19007
18454
|
},
|
|
19008
|
-
sourceText: "
|
|
18455
|
+
sourceText: "gemini-3.8-flash-low"
|
|
19009
18456
|
},
|
|
19010
18457
|
{
|
|
19011
|
-
externalModelId: "
|
|
18458
|
+
externalModelId: "claude-sonnet-5-5-high",
|
|
19012
18459
|
kind: "provider_model",
|
|
19013
18460
|
provider: "antigravity",
|
|
19014
18461
|
resolution: {
|
|
19015
|
-
modelId: "
|
|
18462
|
+
modelId: "claude-sonnet-5-5",
|
|
19016
18463
|
status: "mapped"
|
|
19017
18464
|
},
|
|
19018
|
-
sourceText: "
|
|
18465
|
+
sourceText: "claude-sonnet-5-5-high"
|
|
19019
18466
|
},
|
|
19020
18467
|
{
|
|
19021
18468
|
externalModelId: "gemini-4-argon-medium",
|
|
@@ -19028,44 +18475,44 @@ var init_bundled_recommended_list = __esm(() => {
|
|
|
19028
18475
|
sourceText: "gemini-4-argon-medium"
|
|
19029
18476
|
},
|
|
19030
18477
|
{
|
|
19031
|
-
externalModelId: "
|
|
18478
|
+
externalModelId: "gemini-4-argon-high",
|
|
19032
18479
|
kind: "provider_model",
|
|
19033
18480
|
provider: "antigravity",
|
|
19034
18481
|
resolution: {
|
|
19035
|
-
modelId: "
|
|
18482
|
+
modelId: "gemini-4-argon",
|
|
19036
18483
|
status: "mapped"
|
|
19037
18484
|
},
|
|
19038
|
-
sourceText: "
|
|
18485
|
+
sourceText: "gemini-4-argon-high"
|
|
19039
18486
|
},
|
|
19040
18487
|
{
|
|
19041
|
-
externalModelId: "gemini-3.8-flash-
|
|
18488
|
+
externalModelId: "gemini-3.8-flash-high",
|
|
19042
18489
|
kind: "provider_model",
|
|
19043
18490
|
provider: "antigravity",
|
|
19044
18491
|
resolution: {
|
|
19045
18492
|
modelId: "gemini-3.8-flash",
|
|
19046
18493
|
status: "mapped"
|
|
19047
18494
|
},
|
|
19048
|
-
sourceText: "gemini-3.8-flash-
|
|
18495
|
+
sourceText: "gemini-3.8-flash-high"
|
|
19049
18496
|
},
|
|
19050
18497
|
{
|
|
19051
|
-
externalModelId: "claude-opus-5-5-
|
|
18498
|
+
externalModelId: "claude-opus-5-5-low",
|
|
19052
18499
|
kind: "provider_model",
|
|
19053
18500
|
provider: "antigravity",
|
|
19054
18501
|
resolution: {
|
|
19055
18502
|
modelId: "claude-opus-5-5",
|
|
19056
18503
|
status: "mapped"
|
|
19057
18504
|
},
|
|
19058
|
-
sourceText: "claude-opus-5-5-
|
|
18505
|
+
sourceText: "claude-opus-5-5-low"
|
|
19059
18506
|
},
|
|
19060
18507
|
{
|
|
19061
|
-
externalModelId: "
|
|
18508
|
+
externalModelId: "claude-sonnet-5-5-low",
|
|
19062
18509
|
kind: "provider_model",
|
|
19063
18510
|
provider: "antigravity",
|
|
19064
18511
|
resolution: {
|
|
19065
|
-
modelId: "
|
|
18512
|
+
modelId: "claude-sonnet-5-5",
|
|
19066
18513
|
status: "mapped"
|
|
19067
18514
|
},
|
|
19068
|
-
sourceText: "
|
|
18515
|
+
sourceText: "claude-sonnet-5-5-low"
|
|
19069
18516
|
}
|
|
19070
18517
|
],
|
|
19071
18518
|
modelDiscovery: "client",
|
|
@@ -19223,16 +18670,6 @@ var init_bundled_recommended_list = __esm(() => {
|
|
|
19223
18670
|
},
|
|
19224
18671
|
sourceText: "muse-spark-1.3"
|
|
19225
18672
|
},
|
|
19226
|
-
{
|
|
19227
|
-
externalModelId: "deepseek-v4-pro",
|
|
19228
|
-
kind: "provider_model",
|
|
19229
|
-
provider: "llmgateway",
|
|
19230
|
-
resolution: {
|
|
19231
|
-
modelId: "deepseek-v4-pro",
|
|
19232
|
-
status: "mapped"
|
|
19233
|
-
},
|
|
19234
|
-
sourceText: "deepseek-v4-pro"
|
|
19235
|
-
},
|
|
19236
18673
|
{
|
|
19237
18674
|
externalModelId: "deepseek-v4.1-flash",
|
|
19238
18675
|
kind: "provider_model",
|
|
@@ -19263,16 +18700,6 @@ var init_bundled_recommended_list = __esm(() => {
|
|
|
19263
18700
|
},
|
|
19264
18701
|
sourceText: "kimi-k3.1-pro"
|
|
19265
18702
|
},
|
|
19266
|
-
{
|
|
19267
|
-
externalModelId: "qwen3.8-max",
|
|
19268
|
-
kind: "provider_model",
|
|
19269
|
-
provider: "llmgateway",
|
|
19270
|
-
resolution: {
|
|
19271
|
-
modelId: "qwen3.8-max",
|
|
19272
|
-
status: "mapped"
|
|
19273
|
-
},
|
|
19274
|
-
sourceText: "qwen3.8-max"
|
|
19275
|
-
},
|
|
19276
18703
|
{
|
|
19277
18704
|
externalModelId: "qwen3.8-omni-flash",
|
|
19278
18705
|
kind: "provider_model",
|
|
@@ -19399,74 +18826,74 @@ var init_bundled_recommended_list = __esm(() => {
|
|
|
19399
18826
|
id: "ollama-cloud",
|
|
19400
18827
|
inclusions: [
|
|
19401
18828
|
{
|
|
19402
|
-
externalModelId: "
|
|
18829
|
+
externalModelId: "deepseek-v4.1-flash",
|
|
19403
18830
|
kind: "provider_model",
|
|
19404
18831
|
provider: "ollamacloud",
|
|
19405
18832
|
resolution: {
|
|
19406
|
-
modelId: "
|
|
18833
|
+
modelId: "deepseek-v4.1-flash",
|
|
19407
18834
|
status: "mapped"
|
|
19408
18835
|
},
|
|
19409
|
-
sourceText: "
|
|
18836
|
+
sourceText: "deepseek-v4.1-flash"
|
|
19410
18837
|
},
|
|
19411
18838
|
{
|
|
19412
|
-
externalModelId: "
|
|
18839
|
+
externalModelId: "mimo-v2.6-pro",
|
|
19413
18840
|
kind: "provider_model",
|
|
19414
18841
|
provider: "ollamacloud",
|
|
19415
18842
|
resolution: {
|
|
19416
|
-
modelId: "
|
|
18843
|
+
modelId: "mimo-v2.6-pro",
|
|
19417
18844
|
status: "mapped"
|
|
19418
18845
|
},
|
|
19419
|
-
sourceText: "
|
|
18846
|
+
sourceText: "mimo-v2.6-pro"
|
|
19420
18847
|
},
|
|
19421
18848
|
{
|
|
19422
|
-
externalModelId: "
|
|
18849
|
+
externalModelId: "mimo-v2.6-flash",
|
|
19423
18850
|
kind: "provider_model",
|
|
19424
18851
|
provider: "ollamacloud",
|
|
19425
18852
|
resolution: {
|
|
19426
|
-
modelId: "
|
|
18853
|
+
modelId: "mimo-v2.6-flash",
|
|
19427
18854
|
status: "mapped"
|
|
19428
18855
|
},
|
|
19429
|
-
sourceText: "
|
|
18856
|
+
sourceText: "mimo-v2.6-flash"
|
|
19430
18857
|
},
|
|
19431
18858
|
{
|
|
19432
|
-
externalModelId: "
|
|
18859
|
+
externalModelId: "glm-5.3-flash",
|
|
19433
18860
|
kind: "provider_model",
|
|
19434
18861
|
provider: "ollamacloud",
|
|
19435
18862
|
resolution: {
|
|
19436
|
-
modelId: "
|
|
18863
|
+
modelId: "glm-5.3-flash",
|
|
19437
18864
|
status: "mapped"
|
|
19438
18865
|
},
|
|
19439
|
-
sourceText: "
|
|
18866
|
+
sourceText: "glm-5.3-flash"
|
|
19440
18867
|
},
|
|
19441
18868
|
{
|
|
19442
|
-
externalModelId: "
|
|
18869
|
+
externalModelId: "kimi-k3.1-pro",
|
|
19443
18870
|
kind: "provider_model",
|
|
19444
18871
|
provider: "ollamacloud",
|
|
19445
18872
|
resolution: {
|
|
19446
|
-
modelId: "
|
|
18873
|
+
modelId: "kimi-k3.1-pro",
|
|
19447
18874
|
status: "mapped"
|
|
19448
18875
|
},
|
|
19449
|
-
sourceText: "
|
|
18876
|
+
sourceText: "kimi-k3.1-pro"
|
|
19450
18877
|
},
|
|
19451
18878
|
{
|
|
19452
|
-
externalModelId: "
|
|
18879
|
+
externalModelId: "minimax-m3.1-flash",
|
|
19453
18880
|
kind: "provider_model",
|
|
19454
18881
|
provider: "ollamacloud",
|
|
19455
18882
|
resolution: {
|
|
19456
|
-
modelId: "
|
|
18883
|
+
modelId: "minimax-m3.1-flash",
|
|
19457
18884
|
status: "mapped"
|
|
19458
18885
|
},
|
|
19459
|
-
sourceText: "
|
|
18886
|
+
sourceText: "minimax-m3.1-flash"
|
|
19460
18887
|
},
|
|
19461
18888
|
{
|
|
19462
|
-
externalModelId: "
|
|
18889
|
+
externalModelId: "glm-5.3",
|
|
19463
18890
|
kind: "provider_model",
|
|
19464
18891
|
provider: "ollamacloud",
|
|
19465
18892
|
resolution: {
|
|
19466
|
-
modelId: "
|
|
18893
|
+
modelId: "glm-5.3",
|
|
19467
18894
|
status: "mapped"
|
|
19468
18895
|
},
|
|
19469
|
-
sourceText: "
|
|
18896
|
+
sourceText: "glm-5.3"
|
|
19470
18897
|
}
|
|
19471
18898
|
],
|
|
19472
18899
|
modelDiscovery: "catalog",
|
|
@@ -19524,16 +18951,6 @@ var init_bundled_recommended_list = __esm(() => {
|
|
|
19524
18951
|
contractVersion: 3,
|
|
19525
18952
|
id: "opencode-go",
|
|
19526
18953
|
inclusions: [
|
|
19527
|
-
{
|
|
19528
|
-
externalModelId: "grok-4.7",
|
|
19529
|
-
kind: "provider_model",
|
|
19530
|
-
provider: "opencode",
|
|
19531
|
-
resolution: {
|
|
19532
|
-
modelId: "grok-4.7",
|
|
19533
|
-
status: "mapped"
|
|
19534
|
-
},
|
|
19535
|
-
sourceText: "grok-4.7"
|
|
19536
|
-
},
|
|
19537
18954
|
{
|
|
19538
18955
|
externalModelId: "glm-5.3-flash",
|
|
19539
18956
|
kind: "provider_model",
|
|
@@ -19634,16 +19051,6 @@ var init_bundled_recommended_list = __esm(() => {
|
|
|
19634
19051
|
},
|
|
19635
19052
|
sourceText: "muse-spark-1.3-contributor"
|
|
19636
19053
|
},
|
|
19637
|
-
{
|
|
19638
|
-
externalModelId: "qwen3.8-max",
|
|
19639
|
-
kind: "provider_model",
|
|
19640
|
-
provider: "opencode",
|
|
19641
|
-
resolution: {
|
|
19642
|
-
modelId: "qwen3.8-max",
|
|
19643
|
-
status: "mapped"
|
|
19644
|
-
},
|
|
19645
|
-
sourceText: "qwen3.8-max"
|
|
19646
|
-
},
|
|
19647
19054
|
{
|
|
19648
19055
|
externalModelId: "deepseek-v4.1-flash",
|
|
19649
19056
|
kind: "provider_model",
|
|
@@ -19653,16 +19060,6 @@ var init_bundled_recommended_list = __esm(() => {
|
|
|
19653
19060
|
status: "mapped"
|
|
19654
19061
|
},
|
|
19655
19062
|
sourceText: "deepseek-v4.1-flash"
|
|
19656
|
-
},
|
|
19657
|
-
{
|
|
19658
|
-
externalModelId: "deepseek-v4-pro",
|
|
19659
|
-
kind: "provider_model",
|
|
19660
|
-
provider: "opencode",
|
|
19661
|
-
resolution: {
|
|
19662
|
-
modelId: "deepseek-v4-pro",
|
|
19663
|
-
status: "mapped"
|
|
19664
|
-
},
|
|
19665
|
-
sourceText: "deepseek-v4-pro"
|
|
19666
19063
|
}
|
|
19667
19064
|
],
|
|
19668
19065
|
modelDiscovery: "catalog",
|
|
@@ -19741,7 +19138,7 @@ var init_bundled_recommended_list = __esm(() => {
|
|
|
19741
19138
|
}
|
|
19742
19139
|
],
|
|
19743
19140
|
routeRegistry: {
|
|
19744
|
-
generationId: "g-
|
|
19141
|
+
generationId: "g-20261112195224186-062fe295",
|
|
19745
19142
|
registry: {
|
|
19746
19143
|
contractVersion: 3,
|
|
19747
19144
|
registryVersion: "3.7.0",
|
|
@@ -51919,6 +51316,12 @@ var init_effort_recommendations = __esm(() => {
|
|
|
51919
51316
|
});
|
|
51920
51317
|
|
|
51921
51318
|
// src/providers/model-id-effort-choice.ts
|
|
51319
|
+
function existingResolutionChoice(id, effort, unusable) {
|
|
51320
|
+
return unusable ? { id, effort: unusable.effort, source: "map id not usable" } : { id, effort, source: "no map" };
|
|
51321
|
+
}
|
|
51322
|
+
function logModelIdChoice(label, requested, choice) {
|
|
51323
|
+
log(`[${label}] sending model ${choice.id} for ${requested} ` + `(effort ${choice.effort ?? "none given"}, from ${choice.source})`);
|
|
51324
|
+
}
|
|
51922
51325
|
function defaultCell(found) {
|
|
51923
51326
|
if (found.origin === "bundled") {
|
|
51924
51327
|
const table = bundledEffortRecommendations();
|
|
@@ -51930,26 +51333,30 @@ function defaultCell(found) {
|
|
|
51930
51333
|
return lookup.ok ? lookup.byTaskType[DEFAULT_TASK_TYPE] : undefined;
|
|
51931
51334
|
}
|
|
51932
51335
|
function noEffortLevel(found) {
|
|
51336
|
+
const fallback = { level: NO_EFFORT_FALLBACK_LEVEL, source: "medium fallback" };
|
|
51933
51337
|
const cell = defaultCell(found);
|
|
51934
51338
|
const route = found.connection.route;
|
|
51935
51339
|
if (!cell || !route)
|
|
51936
|
-
return
|
|
51340
|
+
return fallback;
|
|
51937
51341
|
const level = cell.effort.toLowerCase();
|
|
51938
51342
|
if (!isEffortLevel(level) || level === "none")
|
|
51939
|
-
return
|
|
51343
|
+
return fallback;
|
|
51940
51344
|
const namesThisConnection = cell.sendableOn.some((on) => on.routeId === route.routeId && on.routeProfileId === route.routeProfileId && on.externalModelId === found.connection.externalModelId && on.encoding === MODEL_ID_ENCODING);
|
|
51941
|
-
return namesThisConnection ? level :
|
|
51345
|
+
return namesThisConnection ? { level, source: "catalog default" } : fallback;
|
|
51942
51346
|
}
|
|
51943
51347
|
function chooseConnectionModelId(requested, provider, effort, account) {
|
|
51944
51348
|
const found = findModelIdEffortConnection(requested, provider);
|
|
51945
51349
|
if (!found)
|
|
51946
51350
|
return;
|
|
51947
|
-
|
|
51351
|
+
const decided = effort ? { level: effort, source: "request" } : noEffortLevel(found);
|
|
51352
|
+
const id = chooseModelIdForEffort(found.map, decided.level, account);
|
|
51353
|
+
return id ? { usable: true, choice: { id, effort: decided.level, source: decided.source } } : { usable: false, effort: decided.level };
|
|
51948
51354
|
}
|
|
51949
51355
|
var NO_EFFORT_FALLBACK_LEVEL = "medium";
|
|
51950
51356
|
var init_model_id_effort_choice = __esm(() => {
|
|
51951
51357
|
init_base_api_format();
|
|
51952
51358
|
init_model_catalog();
|
|
51359
|
+
init_logger();
|
|
51953
51360
|
init_effort_recommendations();
|
|
51954
51361
|
init_model_id_effort();
|
|
51955
51362
|
});
|
|
@@ -51959,6 +51366,7 @@ var exports_antigravity_model_id = {};
|
|
|
51959
51366
|
__export(exports_antigravity_model_id, {
|
|
51960
51367
|
antigravityBodyForModelId: () => antigravityBodyForModelId,
|
|
51961
51368
|
antigravityServedSetOfList: () => antigravityServedSetOfList,
|
|
51369
|
+
chooseAntigravityServedModel: () => chooseAntigravityServedModel,
|
|
51962
51370
|
rankAntigravityModel: () => rankAntigravityModel,
|
|
51963
51371
|
resolveAntigravityModelId: () => resolveAntigravityModelId,
|
|
51964
51372
|
resolveAntigravityServedModel: () => resolveAntigravityServedModel
|
|
@@ -51974,10 +51382,7 @@ function isExcluded2(served, id) {
|
|
|
51974
51382
|
function servesSelectable(served, id) {
|
|
51975
51383
|
return served.servedIds.includes(id) && !isExcluded2(served, id);
|
|
51976
51384
|
}
|
|
51977
|
-
function mappedAntigravityModelId(
|
|
51978
|
-
const req = requested.trim();
|
|
51979
|
-
if (!effort && servesSelectable(served, req))
|
|
51980
|
-
return;
|
|
51385
|
+
function mappedAntigravityModelId(req, served, effort) {
|
|
51981
51386
|
return chooseConnectionModelId(req, "antigravity", effort, {
|
|
51982
51387
|
sendable: (id) => servesSelectable(served, id) ? id : undefined
|
|
51983
51388
|
});
|
|
@@ -52043,18 +51448,26 @@ function resolveAntigravityModelId(requested, servedIds, defaultId, catalogDefau
|
|
|
52043
51448
|
return req;
|
|
52044
51449
|
}
|
|
52045
51450
|
function resolveAntigravityServedModel(requested, served, effort) {
|
|
51451
|
+
return chooseAntigravityServedModel(requested, served, effort).id;
|
|
51452
|
+
}
|
|
51453
|
+
function chooseAntigravityServedModel(requested, served, effort) {
|
|
52046
51454
|
const req = requested.trim();
|
|
52047
51455
|
const isMappedBase = findModelIdEffortConnection(req, "antigravity") !== undefined;
|
|
52048
|
-
if (!isMappedBase && served.servedIds.includes(req))
|
|
52049
|
-
return req;
|
|
52050
|
-
|
|
52051
|
-
if (
|
|
52052
|
-
return
|
|
51456
|
+
if (!isMappedBase && served.servedIds.includes(req)) {
|
|
51457
|
+
return { id: req, effort, source: "exact id" };
|
|
51458
|
+
}
|
|
51459
|
+
if (isMappedBase && !effort && servesSelectable(served, req)) {
|
|
51460
|
+
return { id: req, effort: undefined, source: "served base" };
|
|
51461
|
+
}
|
|
51462
|
+
const decision = mappedAntigravityModelId(req, served, effort);
|
|
51463
|
+
if (decision?.usable)
|
|
51464
|
+
return decision.choice;
|
|
52053
51465
|
if (servesSelectable(served, req))
|
|
52054
|
-
return req;
|
|
51466
|
+
return existingResolutionChoice(req, effort, decision);
|
|
52055
51467
|
const selectable = served.servedIds.filter((id) => !isExcluded2(served, id));
|
|
52056
51468
|
const defaultId = served.defaultId && selectable.includes(served.defaultId) ? served.defaultId : null;
|
|
52057
|
-
|
|
51469
|
+
const id = resolveAntigravityModelId(requested, selectable, defaultId, lookupFamilyDefaultVariant(requested, "antigravity"));
|
|
51470
|
+
return existingResolutionChoice(id, effort, decision);
|
|
52058
51471
|
}
|
|
52059
51472
|
var REASONING_TIER_RANK;
|
|
52060
51473
|
var init_antigravity_model_id = __esm(() => {
|
|
@@ -52396,6 +51809,7 @@ var exports_antigravity = {};
|
|
|
52396
51809
|
__export(exports_antigravity, {
|
|
52397
51810
|
AntigravityProviderTransport: () => AntigravityProviderTransport,
|
|
52398
51811
|
antigravityBodyForModelId: () => antigravityBodyForModelId,
|
|
51812
|
+
chooseAntigravityServedModel: () => chooseAntigravityServedModel,
|
|
52399
51813
|
resolveAntigravityServedModel: () => resolveAntigravityServedModel
|
|
52400
51814
|
});
|
|
52401
51815
|
import { randomUUID as randomUUID3 } from "crypto";
|
|
@@ -52487,9 +51901,8 @@ class AntigravityProviderTransport {
|
|
|
52487
51901
|
projectId = null;
|
|
52488
51902
|
tierId = null;
|
|
52489
51903
|
cachedAuth = null;
|
|
52490
|
-
|
|
52491
|
-
|
|
52492
|
-
_activeModelName;
|
|
51904
|
+
requests = new WeakMap;
|
|
51905
|
+
lastRequest;
|
|
52493
51906
|
pinnedEffort;
|
|
52494
51907
|
servedModels = [];
|
|
52495
51908
|
served = {
|
|
@@ -52500,8 +51913,8 @@ class AntigravityProviderTransport {
|
|
|
52500
51913
|
this.modelName = modelName;
|
|
52501
51914
|
this.servedModelName = modelName;
|
|
52502
51915
|
}
|
|
52503
|
-
getActiveModelName() {
|
|
52504
|
-
return this.
|
|
51916
|
+
getActiveModelName(request) {
|
|
51917
|
+
return this.requestState(request)?.activeModelName;
|
|
52505
51918
|
}
|
|
52506
51919
|
async discoverProbeModel(exclude) {
|
|
52507
51920
|
return discoverProviderProbeModel(this.name, this.displayName, exclude);
|
|
@@ -52559,18 +51972,29 @@ class AntigravityProviderTransport {
|
|
|
52559
51972
|
this.pinnedEffort = level;
|
|
52560
51973
|
}
|
|
52561
51974
|
transformPayload(payload, claudeRequest) {
|
|
52562
|
-
|
|
52563
|
-
const
|
|
51975
|
+
let choice;
|
|
51976
|
+
const request = {
|
|
51977
|
+
effort: effortOf(claudeRequest, this.pinnedEffort),
|
|
51978
|
+
onModelChoice: (decided) => {
|
|
51979
|
+
choice = decided;
|
|
51980
|
+
}
|
|
51981
|
+
};
|
|
51982
|
+
const envelope = this.cachedAuth?.transformPayload ? this.cachedAuth.transformPayload(payload, request) : this.buildLocalEnvelope(payload, request);
|
|
52564
51983
|
if (typeof envelope?.model === "string" && envelope.model) {
|
|
52565
51984
|
this.servedModelName = envelope.model;
|
|
52566
51985
|
}
|
|
52567
|
-
this.
|
|
52568
|
-
|
|
51986
|
+
const state = { payload, sentId: this.servedModelName, choice };
|
|
51987
|
+
if (envelope && typeof envelope === "object")
|
|
51988
|
+
this.requests.set(envelope, state);
|
|
51989
|
+
this.lastRequest = envelope ? state : undefined;
|
|
51990
|
+
if (choice)
|
|
51991
|
+
logModelIdChoice("Antigravity", this.modelName, choice);
|
|
52569
51992
|
return envelope;
|
|
52570
51993
|
}
|
|
52571
|
-
buildLocalEnvelope(payload,
|
|
52572
|
-
const
|
|
52573
|
-
|
|
51994
|
+
buildLocalEnvelope(payload, request) {
|
|
51995
|
+
const choice = chooseAntigravityServedModel(this.modelName, this.served, request.effort);
|
|
51996
|
+
request.onModelChoice?.(choice);
|
|
51997
|
+
return this.buildEnvelope(antigravityBodyForModelId(payload, choice.id), choice.id);
|
|
52574
51998
|
}
|
|
52575
51999
|
buildEnvelope(innerPayload, model) {
|
|
52576
52000
|
const envelope = {
|
|
@@ -52587,7 +52011,10 @@ class AntigravityProviderTransport {
|
|
|
52587
52011
|
async enqueueRequest(fetchFn, opts) {
|
|
52588
52012
|
const queue = GeminiRequestQueue.getInstance();
|
|
52589
52013
|
const signal = opts?.signal;
|
|
52590
|
-
|
|
52014
|
+
const state = this.requestState(opts?.request);
|
|
52015
|
+
const sentId = state?.sentId ?? this.servedModelName;
|
|
52016
|
+
if (state)
|
|
52017
|
+
state.activeModelName = undefined;
|
|
52591
52018
|
let lastResponse = null;
|
|
52592
52019
|
for (let attempt = 1;attempt <= MAX_RETRY_ATTEMPTS; attempt++) {
|
|
52593
52020
|
if (signal?.aborted)
|
|
@@ -52595,7 +52022,7 @@ class AntigravityProviderTransport {
|
|
|
52595
52022
|
const response = await queue.enqueue(fetchFn, opts);
|
|
52596
52023
|
if (response.status !== 429) {
|
|
52597
52024
|
if (response.status === 404) {
|
|
52598
|
-
return this.rewriteModelNotFound(response);
|
|
52025
|
+
return this.rewriteModelNotFound(response, sentId);
|
|
52599
52026
|
}
|
|
52600
52027
|
return response;
|
|
52601
52028
|
}
|
|
@@ -52608,16 +52035,16 @@ class AntigravityProviderTransport {
|
|
|
52608
52035
|
}
|
|
52609
52036
|
log(`[Antigravity] 429 classified: reason=${classification.reason}, terminal=${classification.terminal}, delay=${classification.retryDelayMs}ms`);
|
|
52610
52037
|
if (classification.reason === "MODEL_CAPACITY_EXHAUSTED") {
|
|
52611
|
-
return this.handleCapacityExhausted(response, queue, signal);
|
|
52038
|
+
return this.handleCapacityExhausted(response, queue, state, sentId, signal);
|
|
52612
52039
|
}
|
|
52613
52040
|
if (classification.terminal) {
|
|
52614
|
-
return await this.explainTerminalQuota(response, bodyText, classification.reason, signal);
|
|
52041
|
+
return await this.explainTerminalQuota(response, bodyText, classification.reason, sentId, signal);
|
|
52615
52042
|
}
|
|
52616
52043
|
if (attempt < MAX_RETRY_ATTEMPTS) {
|
|
52617
52044
|
const delay = classification.retryDelayMs ?? (classification.unattributed ? UNATTRIBUTED_RETRY_DELAY_MS : DEFAULT_RATE_LIMIT_DELAY_MS);
|
|
52618
52045
|
logStderr(`[Antigravity] Rate limited (${classification.reason || "unattributed \u2014 server gave no reason or retry delay"}), retrying in ${(delay / 1000).toFixed(1)}s (attempt ${attempt}/${MAX_RETRY_ATTEMPTS})`);
|
|
52619
52046
|
if (attempt === 1) {
|
|
52620
|
-
await raceCallAbort(this.logQuotaInfo(), signal);
|
|
52047
|
+
await raceCallAbort(this.logQuotaInfo(sentId), signal);
|
|
52621
52048
|
}
|
|
52622
52049
|
if (await sleepUnlessAborted(delay, signal))
|
|
52623
52050
|
throw callAbortError();
|
|
@@ -52626,35 +52053,42 @@ class AntigravityProviderTransport {
|
|
|
52626
52053
|
logStderr(`[Antigravity] Rate limit persisted after ${MAX_RETRY_ATTEMPTS} retries`);
|
|
52627
52054
|
return lastResponse;
|
|
52628
52055
|
}
|
|
52629
|
-
|
|
52056
|
+
requestState(request) {
|
|
52057
|
+
const keyed = request && typeof request === "object" ? this.requests.get(request) : undefined;
|
|
52058
|
+
return keyed ?? this.lastRequest;
|
|
52059
|
+
}
|
|
52060
|
+
async handleCapacityExhausted(originalResponse, queue, request, sentId, signal) {
|
|
52630
52061
|
const excluded = this.served.excludedIds;
|
|
52631
|
-
const candidates = this.servedModels.filter((m) => m !==
|
|
52062
|
+
const candidates = this.servedModels.filter((m) => m !== sentId && !excluded?.has(m));
|
|
52632
52063
|
if (candidates.length === 0) {
|
|
52633
|
-
log(`[Antigravity] ${
|
|
52064
|
+
log(`[Antigravity] ${sentId} capacity exhausted, no fallback models available`);
|
|
52634
52065
|
return originalResponse;
|
|
52635
52066
|
}
|
|
52636
|
-
if (!
|
|
52637
|
-
log(`[Antigravity] ${
|
|
52067
|
+
if (!request) {
|
|
52068
|
+
log(`[Antigravity] ${sentId} capacity exhausted but no stored envelope for retry`);
|
|
52638
52069
|
return originalResponse;
|
|
52639
52070
|
}
|
|
52640
|
-
log(`[Antigravity] Model ${
|
|
52641
|
-
logStderr(`[Antigravity] ${
|
|
52071
|
+
log(`[Antigravity] Model ${sentId} capacity exhausted, starting fallback chain`);
|
|
52072
|
+
logStderr(`[Antigravity] ${sentId} capacity exhausted, trying fallback models...`);
|
|
52642
52073
|
let lastResponse = originalResponse;
|
|
52643
|
-
const originalPayload =
|
|
52074
|
+
const originalPayload = request.payload;
|
|
52075
|
+
const choice = request.choice;
|
|
52644
52076
|
const endpoint = this.getEndpoint();
|
|
52645
|
-
const tried = [
|
|
52077
|
+
const tried = [sentId];
|
|
52646
52078
|
for (const fallbackModel of candidates) {
|
|
52647
52079
|
if (signal?.aborted)
|
|
52648
52080
|
throw callAbortError();
|
|
52649
52081
|
log(`[Antigravity] Trying fallback model: ${fallbackModel}`);
|
|
52082
|
+
if (choice)
|
|
52083
|
+
logModelIdChoice("Antigravity", this.modelName, { ...choice, id: fallbackModel });
|
|
52650
52084
|
tried.push(fallbackModel);
|
|
52651
52085
|
const fallbackEnvelope = this.buildEnvelope(antigravityBodyForModelId(originalPayload, fallbackModel), fallbackModel);
|
|
52652
52086
|
const headers = this.buildLocalHeaders();
|
|
52653
52087
|
headers["Content-Type"] = "application/json";
|
|
52654
52088
|
const fallbackResponse = await this.fetchCapacityCandidate(queue, endpoint, headers, fallbackEnvelope, signal);
|
|
52655
52089
|
if (fallbackResponse.status === 200) {
|
|
52656
|
-
|
|
52657
|
-
logStderr(`[Antigravity] Using fallback model: ${fallbackModel} (${
|
|
52090
|
+
request.activeModelName = fallbackModel;
|
|
52091
|
+
logStderr(`[Antigravity] Using fallback model: ${fallbackModel} (${sentId} had no capacity)`);
|
|
52658
52092
|
return fallbackResponse;
|
|
52659
52093
|
}
|
|
52660
52094
|
if (fallbackResponse.status === 404) {
|
|
@@ -52677,7 +52111,7 @@ class AntigravityProviderTransport {
|
|
|
52677
52111
|
log("[Antigravity] All fallback models exhausted");
|
|
52678
52112
|
logStderr(`[Antigravity] All models capacity exhausted (tried: ${tried.join(" -> ")})`);
|
|
52679
52113
|
if (lastResponse.status === 404) {
|
|
52680
|
-
return this.rewriteModelNotFound(lastResponse, true);
|
|
52114
|
+
return this.rewriteModelNotFound(lastResponse, sentId, true);
|
|
52681
52115
|
}
|
|
52682
52116
|
return lastResponse;
|
|
52683
52117
|
}
|
|
@@ -52687,10 +52121,10 @@ class AntigravityProviderTransport {
|
|
|
52687
52121
|
return queue.enqueue(() => fetch(endpoint, init));
|
|
52688
52122
|
return queue.enqueue(() => signal.aborted ? Promise.reject(callAbortError()) : fetch(endpoint, { ...init, signal }), { signal });
|
|
52689
52123
|
}
|
|
52690
|
-
rewriteModelNotFound(response, capacityFallbacksExhausted = false) {
|
|
52124
|
+
rewriteModelNotFound(response, sentId, capacityFallbacksExhausted = false) {
|
|
52691
52125
|
const served = this.servedModels;
|
|
52692
|
-
if (!capacityFallbacksExhausted && served.includes(
|
|
52693
|
-
log(`[Antigravity] 404 for ${
|
|
52126
|
+
if (!capacityFallbacksExhausted && served.includes(sentId)) {
|
|
52127
|
+
log(`[Antigravity] 404 for ${sentId}, which IS in the dynamic models catalog \u2014 passing through unmodified`);
|
|
52694
52128
|
return response;
|
|
52695
52129
|
}
|
|
52696
52130
|
response.text().catch(() => {});
|
|
@@ -52712,7 +52146,7 @@ class AntigravityProviderTransport {
|
|
|
52712
52146
|
headers: { "Content-Type": "application/json" }
|
|
52713
52147
|
});
|
|
52714
52148
|
}
|
|
52715
|
-
async quotaRemainingForServedModel() {
|
|
52149
|
+
async quotaRemainingForServedModel(sentId) {
|
|
52716
52150
|
if (!this.accessToken || !this.projectId)
|
|
52717
52151
|
return;
|
|
52718
52152
|
let timer;
|
|
@@ -52728,12 +52162,12 @@ class AntigravityProviderTransport {
|
|
|
52728
52162
|
const buckets = data?.buckets;
|
|
52729
52163
|
if (!buckets?.length)
|
|
52730
52164
|
return;
|
|
52731
|
-
const bucket = buckets.find((b) => b.modelId ===
|
|
52165
|
+
const bucket = buckets.find((b) => b.modelId === sentId) ?? buckets.find((b) => b.modelId === this.modelName);
|
|
52732
52166
|
return typeof bucket?.remainingFraction === "number" ? bucket.remainingFraction : undefined;
|
|
52733
52167
|
}
|
|
52734
|
-
async explainTerminalQuota(response, bodyText, reason, signal) {
|
|
52735
|
-
const remaining = await raceCallAbort(this.quotaRemainingForServedModel(), signal);
|
|
52736
|
-
const model =
|
|
52168
|
+
async explainTerminalQuota(response, bodyText, reason, sentId, signal) {
|
|
52169
|
+
const remaining = await raceCallAbort(this.quotaRemainingForServedModel(sentId), signal);
|
|
52170
|
+
const model = sentId;
|
|
52737
52171
|
let advice;
|
|
52738
52172
|
if (remaining !== undefined && remaining > 0) {
|
|
52739
52173
|
advice = `your Antigravity plan still reports ${(remaining * 100).toFixed(1)}% of the ${model} ` + "allowance available, so this is probably NOT an exhausted plan. The usual cause is an " + "Antigravity session Google invalidated server-side; run `claudish login antigravity`.";
|
|
@@ -52759,7 +52193,7 @@ class AntigravityProviderTransport {
|
|
|
52759
52193
|
headers: { "Content-Type": "application/json" }
|
|
52760
52194
|
});
|
|
52761
52195
|
}
|
|
52762
|
-
async logQuotaInfo() {
|
|
52196
|
+
async logQuotaInfo(sentId) {
|
|
52763
52197
|
if (!this.accessToken || !this.projectId)
|
|
52764
52198
|
return;
|
|
52765
52199
|
try {
|
|
@@ -52776,23 +52210,23 @@ class AntigravityProviderTransport {
|
|
|
52776
52210
|
hour: "2-digit",
|
|
52777
52211
|
minute: "2-digit"
|
|
52778
52212
|
}) : "?";
|
|
52779
|
-
const mine = this.isThrottledModel(bucket.modelId);
|
|
52213
|
+
const mine = this.isThrottledModel(bucket.modelId, sentId);
|
|
52780
52214
|
if (mine)
|
|
52781
52215
|
sawThrottledModel = true;
|
|
52782
52216
|
lines.push(` ${mine ? "> " : " "}${bucket.modelId}: ${pct} remaining (resets ${reset})`);
|
|
52783
52217
|
}
|
|
52784
52218
|
if (lines.length === 0)
|
|
52785
52219
|
return;
|
|
52786
|
-
const requested =
|
|
52220
|
+
const requested = sentId && sentId !== this.modelName ? `${this.modelName} (served as ${sentId})` : this.modelName;
|
|
52787
52221
|
const header = sawThrottledModel ? `[Antigravity] Quota status (> = ${requested}):` : `[Antigravity] Quota status \u2014 NOTE: ${requested} has no quota bucket below, ` + "so these figures do not explain its rate limit:";
|
|
52788
52222
|
logStderr(`${header}
|
|
52789
52223
|
${lines.join(`
|
|
52790
52224
|
`)}`);
|
|
52791
52225
|
} catch {}
|
|
52792
52226
|
}
|
|
52793
|
-
isThrottledModel(bucketModelId) {
|
|
52227
|
+
isThrottledModel(bucketModelId, sentId) {
|
|
52794
52228
|
const id = bucketModelId.toLowerCase();
|
|
52795
|
-
return id === this.modelName.toLowerCase() || id ===
|
|
52229
|
+
return id === this.modelName.toLowerCase() || id === sentId.toLowerCase();
|
|
52796
52230
|
}
|
|
52797
52231
|
async getQuotaRemaining(modelName) {
|
|
52798
52232
|
if (!this.accessToken || !this.projectId)
|
|
@@ -52818,6 +52252,7 @@ var init_antigravity2 = __esm(() => {
|
|
|
52818
52252
|
init_gemini_queue();
|
|
52819
52253
|
init_logger();
|
|
52820
52254
|
init_antigravity_model_id();
|
|
52255
|
+
init_model_id_effort_choice();
|
|
52821
52256
|
init_wire_request();
|
|
52822
52257
|
init_provider_model_discovery();
|
|
52823
52258
|
init_antigravity_model_id();
|
|
@@ -52876,7 +52311,9 @@ ${antigravityHost()}` : undefined;
|
|
|
52876
52311
|
"x-activity-request-id": createActivityRequestId2()
|
|
52877
52312
|
},
|
|
52878
52313
|
transformPayload: (inner, request) => {
|
|
52879
|
-
const
|
|
52314
|
+
const choice = chooseAntigravityServedModel(ctx.model, served, request?.effort);
|
|
52315
|
+
request?.onModelChoice?.(choice);
|
|
52316
|
+
const model = choice.id;
|
|
52880
52317
|
const env = {
|
|
52881
52318
|
model,
|
|
52882
52319
|
project: projectId,
|
|
@@ -60805,7 +60242,7 @@ class DevinModelResolver {
|
|
|
60805
60242
|
seen.add(entry.contextWindow ?? 0);
|
|
60806
60243
|
windowsPerLabel.set(label, seen);
|
|
60807
60244
|
}
|
|
60808
|
-
const bases = soleConnectionBases([...groups.values()], listModelIdEffortConnections("devin"), (base) => this.expand(base, modelsCatalog, {}));
|
|
60245
|
+
const bases = soleConnectionBases([...groups.values()], listModelIdEffortConnections("devin"), (base) => this.expand(base, modelsCatalog, { quiet: true }));
|
|
60809
60246
|
const choices = [];
|
|
60810
60247
|
const emitted = new Set;
|
|
60811
60248
|
for (const group of groups.values()) {
|
|
@@ -60836,9 +60273,25 @@ class DevinModelResolver {
|
|
|
60836
60273
|
return choices;
|
|
60837
60274
|
}
|
|
60838
60275
|
expand(selection, modelsCatalog, ctx) {
|
|
60276
|
+
const choice = this.choose(selection, modelsCatalog, ctx.effort);
|
|
60277
|
+
if (!ctx.quiet)
|
|
60278
|
+
logModelIdChoice("Devin", selection.trim() || selection, choice);
|
|
60279
|
+
return choice.id;
|
|
60280
|
+
}
|
|
60281
|
+
choose(selection, modelsCatalog, effort) {
|
|
60839
60282
|
const requested = selection.trim();
|
|
60283
|
+
const lower = requested.toLowerCase();
|
|
60284
|
+
const exact = modelsCatalog.find((entry) => entry.wireId.toLowerCase() === lower);
|
|
60285
|
+
const isMappedBase = requested !== "" && findModelIdEffortConnection(requested, "devin") !== undefined;
|
|
60286
|
+
if (exact && !effort && isMappedBase) {
|
|
60287
|
+
return { id: exact.wireId, effort: undefined, source: "served base" };
|
|
60288
|
+
}
|
|
60289
|
+
const decision = isMappedBase ? mappedWireId(requested, modelsCatalog, effort) : undefined;
|
|
60290
|
+
if (decision?.usable)
|
|
60291
|
+
return decision.choice;
|
|
60292
|
+
const unmapped = (id) => existingResolutionChoice(id, effort, decision);
|
|
60840
60293
|
if (!requested || modelsCatalog.length === 0)
|
|
60841
|
-
return requested || selection;
|
|
60294
|
+
return unmapped(requested || selection);
|
|
60842
60295
|
const groups = new Map;
|
|
60843
60296
|
for (const entry of modelsCatalog) {
|
|
60844
60297
|
const key = keyOf(entry);
|
|
@@ -60848,17 +60301,11 @@ class DevinModelResolver {
|
|
|
60848
60301
|
else
|
|
60849
60302
|
groups.set(key, [entry]);
|
|
60850
60303
|
}
|
|
60851
|
-
const lower = requested.toLowerCase();
|
|
60852
|
-
const exact = modelsCatalog.find((entry) => entry.wireId.toLowerCase() === lower);
|
|
60853
|
-
const mapped = mappedWireId(requested, exact, modelsCatalog, ctx.effort);
|
|
60854
|
-
if (mapped)
|
|
60855
|
-
return mapped;
|
|
60856
60304
|
if (exact) {
|
|
60857
|
-
if (!
|
|
60858
|
-
return exact.wireId;
|
|
60859
|
-
|
|
60860
|
-
|
|
60861
|
-
return pickForEffort(groups.get(keyOf(exact)), ctx.effort).wireId;
|
|
60305
|
+
if (!effort || namesEffortTier(exact.wireId)) {
|
|
60306
|
+
return isMappedBase ? unmapped(exact.wireId) : { id: exact.wireId, effort, source: "exact id" };
|
|
60307
|
+
}
|
|
60308
|
+
return unmapped(pickForEffort(groups.get(keyOf(exact)), effort).wireId);
|
|
60862
60309
|
}
|
|
60863
60310
|
const named = modelsCatalog.filter((entry) => {
|
|
60864
60311
|
const label = nonEmpty(entry.groupLabel)?.toLowerCase();
|
|
@@ -60867,16 +60314,14 @@ class DevinModelResolver {
|
|
|
60867
60314
|
});
|
|
60868
60315
|
const pool = named.length > 0 ? named : effortSiblings(lower, modelsCatalog);
|
|
60869
60316
|
if (pool.length === 0)
|
|
60870
|
-
return requested;
|
|
60317
|
+
return unmapped(requested);
|
|
60871
60318
|
if (named.length === 0)
|
|
60872
|
-
return pickForEffort(pool,
|
|
60319
|
+
return unmapped(pickForEffort(pool, effort).wireId);
|
|
60873
60320
|
const chosen = pool.filter((entry) => entry.isFamilyDefault).sort(byCost)[0] ?? pool.slice().sort(byCost)[0];
|
|
60874
|
-
return pickForEffort(groups.get(keyOf(chosen)),
|
|
60321
|
+
return unmapped(pickForEffort(groups.get(keyOf(chosen)), effort).wireId);
|
|
60875
60322
|
}
|
|
60876
60323
|
}
|
|
60877
|
-
function mappedWireId(requested,
|
|
60878
|
-
if (exact && !effort)
|
|
60879
|
-
return;
|
|
60324
|
+
function mappedWireId(requested, modelsCatalog, effort) {
|
|
60880
60325
|
const byId = new Map;
|
|
60881
60326
|
for (const entry of modelsCatalog) {
|
|
60882
60327
|
const key = entry.wireId.toLowerCase();
|
|
@@ -67800,8 +67245,10 @@ class ComposedHandler {
|
|
|
67800
67245
|
return payload?.stream === true ? sse : sseResponseToJson(sse, this.bareModelName);
|
|
67801
67246
|
}
|
|
67802
67247
|
}
|
|
67248
|
+
let transportRequest;
|
|
67803
67249
|
if (this.provider.transformPayload) {
|
|
67804
67250
|
requestPayload = this.provider.transformPayload(requestPayload, claudeRequest, binding);
|
|
67251
|
+
transportRequest = requestPayload;
|
|
67805
67252
|
}
|
|
67806
67253
|
if (codexSpeed) {
|
|
67807
67254
|
addSigningSecrets(c, credentialValuesFromRequest(binding?.auth?.headers, this.signedEndpoint(binding)));
|
|
@@ -67898,7 +67345,9 @@ class ComposedHandler {
|
|
|
67898
67345
|
return outcome.response;
|
|
67899
67346
|
headers = outcome.value;
|
|
67900
67347
|
}
|
|
67901
|
-
|
|
67348
|
+
if (!this.provider.transformPayload)
|
|
67349
|
+
transportRequest = requestPayload;
|
|
67350
|
+
const serialize = () => this.provider.serializeBody?.(requestPayload, transportRequest) ?? {
|
|
67902
67351
|
body: JSON.stringify(requestPayload),
|
|
67903
67352
|
contentType: "application/json"
|
|
67904
67353
|
};
|
|
@@ -68022,7 +67471,10 @@ class ComposedHandler {
|
|
|
68022
67471
|
const signedWith = binding?.auth;
|
|
68023
67472
|
let received;
|
|
68024
67473
|
try {
|
|
68025
|
-
received = await (this.provider.enqueueRequest ? this.provider.enqueueRequest(fetchCurrent, {
|
|
67474
|
+
received = await (this.provider.enqueueRequest ? this.provider.enqueueRequest(fetchCurrent, {
|
|
67475
|
+
signal: attemptSignal,
|
|
67476
|
+
request: transportRequest
|
|
67477
|
+
}) : fetchCurrent());
|
|
68026
67478
|
} catch (error) {
|
|
68027
67479
|
clamp.disarm();
|
|
68028
67480
|
if (signedWith?.arm === "oauth" && signedWith.account?.provider === "openai-codex") {
|
|
@@ -68071,8 +67523,8 @@ class ComposedHandler {
|
|
|
68071
67523
|
}
|
|
68072
67524
|
if (episodeCount() > 0)
|
|
68073
67525
|
noteTargetReachable(this.provider.name, endpoint);
|
|
68074
|
-
|
|
68075
|
-
|
|
67526
|
+
const activeModel = this.provider.getActiveModelName?.(transportRequest);
|
|
67527
|
+
if (activeModel) {
|
|
68076
67528
|
this.tokenTracker.setActiveModelName(activeModel);
|
|
68077
67529
|
log(`[ComposedHandler] Transport fell back to model: ${activeModel}`);
|
|
68078
67530
|
}
|
|
@@ -68557,7 +68009,7 @@ class ComposedHandler {
|
|
|
68557
68009
|
response = settled.response;
|
|
68558
68010
|
}
|
|
68559
68011
|
if (this.resolveStreamFormat() === "connect-proto") {
|
|
68560
|
-
const settled = await this.settleDevinStreamHead(response, () => attempt());
|
|
68012
|
+
const settled = await this.settleDevinStreamHead(response, () => attempt(), transportRequest);
|
|
68561
68013
|
if (callAborted(c)) {
|
|
68562
68014
|
if (settled.kind === "ok")
|
|
68563
68015
|
await settled.response.body?.cancel().catch(() => {});
|
|
@@ -68673,14 +68125,14 @@ class ComposedHandler {
|
|
|
68673
68125
|
fetchHeaders: (b) => fetchHeaders(b),
|
|
68674
68126
|
serializeBody: (body) => {
|
|
68675
68127
|
const b = body ?? requestPayload;
|
|
68676
|
-
const s = this.provider.serializeBody?.(b);
|
|
68128
|
+
const s = this.provider.serializeBody?.(b, transportRequest);
|
|
68677
68129
|
return {
|
|
68678
68130
|
body: s?.body ?? JSON.stringify(b),
|
|
68679
68131
|
contentType: s?.contentType ?? "application/json"
|
|
68680
68132
|
};
|
|
68681
68133
|
},
|
|
68682
68134
|
getRequestInit: () => this.provider.getRequestInit?.() || {},
|
|
68683
|
-
enqueueRequest: this.provider.enqueueRequest ? (fn, o) => this.provider.enqueueRequest(fn, o) : undefined,
|
|
68135
|
+
enqueueRequest: this.provider.enqueueRequest ? (fn, o) => this.provider.enqueueRequest(fn, { ...o, request: transportRequest }) : undefined,
|
|
68684
68136
|
settleStreamHead: async (res, reissue, signal) => {
|
|
68685
68137
|
const settled = await this.settleResponsesStreamHead(res, reissue, { signal });
|
|
68686
68138
|
if (settled.kind === "quota") {
|
|
@@ -68840,7 +68292,7 @@ class ComposedHandler {
|
|
|
68840
68292
|
response = next;
|
|
68841
68293
|
}
|
|
68842
68294
|
}
|
|
68843
|
-
async settleDevinStreamHead(initial, reissue) {
|
|
68295
|
+
async settleDevinStreamHead(initial, reissue, request) {
|
|
68844
68296
|
const rewrite = this.provider.rewriteInStreamError?.bind(this.provider);
|
|
68845
68297
|
let response = initial;
|
|
68846
68298
|
for (let attempt = 0;; attempt++) {
|
|
@@ -68848,7 +68300,7 @@ class ComposedHandler {
|
|
|
68848
68300
|
if (verdict.kind === "clean")
|
|
68849
68301
|
return { kind: "ok", response: verdict.response };
|
|
68850
68302
|
if (verdict.kind === "terminal") {
|
|
68851
|
-
const message = rewrite?.(verdict.code, verdict.message) ?? verdict.message;
|
|
68303
|
+
const message = rewrite?.(verdict.code, verdict.message, request) ?? verdict.message;
|
|
68852
68304
|
log(`[${this.provider.displayName}] terminal in-stream error ${verdict.code}`);
|
|
68853
68305
|
return { kind: "terminal", code: verdict.code, message };
|
|
68854
68306
|
}
|
|
@@ -69560,11 +69012,14 @@ var init_registry4 = __esm(() => {
|
|
|
69560
69012
|
});
|
|
69561
69013
|
|
|
69562
69014
|
// src/providers/devin/model-id-resolver.ts
|
|
69563
|
-
function resolveDevinModelUid(requested, effort, served) {
|
|
69015
|
+
function resolveDevinModelUid(requested, effort, served, options = {}) {
|
|
69564
69016
|
const trimmed = requested.trim();
|
|
69565
|
-
if (!trimmed
|
|
69566
|
-
return
|
|
69567
|
-
return expandSelection("devin", trimmed, served.map(devinModelsCatalogEntry), {
|
|
69017
|
+
if (!trimmed)
|
|
69018
|
+
return requested;
|
|
69019
|
+
return expandSelection("devin", trimmed, served.map(devinModelsCatalogEntry), {
|
|
69020
|
+
effort,
|
|
69021
|
+
quiet: options.quiet
|
|
69022
|
+
});
|
|
69568
69023
|
}
|
|
69569
69024
|
var init_model_id_resolver = __esm(() => {
|
|
69570
69025
|
init_devin();
|
|
@@ -69580,6 +69035,7 @@ class DevinProviderTransport {
|
|
|
69580
69035
|
cachedAuth = null;
|
|
69581
69036
|
served = [];
|
|
69582
69037
|
resolvedUid;
|
|
69038
|
+
resolvedUids = new WeakMap;
|
|
69583
69039
|
constructor(modelName) {
|
|
69584
69040
|
this.modelName = modelName;
|
|
69585
69041
|
this.resolvedUid = modelName;
|
|
@@ -69602,18 +69058,21 @@ class DevinProviderTransport {
|
|
|
69602
69058
|
const apiKey = readDevinApiKey();
|
|
69603
69059
|
return apiKey ? [apiKey] : [];
|
|
69604
69060
|
}
|
|
69605
|
-
serializeBody(payload) {
|
|
69061
|
+
serializeBody(payload, request) {
|
|
69606
69062
|
const apiKey = readDevinApiKey();
|
|
69607
69063
|
if (!apiKey) {
|
|
69608
69064
|
const err = new Error("No Devin credential available when encoding the request.");
|
|
69609
69065
|
err.terminal = true;
|
|
69610
69066
|
throw err;
|
|
69611
69067
|
}
|
|
69612
|
-
const
|
|
69613
|
-
|
|
69614
|
-
|
|
69615
|
-
if (
|
|
69616
|
-
|
|
69068
|
+
const devinPayload = payload;
|
|
69069
|
+
const uid = resolveDevinModelUid(devinPayload.modelUid || this.modelName, devinPayload.effort, this.served);
|
|
69070
|
+
this.resolvedUid = uid;
|
|
69071
|
+
if (typeof request === "object" && request !== null)
|
|
69072
|
+
this.resolvedUids.set(request, uid);
|
|
69073
|
+
const resolved = { ...devinPayload, modelUid: uid };
|
|
69074
|
+
if (uid !== this.modelName) {
|
|
69075
|
+
log(`[Devin] model resolved: ${this.modelName} -> ${uid}`);
|
|
69617
69076
|
}
|
|
69618
69077
|
log(`[Devin] request ${describeDevinRequestForLog(resolved)}`);
|
|
69619
69078
|
return {
|
|
@@ -69624,11 +69083,20 @@ class DevinProviderTransport {
|
|
|
69624
69083
|
getContextWindow() {
|
|
69625
69084
|
if (this.served.length === 0)
|
|
69626
69085
|
return 0;
|
|
69627
|
-
const uid = resolveDevinModelUid(this.modelName, undefined, this.served);
|
|
69086
|
+
const uid = resolveDevinModelUid(this.modelName, undefined, this.served, { quiet: true });
|
|
69628
69087
|
return this.served.find((model) => model.uid === uid)?.contextWindow ?? 0;
|
|
69629
69088
|
}
|
|
69630
|
-
getActiveModelName() {
|
|
69631
|
-
|
|
69089
|
+
getActiveModelName(request) {
|
|
69090
|
+
const uid = this.uidFor(request);
|
|
69091
|
+
return uid !== this.modelName ? uid : undefined;
|
|
69092
|
+
}
|
|
69093
|
+
uidFor(request) {
|
|
69094
|
+
if (typeof request === "object" && request !== null) {
|
|
69095
|
+
const uid = this.resolvedUids.get(request);
|
|
69096
|
+
if (uid !== undefined)
|
|
69097
|
+
return uid;
|
|
69098
|
+
}
|
|
69099
|
+
return this.resolvedUid;
|
|
69632
69100
|
}
|
|
69633
69101
|
async discoverProbeModel(exclude) {
|
|
69634
69102
|
if (!readDevinApiKey()) {
|
|
@@ -69651,20 +69119,21 @@ class DevinProviderTransport {
|
|
|
69651
69119
|
}
|
|
69652
69120
|
return { model: candidate.uid };
|
|
69653
69121
|
}
|
|
69654
|
-
rewriteInStreamError(_code, message) {
|
|
69122
|
+
rewriteInStreamError(_code, message, request) {
|
|
69123
|
+
const uid = this.uidFor(request);
|
|
69655
69124
|
if (this.served.length === 0)
|
|
69656
69125
|
return message;
|
|
69657
|
-
if (this.served.some((model) => model.uid ===
|
|
69126
|
+
if (this.served.some((model) => model.uid === uid))
|
|
69658
69127
|
return message;
|
|
69659
69128
|
const families = [...new Set(this.served.map((model) => model.family).filter(Boolean))].sort();
|
|
69660
|
-
const stem =
|
|
69129
|
+
const stem = uid.split("-")[0]?.toLowerCase() ?? "";
|
|
69661
69130
|
const related = families.filter((f) => f.toLowerCase().startsWith(stem));
|
|
69662
69131
|
const ordered = [...related, ...families.filter((f) => !related.includes(f))];
|
|
69663
69132
|
const SHOWN = 12;
|
|
69664
69133
|
const shown = ordered.slice(0, SHOWN);
|
|
69665
69134
|
const more = ordered.length - shown.length;
|
|
69666
69135
|
const familyClause = shown.length > 0 ? ` Available families: ${shown.join(", ")}${more > 0 ? `, +${more} more` : ""}.` : "";
|
|
69667
|
-
return `\`${
|
|
69136
|
+
return `\`${uid}\` is not served by your Devin subscription.${familyClause} ` + "Run `claudish models dv@` to list the uids this subscription can call. " + `(Upstream said: ${message})`;
|
|
69668
69137
|
}
|
|
69669
69138
|
}
|
|
69670
69139
|
var CHAT_PATH = "/exa.api_server_pb.ApiServerService/GetChatMessage", CHAT_CONTENT_TYPE = "application/connect+proto";
|
|
@@ -83758,7 +83227,7 @@ async function resolveAgainstModelsCatalog(provider, wireId, models, excludedIds
|
|
|
83758
83227
|
return resolveAntigravityServedModel(wireId, served);
|
|
83759
83228
|
}
|
|
83760
83229
|
const entries = models.map(({ id, ...rest }) => ({ wireId: id, ...rest }));
|
|
83761
|
-
return expandSelection(provider, wireId, entries);
|
|
83230
|
+
return expandSelection(provider, wireId, entries, { quiet: true });
|
|
83762
83231
|
}
|
|
83763
83232
|
async function listServes(provider, wireId, models, excludedIds) {
|
|
83764
83233
|
return modelsCatalogHas(models.map((m) => m.id), await resolveAgainstModelsCatalog(provider, wireId, models, excludedIds));
|
|
@@ -84220,7 +83689,7 @@ function gatherVendorClaims(model, entry, candidates) {
|
|
|
84220
83689
|
}
|
|
84221
83690
|
}
|
|
84222
83691
|
function listedRow(provider, model, models, excludedIds) {
|
|
84223
|
-
const sent = provider === "antigravity" ? resolveAntigravityServedModel(model, antigravityServedSetOfList(models.map((row) => row.id), excludedIds)) : expandSelection(provider, model, models.map(({ id, ...rest }) => ({ wireId: id, ...rest })));
|
|
83692
|
+
const sent = provider === "antigravity" ? resolveAntigravityServedModel(model, antigravityServedSetOfList(models.map((row) => row.id), excludedIds)) : expandSelection(provider, model, models.map(({ id, ...rest }) => ({ wireId: id, ...rest })), { quiet: true });
|
|
84224
83693
|
const needle = sent.trim().toLowerCase();
|
|
84225
83694
|
const row = models.find((candidate) => candidate.id.trim().toLowerCase() === needle);
|
|
84226
83695
|
return row && !isOptInWireId(row.id) ? row : undefined;
|