fix(opencode): support Claude Fable reasoning (#31546)
This commit is contained in:
parent
d68397b42f
commit
c4bc902958
2 changed files with 17 additions and 7 deletions
|
|
@ -3486,6 +3486,12 @@ describe("ProviderTransform.variants", () => {
|
|||
efforts: ["low", "medium", "high", "xhigh", "max"],
|
||||
expectedHigh: { thinking: { type: "adaptive", display: "summarized" }, effort: "high" },
|
||||
},
|
||||
{
|
||||
name: "fable 5",
|
||||
apiIds: ["claude-fable-5"],
|
||||
efforts: ["low", "medium", "high", "xhigh", "max"],
|
||||
expectedHigh: { thinking: { type: "adaptive", display: "summarized" }, effort: "high" },
|
||||
},
|
||||
]) {
|
||||
for (const apiId of testCase.apiIds) {
|
||||
test(`${testCase.name} ${apiId} returns supported reasoning efforts`, () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue