From eb51e1117cfdc56c02ffb78dbb30c823ffd193e0 Mon Sep 17 00:00:00 2001 From: Jonathan Evans Date: Mon, 6 Apr 2026 14:16:57 -0700 Subject: [PATCH] fix: disable prompt caching for kimi-k2p5-turbo Roo Code passes Anthropic-style cache_control blocks in OpenAI-compatible API calls, which causes validation errors when using Fireworks as an OpenAI-compatible provider. Disable prompt caching until this is fixed. --- packages/types/src/providers/fireworks.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/types/src/providers/fireworks.ts b/packages/types/src/providers/fireworks.ts index 87a20c4342..2489aeff6b 100644 --- a/packages/types/src/providers/fireworks.ts +++ b/packages/types/src/providers/fireworks.ts @@ -77,10 +77,9 @@ export const fireworksModels = { maxTokens: 16384, contextWindow: 262144, supportsImages: true, - supportsPromptCache: true, + supportsPromptCache: false, inputPrice: 0, outputPrice: 0, - cacheReadsPrice: 0, description: "Kimi K2.5 Turbo router - same configuration as kimi-k2p5 but with improved performance through Fireworks routing (FirePass - https://docs.fireworks.ai/firepass).", },