feat(compute): add GPT-Reserve, Fable 5.1 and GPT-6 Astra (#94)

This commit is contained in:
2026-09-06 04:20:15 -04:00
committed by GitHub
parent 8157091702
commit 571b98e682
8 changed files with 325 additions and 3 deletions

View File

@@ -105,7 +105,7 @@ describe('真实数据全量校验', () => {
if (spec.routing) routed.push(spec)
}
}
assert.equal(routed.length, 46)
assert.equal(routed.length, 49)
assert.equal(routed.every((spec) => spec.routing.reasoning.supportedModes.includes(spec.routing.reasoning.defaultMode)), true)
assert.equal(routed.every((spec) => Array.isArray(spec.spec.capabilities)), true)
})
@@ -151,11 +151,13 @@ describe('真实数据全量校验', () => {
.map((model) => model.modelName)
assert.deepEqual(enabled(anthropic), [
'claude-fable-5-1',
'claude-fable-5',
'claude-opus-5',
'claude-sonnet-5',
])
assert.deepEqual(enabled(openai), [
'gpt-6-astra',
'gpt-5.5',
'gpt-5.5-pro',
'gpt-5.4',