Skip to content

Commit 91cf631

Browse files
committed
fix: enable Haiku 5.5 prompt caching and strengthen token override test
1 parent d808260 commit 91cf631

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

‎packages/types/src/providers/vercel-ai-gateway.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ export const VERCEL_AI_GATEWAY_PROMPT_CACHING_MODELS = new Set([
99
"anthropic/claude-3.5-haiku",
1010
"anthropic/claude-3.5-sonnet",
1111
"anthropic/claude-3.7-sonnet",
12+
"anthropic/claude-haiku-5.5",
1213
"anthropic/claude-opus-4",
1314
"anthropic/claude-opus-4.1",
1415
"anthropic/claude-opus-4.5",

‎src/api/providers/fetchers/__tests__/openrouter.spec.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ describe("OpenRouter API", () => {
526526
model: mockModel,
527527
inputModality: ["text", "image"],
528528
outputModality: ["text"],
529-
maxTokens: 128000,
529+
maxTokens: 64000,
530530
supportedParameters: ["reasoning", "include_reasoning"],
531531
})
532532

0 commit comments

Comments
 (0)