add xhigh and max to all fable-5 providers (#6490)

related to #6374
This commit is contained in:
David Brailovsky
2026-07-10 11:42:53 +02:00
committed by GitHub
parent 81de5702c6
commit bc469b0338
3 changed files with 8 additions and 9 deletions
+1 -4
View File
@@ -545,10 +545,7 @@ function applyThinkingLevelMetadata(model: Model<any>): void {
) {
mergeThinkingLevelMap(model, { xhigh: "xhigh", max: "max" });
}
if (
(model.api === "anthropic-messages" || model.api === "bedrock-converse-stream") &&
model.id.includes("fable-5")
) {
if (model.id.includes("fable-5")) {
mergeThinkingLevelMap(model, { off: null, xhigh: "xhigh", max: "max" });
}
if (model.api === "anthropic-messages" && isAnthropicAdaptiveThinkingModel(model.id)) {