Skip to content

Commit 48870f4

Browse files
authored
fix(anthropic): publish Fable CLI output limit
1 parent c4cf7a6 commit 48870f4

2 files changed

Lines changed: 15 additions & 0 deletions

File tree

‎extensions/anthropic/cli-catalog.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ const CLAUDE_CLI_MAX_OUTPUT_TOKENS: Record<string, number> = {
1717
"claude-opus-4-7": 128_000,
1818
"claude-opus-4-6": 128_000,
1919
"claude-sonnet-5": 128_000,
20+
"claude-fable-5": 128_000,
2021
"claude-sonnet-4-6": 128_000,
2122
};
2223

‎extensions/anthropic/index.test.ts‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,20 @@ describe("anthropic provider replay hooks", () => {
134134
});
135135
});
136136

137+
it("publishes Claude Fable 5 CLI metadata without downgrading its API contract", () => {
138+
expect(
139+
buildClaudeCliCatalogEntries().find((model) => model.id === "claude-fable-5"),
140+
).toMatchObject({
141+
id: "claude-fable-5",
142+
name: "Claude Fable 5 (Claude CLI)",
143+
contextWindow: 1_000_000,
144+
maxTokens: 128_000,
145+
mediaInput: {
146+
image: { maxSidePx: 2576, preferredSidePx: 2576, tokenMode: "provider" },
147+
},
148+
});
149+
});
150+
137151
it("keeps bare Claude CLI context plan-safe while publishing output limits", () => {
138152
const models = buildClaudeCliCatalogEntries();
139153
for (const id of [

0 commit comments

Comments
 (0)