Skip to content

Commit 350bab4

Browse files
committed
Fix tests
1 parent 5b1b9cc commit 350bab4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/api/providers/__tests__/roo.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ describe("RooHandler", () => {
331331
expect(modelInfo.info.maxTokens).toBe(8192)
332332
expect(modelInfo.info.contextWindow).toBe(262_144)
333333
expect(modelInfo.info.supportsImages).toBe(false)
334-
expect(modelInfo.info.supportsPromptCache).toBe(false)
334+
expect(modelInfo.info.supportsPromptCache).toBe(true)
335335
expect(modelInfo.info.inputPrice).toBe(0)
336336
expect(modelInfo.info.outputPrice).toBe(0)
337337
})

src/api/providers/roo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export class RooHandler extends BaseOpenAiCompatibleProvider<RooModelId> {
8484
maxTokens: 8192,
8585
contextWindow: 262_144,
8686
supportsImages: false,
87-
supportsPromptCache: false,
87+
supportsPromptCache: true,
8888
inputPrice: 0,
8989
outputPrice: 0,
9090
},

0 commit comments

Comments
 (0)