@oh-my-pi/pi-catalog 18.1.11 → 18.1.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/dist/types/compat/auth-ids.d.ts +2 -2
- package/dist/types/compat/context-window.d.ts +7 -0
- package/dist/types/compat/types.d.ts +1 -0
- package/dist/types/provider-models/descriptors.d.ts +5 -0
- package/dist/types/provider-models/openai-compat.d.ts +3 -0
- package/dist/types/types.d.ts +12 -1
- package/package.json +4 -4
- package/src/build.ts +4 -0
- package/src/compat/auth-ids.ts +2 -0
- package/src/compat/axes.ts +3 -1
- package/src/compat/context-window.ts +31 -0
- package/src/compat/resolve.ts +1 -0
- package/src/compat/rules/README.md +1 -1
- package/src/compat/rules/auth/_order.kdl +1 -1
- package/src/compat/rules/auth/muse-code.kdl +28 -0
- package/src/compat/rules/classes/meta.kdl +7 -1
- package/src/compat/rules/providers/meta.kdl +1 -0
- package/src/compat/rules/providers/muse-code.kdl +16 -0
- package/src/compat/rules/providers/openai-codex.kdl +27 -0
- package/src/compat/rules/runtime/behavior.kdl +2 -1
- package/src/compat/rules.json +177 -21
- package/src/compat/types.ts +1 -1
- package/src/discovery/codex.ts +6 -2
- package/src/models.json +504 -6
- package/src/provider-models/cache-provider-id.ts +9 -0
- package/src/provider-models/descriptors.ts +7 -0
- package/src/provider-models/openai-compat.ts +57 -3
- package/src/types.ts +12 -0
package/src/models.json
CHANGED
|
@@ -139966,6 +139966,7 @@
|
|
|
139966
139966
|
"isVercelGatewayHost": false,
|
|
139967
139967
|
"wireModelIdMode": "raw",
|
|
139968
139968
|
"alwaysSendMaxTokens": false,
|
|
139969
|
+
"clampOutputToModelMax": true,
|
|
139969
139970
|
"supportsObfuscationOptOut": false,
|
|
139970
139971
|
"officialEndpoint": false,
|
|
139971
139972
|
"harmonyLeakMitigation": false,
|
|
@@ -140061,6 +140062,7 @@
|
|
|
140061
140062
|
"isVercelGatewayHost": false,
|
|
140062
140063
|
"wireModelIdMode": "raw",
|
|
140063
140064
|
"alwaysSendMaxTokens": false,
|
|
140065
|
+
"clampOutputToModelMax": true,
|
|
140064
140066
|
"supportsObfuscationOptOut": false,
|
|
140065
140067
|
"officialEndpoint": false,
|
|
140066
140068
|
"harmonyLeakMitigation": false,
|
|
@@ -140156,6 +140158,7 @@
|
|
|
140156
140158
|
"isVercelGatewayHost": false,
|
|
140157
140159
|
"wireModelIdMode": "raw",
|
|
140158
140160
|
"alwaysSendMaxTokens": false,
|
|
140161
|
+
"clampOutputToModelMax": true,
|
|
140159
140162
|
"supportsObfuscationOptOut": false,
|
|
140160
140163
|
"officialEndpoint": false,
|
|
140161
140164
|
"harmonyLeakMitigation": false,
|
|
@@ -140205,7 +140208,8 @@
|
|
|
140205
140208
|
"low",
|
|
140206
140209
|
"medium",
|
|
140207
140210
|
"high",
|
|
140208
|
-
"xhigh"
|
|
140211
|
+
"xhigh",
|
|
140212
|
+
"max"
|
|
140209
140213
|
]
|
|
140210
140214
|
},
|
|
140211
140215
|
"compat": {
|
|
@@ -140251,6 +140255,7 @@
|
|
|
140251
140255
|
"isVercelGatewayHost": false,
|
|
140252
140256
|
"wireModelIdMode": "raw",
|
|
140253
140257
|
"alwaysSendMaxTokens": false,
|
|
140258
|
+
"clampOutputToModelMax": true,
|
|
140254
140259
|
"supportsObfuscationOptOut": false,
|
|
140255
140260
|
"officialEndpoint": false,
|
|
140256
140261
|
"harmonyLeakMitigation": false,
|
|
@@ -140346,6 +140351,7 @@
|
|
|
140346
140351
|
"isVercelGatewayHost": false,
|
|
140347
140352
|
"wireModelIdMode": "raw",
|
|
140348
140353
|
"alwaysSendMaxTokens": false,
|
|
140354
|
+
"clampOutputToModelMax": true,
|
|
140349
140355
|
"supportsObfuscationOptOut": false,
|
|
140350
140356
|
"officialEndpoint": false,
|
|
140351
140357
|
"harmonyLeakMitigation": false,
|
|
@@ -147107,6 +147113,498 @@
|
|
|
147107
147113
|
"supportsComputerUseConfig": false
|
|
147108
147114
|
}
|
|
147109
147115
|
},
|
|
147116
|
+
"muse-code": {
|
|
147117
|
+
"muse-spark-1.1": {
|
|
147118
|
+
"id": "muse-spark-1.1",
|
|
147119
|
+
"name": "Muse Spark 1.1",
|
|
147120
|
+
"api": "openai-responses",
|
|
147121
|
+
"provider": "muse-code",
|
|
147122
|
+
"baseUrl": "https://api.meta.ai/v1",
|
|
147123
|
+
"reasoning": true,
|
|
147124
|
+
"input": [
|
|
147125
|
+
"text",
|
|
147126
|
+
"image"
|
|
147127
|
+
],
|
|
147128
|
+
"cost": {
|
|
147129
|
+
"input": 1.25,
|
|
147130
|
+
"output": 4.25,
|
|
147131
|
+
"cacheRead": 0.15,
|
|
147132
|
+
"cacheWrite": 0
|
|
147133
|
+
},
|
|
147134
|
+
"contextWindow": 1048576,
|
|
147135
|
+
"maxTokens": 131072,
|
|
147136
|
+
"thinking": {
|
|
147137
|
+
"mode": "effort",
|
|
147138
|
+
"efforts": [
|
|
147139
|
+
"minimal",
|
|
147140
|
+
"low",
|
|
147141
|
+
"medium",
|
|
147142
|
+
"high",
|
|
147143
|
+
"xhigh"
|
|
147144
|
+
]
|
|
147145
|
+
},
|
|
147146
|
+
"compat": {
|
|
147147
|
+
"supportsDeveloperRole": false,
|
|
147148
|
+
"supportsStrictMode": false,
|
|
147149
|
+
"supportsReasoningEffort": true,
|
|
147150
|
+
"supportsLongPromptCacheRetention": false,
|
|
147151
|
+
"supportsPromptCacheBreakpoints": false,
|
|
147152
|
+
"strictResponsesPairing": false,
|
|
147153
|
+
"supportsImageDetailOriginal": true,
|
|
147154
|
+
"supportsReasoningSummary": true,
|
|
147155
|
+
"supportsAllTurnsReasoningContext": false,
|
|
147156
|
+
"supportsConfigurationUpdate": false,
|
|
147157
|
+
"requiresReasoningOffJuiceInstruction": false,
|
|
147158
|
+
"stripImageInput": false,
|
|
147159
|
+
"reasoningEffortMap": {},
|
|
147160
|
+
"supportsReasoningParams": true,
|
|
147161
|
+
"supportsSamplingParams": true,
|
|
147162
|
+
"supportsPenaltyAndStopParams": true,
|
|
147163
|
+
"thinkingFormat": "openai",
|
|
147164
|
+
"reasoningDisableMode": "lowest-effort",
|
|
147165
|
+
"omitReasoningEffort": false,
|
|
147166
|
+
"includeEncryptedReasoning": true,
|
|
147167
|
+
"filterReasoningHistory": false,
|
|
147168
|
+
"disableReasoningOnForcedToolChoice": false,
|
|
147169
|
+
"disableReasoningOnToolChoice": false,
|
|
147170
|
+
"supportsToolChoice": true,
|
|
147171
|
+
"supportsForcedToolChoice": true,
|
|
147172
|
+
"supportsNamedToolChoice": true,
|
|
147173
|
+
"reasoningContentField": "reasoning_content",
|
|
147174
|
+
"requiresReasoningContentForToolCalls": false,
|
|
147175
|
+
"requiresReasoningContentForAllAssistantTurns": false,
|
|
147176
|
+
"allowsSyntheticReasoningContentForToolCalls": true,
|
|
147177
|
+
"replayReasoningContent": false,
|
|
147178
|
+
"qwenPreserveThinking": false,
|
|
147179
|
+
"qwenTemplateReasoningEffort": false,
|
|
147180
|
+
"requiresThinkingAsText": false,
|
|
147181
|
+
"requiresMistralToolIds": false,
|
|
147182
|
+
"requiresToolResultName": false,
|
|
147183
|
+
"requiresAssistantAfterToolResult": false,
|
|
147184
|
+
"requiresAssistantContentForToolCalls": false,
|
|
147185
|
+
"isOpenRouterHost": false,
|
|
147186
|
+
"isVercelGatewayHost": false,
|
|
147187
|
+
"wireModelIdMode": "raw",
|
|
147188
|
+
"alwaysSendMaxTokens": false,
|
|
147189
|
+
"clampOutputToModelMax": true,
|
|
147190
|
+
"supportsObfuscationOptOut": false,
|
|
147191
|
+
"officialEndpoint": false,
|
|
147192
|
+
"harmonyLeakMitigation": false,
|
|
147193
|
+
"rejectRootObjectUnion": false,
|
|
147194
|
+
"retryWithoutStrictOnGrammarError": false,
|
|
147195
|
+
"stripDeepseekSpecialTokens": false,
|
|
147196
|
+
"streamMarkupHealingPattern": "thinking",
|
|
147197
|
+
"reasoningDeltasMayBeCumulative": false,
|
|
147198
|
+
"emptyLengthFinishIsContextError": false,
|
|
147199
|
+
"usesOpenAIToolCallIdLimit": false
|
|
147200
|
+
},
|
|
147201
|
+
"identity": {
|
|
147202
|
+
"class": "meta",
|
|
147203
|
+
"family": "muse-spark",
|
|
147204
|
+
"revision": "1.1.0"
|
|
147205
|
+
},
|
|
147206
|
+
"requiresGlyphTokenization": false,
|
|
147207
|
+
"supportsComputerUse": false,
|
|
147208
|
+
"compatConfig": {
|
|
147209
|
+
"supportsReasoningEffort": true,
|
|
147210
|
+
"includeEncryptedReasoning": true
|
|
147211
|
+
},
|
|
147212
|
+
"editPromptVariant": "compact"
|
|
147213
|
+
},
|
|
147214
|
+
"muse-spark-1.2": {
|
|
147215
|
+
"id": "muse-spark-1.2",
|
|
147216
|
+
"name": "Muse Spark 1.2",
|
|
147217
|
+
"api": "openai-responses",
|
|
147218
|
+
"provider": "muse-code",
|
|
147219
|
+
"baseUrl": "https://api.meta.ai/v1",
|
|
147220
|
+
"reasoning": true,
|
|
147221
|
+
"input": [
|
|
147222
|
+
"text",
|
|
147223
|
+
"image"
|
|
147224
|
+
],
|
|
147225
|
+
"cost": {
|
|
147226
|
+
"input": 1.25,
|
|
147227
|
+
"output": 4.25,
|
|
147228
|
+
"cacheRead": 0.15,
|
|
147229
|
+
"cacheWrite": 0
|
|
147230
|
+
},
|
|
147231
|
+
"contextWindow": 1048576,
|
|
147232
|
+
"maxTokens": 131072,
|
|
147233
|
+
"thinking": {
|
|
147234
|
+
"mode": "effort",
|
|
147235
|
+
"efforts": [
|
|
147236
|
+
"minimal",
|
|
147237
|
+
"low",
|
|
147238
|
+
"medium",
|
|
147239
|
+
"high",
|
|
147240
|
+
"xhigh"
|
|
147241
|
+
]
|
|
147242
|
+
},
|
|
147243
|
+
"compat": {
|
|
147244
|
+
"supportsDeveloperRole": false,
|
|
147245
|
+
"supportsStrictMode": false,
|
|
147246
|
+
"supportsReasoningEffort": true,
|
|
147247
|
+
"supportsLongPromptCacheRetention": false,
|
|
147248
|
+
"supportsPromptCacheBreakpoints": false,
|
|
147249
|
+
"strictResponsesPairing": false,
|
|
147250
|
+
"supportsImageDetailOriginal": true,
|
|
147251
|
+
"supportsReasoningSummary": true,
|
|
147252
|
+
"supportsAllTurnsReasoningContext": false,
|
|
147253
|
+
"supportsConfigurationUpdate": false,
|
|
147254
|
+
"requiresReasoningOffJuiceInstruction": false,
|
|
147255
|
+
"stripImageInput": false,
|
|
147256
|
+
"reasoningEffortMap": {},
|
|
147257
|
+
"supportsReasoningParams": true,
|
|
147258
|
+
"supportsSamplingParams": true,
|
|
147259
|
+
"supportsPenaltyAndStopParams": true,
|
|
147260
|
+
"thinkingFormat": "openai",
|
|
147261
|
+
"reasoningDisableMode": "lowest-effort",
|
|
147262
|
+
"omitReasoningEffort": false,
|
|
147263
|
+
"includeEncryptedReasoning": true,
|
|
147264
|
+
"filterReasoningHistory": false,
|
|
147265
|
+
"disableReasoningOnForcedToolChoice": false,
|
|
147266
|
+
"disableReasoningOnToolChoice": false,
|
|
147267
|
+
"supportsToolChoice": true,
|
|
147268
|
+
"supportsForcedToolChoice": true,
|
|
147269
|
+
"supportsNamedToolChoice": true,
|
|
147270
|
+
"reasoningContentField": "reasoning_content",
|
|
147271
|
+
"requiresReasoningContentForToolCalls": false,
|
|
147272
|
+
"requiresReasoningContentForAllAssistantTurns": false,
|
|
147273
|
+
"allowsSyntheticReasoningContentForToolCalls": true,
|
|
147274
|
+
"replayReasoningContent": false,
|
|
147275
|
+
"qwenPreserveThinking": false,
|
|
147276
|
+
"qwenTemplateReasoningEffort": false,
|
|
147277
|
+
"requiresThinkingAsText": false,
|
|
147278
|
+
"requiresMistralToolIds": false,
|
|
147279
|
+
"requiresToolResultName": false,
|
|
147280
|
+
"requiresAssistantAfterToolResult": false,
|
|
147281
|
+
"requiresAssistantContentForToolCalls": false,
|
|
147282
|
+
"isOpenRouterHost": false,
|
|
147283
|
+
"isVercelGatewayHost": false,
|
|
147284
|
+
"wireModelIdMode": "raw",
|
|
147285
|
+
"alwaysSendMaxTokens": false,
|
|
147286
|
+
"clampOutputToModelMax": true,
|
|
147287
|
+
"supportsObfuscationOptOut": false,
|
|
147288
|
+
"officialEndpoint": false,
|
|
147289
|
+
"harmonyLeakMitigation": false,
|
|
147290
|
+
"rejectRootObjectUnion": false,
|
|
147291
|
+
"retryWithoutStrictOnGrammarError": false,
|
|
147292
|
+
"stripDeepseekSpecialTokens": false,
|
|
147293
|
+
"streamMarkupHealingPattern": "thinking",
|
|
147294
|
+
"reasoningDeltasMayBeCumulative": false,
|
|
147295
|
+
"emptyLengthFinishIsContextError": false,
|
|
147296
|
+
"usesOpenAIToolCallIdLimit": false
|
|
147297
|
+
},
|
|
147298
|
+
"int": 46.8,
|
|
147299
|
+
"tps": 260,
|
|
147300
|
+
"identity": {
|
|
147301
|
+
"class": "meta",
|
|
147302
|
+
"family": "muse-spark",
|
|
147303
|
+
"revision": "1.2.0"
|
|
147304
|
+
},
|
|
147305
|
+
"requiresGlyphTokenization": false,
|
|
147306
|
+
"supportsComputerUse": false,
|
|
147307
|
+
"compatConfig": {
|
|
147308
|
+
"supportsReasoningEffort": true,
|
|
147309
|
+
"includeEncryptedReasoning": true
|
|
147310
|
+
},
|
|
147311
|
+
"editPromptVariant": "compact"
|
|
147312
|
+
},
|
|
147313
|
+
"muse-spark-1.2-contributor": {
|
|
147314
|
+
"id": "muse-spark-1.2-contributor",
|
|
147315
|
+
"name": "Muse Spark 1.2 Contributor",
|
|
147316
|
+
"api": "openai-responses",
|
|
147317
|
+
"provider": "muse-code",
|
|
147318
|
+
"baseUrl": "https://api.meta.ai/v1",
|
|
147319
|
+
"reasoning": true,
|
|
147320
|
+
"input": [
|
|
147321
|
+
"text",
|
|
147322
|
+
"image"
|
|
147323
|
+
],
|
|
147324
|
+
"cost": {
|
|
147325
|
+
"input": 0.1,
|
|
147326
|
+
"output": 0.2,
|
|
147327
|
+
"cacheRead": 0.002,
|
|
147328
|
+
"cacheWrite": 0
|
|
147329
|
+
},
|
|
147330
|
+
"contextWindow": 1048576,
|
|
147331
|
+
"maxTokens": 131072,
|
|
147332
|
+
"thinking": {
|
|
147333
|
+
"mode": "effort",
|
|
147334
|
+
"efforts": [
|
|
147335
|
+
"minimal",
|
|
147336
|
+
"low",
|
|
147337
|
+
"medium",
|
|
147338
|
+
"high",
|
|
147339
|
+
"xhigh"
|
|
147340
|
+
]
|
|
147341
|
+
},
|
|
147342
|
+
"compat": {
|
|
147343
|
+
"supportsDeveloperRole": false,
|
|
147344
|
+
"supportsStrictMode": false,
|
|
147345
|
+
"supportsReasoningEffort": true,
|
|
147346
|
+
"supportsLongPromptCacheRetention": false,
|
|
147347
|
+
"supportsPromptCacheBreakpoints": false,
|
|
147348
|
+
"strictResponsesPairing": false,
|
|
147349
|
+
"supportsImageDetailOriginal": true,
|
|
147350
|
+
"supportsReasoningSummary": true,
|
|
147351
|
+
"supportsAllTurnsReasoningContext": false,
|
|
147352
|
+
"supportsConfigurationUpdate": false,
|
|
147353
|
+
"requiresReasoningOffJuiceInstruction": false,
|
|
147354
|
+
"stripImageInput": false,
|
|
147355
|
+
"reasoningEffortMap": {},
|
|
147356
|
+
"supportsReasoningParams": true,
|
|
147357
|
+
"supportsSamplingParams": true,
|
|
147358
|
+
"supportsPenaltyAndStopParams": true,
|
|
147359
|
+
"thinkingFormat": "openai",
|
|
147360
|
+
"reasoningDisableMode": "lowest-effort",
|
|
147361
|
+
"omitReasoningEffort": false,
|
|
147362
|
+
"includeEncryptedReasoning": true,
|
|
147363
|
+
"filterReasoningHistory": false,
|
|
147364
|
+
"disableReasoningOnForcedToolChoice": false,
|
|
147365
|
+
"disableReasoningOnToolChoice": false,
|
|
147366
|
+
"supportsToolChoice": true,
|
|
147367
|
+
"supportsForcedToolChoice": true,
|
|
147368
|
+
"supportsNamedToolChoice": true,
|
|
147369
|
+
"reasoningContentField": "reasoning_content",
|
|
147370
|
+
"requiresReasoningContentForToolCalls": false,
|
|
147371
|
+
"requiresReasoningContentForAllAssistantTurns": false,
|
|
147372
|
+
"allowsSyntheticReasoningContentForToolCalls": true,
|
|
147373
|
+
"replayReasoningContent": false,
|
|
147374
|
+
"qwenPreserveThinking": false,
|
|
147375
|
+
"qwenTemplateReasoningEffort": false,
|
|
147376
|
+
"requiresThinkingAsText": false,
|
|
147377
|
+
"requiresMistralToolIds": false,
|
|
147378
|
+
"requiresToolResultName": false,
|
|
147379
|
+
"requiresAssistantAfterToolResult": false,
|
|
147380
|
+
"requiresAssistantContentForToolCalls": false,
|
|
147381
|
+
"isOpenRouterHost": false,
|
|
147382
|
+
"isVercelGatewayHost": false,
|
|
147383
|
+
"wireModelIdMode": "raw",
|
|
147384
|
+
"alwaysSendMaxTokens": false,
|
|
147385
|
+
"clampOutputToModelMax": true,
|
|
147386
|
+
"supportsObfuscationOptOut": false,
|
|
147387
|
+
"officialEndpoint": false,
|
|
147388
|
+
"harmonyLeakMitigation": false,
|
|
147389
|
+
"rejectRootObjectUnion": false,
|
|
147390
|
+
"retryWithoutStrictOnGrammarError": false,
|
|
147391
|
+
"stripDeepseekSpecialTokens": false,
|
|
147392
|
+
"streamMarkupHealingPattern": "thinking",
|
|
147393
|
+
"reasoningDeltasMayBeCumulative": false,
|
|
147394
|
+
"emptyLengthFinishIsContextError": false,
|
|
147395
|
+
"usesOpenAIToolCallIdLimit": false
|
|
147396
|
+
},
|
|
147397
|
+
"identity": {
|
|
147398
|
+
"class": "meta",
|
|
147399
|
+
"family": "muse-spark",
|
|
147400
|
+
"revision": "1.2.0"
|
|
147401
|
+
},
|
|
147402
|
+
"requiresGlyphTokenization": false,
|
|
147403
|
+
"supportsComputerUse": false,
|
|
147404
|
+
"compatConfig": {
|
|
147405
|
+
"supportsReasoningEffort": true,
|
|
147406
|
+
"includeEncryptedReasoning": true
|
|
147407
|
+
},
|
|
147408
|
+
"editPromptVariant": "compact"
|
|
147409
|
+
},
|
|
147410
|
+
"muse-spark-1.3": {
|
|
147411
|
+
"id": "muse-spark-1.3",
|
|
147412
|
+
"name": "Muse Spark 1.3",
|
|
147413
|
+
"api": "openai-responses",
|
|
147414
|
+
"provider": "muse-code",
|
|
147415
|
+
"baseUrl": "https://api.meta.ai/v1",
|
|
147416
|
+
"reasoning": true,
|
|
147417
|
+
"input": [
|
|
147418
|
+
"text",
|
|
147419
|
+
"image"
|
|
147420
|
+
],
|
|
147421
|
+
"cost": {
|
|
147422
|
+
"input": 1.25,
|
|
147423
|
+
"output": 4.25,
|
|
147424
|
+
"cacheRead": 0.15,
|
|
147425
|
+
"cacheWrite": 0
|
|
147426
|
+
},
|
|
147427
|
+
"contextWindow": 1048576,
|
|
147428
|
+
"maxTokens": 131072,
|
|
147429
|
+
"thinking": {
|
|
147430
|
+
"mode": "effort",
|
|
147431
|
+
"efforts": [
|
|
147432
|
+
"minimal",
|
|
147433
|
+
"low",
|
|
147434
|
+
"medium",
|
|
147435
|
+
"high",
|
|
147436
|
+
"xhigh",
|
|
147437
|
+
"max"
|
|
147438
|
+
]
|
|
147439
|
+
},
|
|
147440
|
+
"compat": {
|
|
147441
|
+
"supportsDeveloperRole": false,
|
|
147442
|
+
"supportsStrictMode": false,
|
|
147443
|
+
"supportsReasoningEffort": true,
|
|
147444
|
+
"supportsLongPromptCacheRetention": false,
|
|
147445
|
+
"supportsPromptCacheBreakpoints": false,
|
|
147446
|
+
"strictResponsesPairing": false,
|
|
147447
|
+
"supportsImageDetailOriginal": true,
|
|
147448
|
+
"supportsReasoningSummary": true,
|
|
147449
|
+
"supportsAllTurnsReasoningContext": false,
|
|
147450
|
+
"supportsConfigurationUpdate": false,
|
|
147451
|
+
"requiresReasoningOffJuiceInstruction": false,
|
|
147452
|
+
"stripImageInput": false,
|
|
147453
|
+
"reasoningEffortMap": {},
|
|
147454
|
+
"supportsReasoningParams": true,
|
|
147455
|
+
"supportsSamplingParams": true,
|
|
147456
|
+
"supportsPenaltyAndStopParams": true,
|
|
147457
|
+
"thinkingFormat": "openai",
|
|
147458
|
+
"reasoningDisableMode": "lowest-effort",
|
|
147459
|
+
"omitReasoningEffort": false,
|
|
147460
|
+
"includeEncryptedReasoning": true,
|
|
147461
|
+
"filterReasoningHistory": false,
|
|
147462
|
+
"disableReasoningOnForcedToolChoice": false,
|
|
147463
|
+
"disableReasoningOnToolChoice": false,
|
|
147464
|
+
"supportsToolChoice": true,
|
|
147465
|
+
"supportsForcedToolChoice": true,
|
|
147466
|
+
"supportsNamedToolChoice": true,
|
|
147467
|
+
"reasoningContentField": "reasoning_content",
|
|
147468
|
+
"requiresReasoningContentForToolCalls": false,
|
|
147469
|
+
"requiresReasoningContentForAllAssistantTurns": false,
|
|
147470
|
+
"allowsSyntheticReasoningContentForToolCalls": true,
|
|
147471
|
+
"replayReasoningContent": false,
|
|
147472
|
+
"qwenPreserveThinking": false,
|
|
147473
|
+
"qwenTemplateReasoningEffort": false,
|
|
147474
|
+
"requiresThinkingAsText": false,
|
|
147475
|
+
"requiresMistralToolIds": false,
|
|
147476
|
+
"requiresToolResultName": false,
|
|
147477
|
+
"requiresAssistantAfterToolResult": false,
|
|
147478
|
+
"requiresAssistantContentForToolCalls": false,
|
|
147479
|
+
"isOpenRouterHost": false,
|
|
147480
|
+
"isVercelGatewayHost": false,
|
|
147481
|
+
"wireModelIdMode": "raw",
|
|
147482
|
+
"alwaysSendMaxTokens": false,
|
|
147483
|
+
"clampOutputToModelMax": true,
|
|
147484
|
+
"supportsObfuscationOptOut": false,
|
|
147485
|
+
"officialEndpoint": false,
|
|
147486
|
+
"harmonyLeakMitigation": false,
|
|
147487
|
+
"rejectRootObjectUnion": false,
|
|
147488
|
+
"retryWithoutStrictOnGrammarError": false,
|
|
147489
|
+
"stripDeepseekSpecialTokens": false,
|
|
147490
|
+
"streamMarkupHealingPattern": "thinking",
|
|
147491
|
+
"reasoningDeltasMayBeCumulative": false,
|
|
147492
|
+
"emptyLengthFinishIsContextError": false,
|
|
147493
|
+
"usesOpenAIToolCallIdLimit": false
|
|
147494
|
+
},
|
|
147495
|
+
"int": 53,
|
|
147496
|
+
"tps": 190.1,
|
|
147497
|
+
"identity": {
|
|
147498
|
+
"class": "meta",
|
|
147499
|
+
"family": "muse-spark",
|
|
147500
|
+
"revision": "1.3.0"
|
|
147501
|
+
},
|
|
147502
|
+
"requiresGlyphTokenization": false,
|
|
147503
|
+
"supportsComputerUse": false,
|
|
147504
|
+
"compatConfig": {
|
|
147505
|
+
"supportsReasoningEffort": true,
|
|
147506
|
+
"includeEncryptedReasoning": true
|
|
147507
|
+
},
|
|
147508
|
+
"editPromptVariant": "compact"
|
|
147509
|
+
},
|
|
147510
|
+
"muse-spark-1.3-contributor": {
|
|
147511
|
+
"id": "muse-spark-1.3-contributor",
|
|
147512
|
+
"name": "Muse Spark 1.3 Contributor",
|
|
147513
|
+
"api": "openai-responses",
|
|
147514
|
+
"provider": "muse-code",
|
|
147515
|
+
"baseUrl": "https://api.meta.ai/v1",
|
|
147516
|
+
"reasoning": true,
|
|
147517
|
+
"input": [
|
|
147518
|
+
"text",
|
|
147519
|
+
"image"
|
|
147520
|
+
],
|
|
147521
|
+
"cost": {
|
|
147522
|
+
"input": 0.1,
|
|
147523
|
+
"output": 0.2,
|
|
147524
|
+
"cacheRead": 0.002,
|
|
147525
|
+
"cacheWrite": 0
|
|
147526
|
+
},
|
|
147527
|
+
"contextWindow": 1048576,
|
|
147528
|
+
"maxTokens": 131072,
|
|
147529
|
+
"thinking": {
|
|
147530
|
+
"mode": "effort",
|
|
147531
|
+
"efforts": [
|
|
147532
|
+
"minimal",
|
|
147533
|
+
"low",
|
|
147534
|
+
"medium",
|
|
147535
|
+
"high",
|
|
147536
|
+
"xhigh"
|
|
147537
|
+
]
|
|
147538
|
+
},
|
|
147539
|
+
"compat": {
|
|
147540
|
+
"supportsDeveloperRole": false,
|
|
147541
|
+
"supportsStrictMode": false,
|
|
147542
|
+
"supportsReasoningEffort": true,
|
|
147543
|
+
"supportsLongPromptCacheRetention": false,
|
|
147544
|
+
"supportsPromptCacheBreakpoints": false,
|
|
147545
|
+
"strictResponsesPairing": false,
|
|
147546
|
+
"supportsImageDetailOriginal": true,
|
|
147547
|
+
"supportsReasoningSummary": true,
|
|
147548
|
+
"supportsAllTurnsReasoningContext": false,
|
|
147549
|
+
"supportsConfigurationUpdate": false,
|
|
147550
|
+
"requiresReasoningOffJuiceInstruction": false,
|
|
147551
|
+
"stripImageInput": false,
|
|
147552
|
+
"reasoningEffortMap": {},
|
|
147553
|
+
"supportsReasoningParams": true,
|
|
147554
|
+
"supportsSamplingParams": true,
|
|
147555
|
+
"supportsPenaltyAndStopParams": true,
|
|
147556
|
+
"thinkingFormat": "openai",
|
|
147557
|
+
"reasoningDisableMode": "lowest-effort",
|
|
147558
|
+
"omitReasoningEffort": false,
|
|
147559
|
+
"includeEncryptedReasoning": true,
|
|
147560
|
+
"filterReasoningHistory": false,
|
|
147561
|
+
"disableReasoningOnForcedToolChoice": false,
|
|
147562
|
+
"disableReasoningOnToolChoice": false,
|
|
147563
|
+
"supportsToolChoice": true,
|
|
147564
|
+
"supportsForcedToolChoice": true,
|
|
147565
|
+
"supportsNamedToolChoice": true,
|
|
147566
|
+
"reasoningContentField": "reasoning_content",
|
|
147567
|
+
"requiresReasoningContentForToolCalls": false,
|
|
147568
|
+
"requiresReasoningContentForAllAssistantTurns": false,
|
|
147569
|
+
"allowsSyntheticReasoningContentForToolCalls": true,
|
|
147570
|
+
"replayReasoningContent": false,
|
|
147571
|
+
"qwenPreserveThinking": false,
|
|
147572
|
+
"qwenTemplateReasoningEffort": false,
|
|
147573
|
+
"requiresThinkingAsText": false,
|
|
147574
|
+
"requiresMistralToolIds": false,
|
|
147575
|
+
"requiresToolResultName": false,
|
|
147576
|
+
"requiresAssistantAfterToolResult": false,
|
|
147577
|
+
"requiresAssistantContentForToolCalls": false,
|
|
147578
|
+
"isOpenRouterHost": false,
|
|
147579
|
+
"isVercelGatewayHost": false,
|
|
147580
|
+
"wireModelIdMode": "raw",
|
|
147581
|
+
"alwaysSendMaxTokens": false,
|
|
147582
|
+
"clampOutputToModelMax": true,
|
|
147583
|
+
"supportsObfuscationOptOut": false,
|
|
147584
|
+
"officialEndpoint": false,
|
|
147585
|
+
"harmonyLeakMitigation": false,
|
|
147586
|
+
"rejectRootObjectUnion": false,
|
|
147587
|
+
"retryWithoutStrictOnGrammarError": false,
|
|
147588
|
+
"stripDeepseekSpecialTokens": false,
|
|
147589
|
+
"streamMarkupHealingPattern": "thinking",
|
|
147590
|
+
"reasoningDeltasMayBeCumulative": false,
|
|
147591
|
+
"emptyLengthFinishIsContextError": false,
|
|
147592
|
+
"usesOpenAIToolCallIdLimit": false
|
|
147593
|
+
},
|
|
147594
|
+
"identity": {
|
|
147595
|
+
"class": "meta",
|
|
147596
|
+
"family": "muse-spark",
|
|
147597
|
+
"revision": "1.3.0"
|
|
147598
|
+
},
|
|
147599
|
+
"requiresGlyphTokenization": false,
|
|
147600
|
+
"supportsComputerUse": false,
|
|
147601
|
+
"compatConfig": {
|
|
147602
|
+
"supportsReasoningEffort": true,
|
|
147603
|
+
"includeEncryptedReasoning": true
|
|
147604
|
+
},
|
|
147605
|
+
"editPromptVariant": "compact"
|
|
147606
|
+
}
|
|
147607
|
+
},
|
|
147110
147608
|
"nanogpt": {
|
|
147111
147609
|
"abacusai/Dracarys-72B-Instruct": {
|
|
147112
147610
|
"id": "abacusai/Dracarys-72B-Instruct",
|
|
@@ -260867,9 +261365,9 @@
|
|
|
260867
261365
|
"image"
|
|
260868
261366
|
],
|
|
260869
261367
|
"cost": {
|
|
260870
|
-
"input":
|
|
260871
|
-
"output":
|
|
260872
|
-
"cacheRead":
|
|
261368
|
+
"input": 10,
|
|
261369
|
+
"output": 50,
|
|
261370
|
+
"cacheRead": 1,
|
|
260873
261371
|
"cacheWrite": 0
|
|
260874
261372
|
},
|
|
260875
261373
|
"remoteCompaction": {
|
|
@@ -260877,7 +261375,7 @@
|
|
|
260877
261375
|
"api": "openai-codex-responses",
|
|
260878
261376
|
"v2StreamingEnabled": true
|
|
260879
261377
|
},
|
|
260880
|
-
"contextWindow":
|
|
261378
|
+
"contextWindow": 1050000,
|
|
260881
261379
|
"maxTokens": 128000,
|
|
260882
261380
|
"preferWebsockets": true,
|
|
260883
261381
|
"useResponsesLite": true,
|
|
@@ -260956,7 +261454,7 @@
|
|
|
260956
261454
|
},
|
|
260957
261455
|
"serviceTierCost": {
|
|
260958
261456
|
"flex": 0.5,
|
|
260959
|
-
"priority": 2
|
|
261457
|
+
"priority": 2.5
|
|
260960
261458
|
},
|
|
260961
261459
|
"applyPatchToolType": "freeform"
|
|
260962
261460
|
},
|
|
@@ -9,6 +9,7 @@ const CREDENTIAL_SCOPED_MODEL_CACHE_PROVIDERS: Readonly<Record<string, true>> =
|
|
|
9
9
|
"opencode-go": true,
|
|
10
10
|
"opencode-zen": true,
|
|
11
11
|
"github-copilot": true,
|
|
12
|
+
"muse-code": true,
|
|
12
13
|
};
|
|
13
14
|
|
|
14
15
|
/** Whether a provider's model-cache namespace requires its resolved credential. */
|
|
@@ -18,6 +19,9 @@ export function isCredentialScopedModelCacheProvider(providerId: string): boolea
|
|
|
18
19
|
|
|
19
20
|
export function getDefaultModelDiscoveryBaseUrl(providerId: string): string | undefined {
|
|
20
21
|
switch (providerId) {
|
|
22
|
+
case "meta":
|
|
23
|
+
case "muse-code":
|
|
24
|
+
return "https://api.meta.ai/v1";
|
|
21
25
|
case "ollama":
|
|
22
26
|
return "http://127.0.0.1:11434";
|
|
23
27
|
case "litellm":
|
|
@@ -58,6 +62,11 @@ export function resolveModelCacheProviderId(providerId: string, options: ModelCa
|
|
|
58
62
|
// carry `requestModelId: *-low`, which the Start plan refuses; refetch
|
|
59
63
|
// so the collapsed default is re-pointed to `-medium` (issue #9478).
|
|
60
64
|
return "cursor:default-effort-v4";
|
|
65
|
+
case "muse-code": {
|
|
66
|
+
const baseUrl = options.baseUrl ?? getDefaultModelDiscoveryBaseUrl(providerId)!;
|
|
67
|
+
const scope = `${options.apiKey ?? ""}\u0000${baseUrl}`;
|
|
68
|
+
return `muse-code:models-v1:${Bun.hash(scope).toString(36)}`;
|
|
69
|
+
}
|
|
61
70
|
case "litellm": {
|
|
62
71
|
const baseUrl = options.baseUrl ?? getDefaultModelDiscoveryBaseUrl(providerId)!;
|
|
63
72
|
// rich-v8 invalidates rows whose `compatConfig` retained a colliding
|
|
@@ -34,6 +34,7 @@ import {
|
|
|
34
34
|
litellmModelManagerOptions,
|
|
35
35
|
lmStudioModelManagerOptions,
|
|
36
36
|
metaModelManagerOptions,
|
|
37
|
+
museCodeModelManagerOptions,
|
|
37
38
|
mistralModelManagerOptions,
|
|
38
39
|
moonshotModelManagerOptions,
|
|
39
40
|
nanoGptModelManagerOptions,
|
|
@@ -315,6 +316,12 @@ export const CATALOG_PROVIDERS = [
|
|
|
315
316
|
envVars: ["MISTRAL_API_KEY"],
|
|
316
317
|
createModelManagerOptions: (config: ModelManagerConfig) => mistralModelManagerOptions(config),
|
|
317
318
|
},
|
|
319
|
+
{
|
|
320
|
+
id: "muse-code",
|
|
321
|
+
defaultModel: "muse-spark-1.3",
|
|
322
|
+
createModelManagerOptions: (config: ModelManagerConfig) => museCodeModelManagerOptions(config),
|
|
323
|
+
dynamicModelsAuthoritative: true,
|
|
324
|
+
},
|
|
318
325
|
{
|
|
319
326
|
id: "meta",
|
|
320
327
|
defaultModel: "muse-spark-1.1",
|