From 7e76736e13787425160c87133e038f147aac04cd Mon Sep 17 00:00:00 2001 From: pugazhendhi-m <132246623+pugazhendhi-m@users.noreply.github.com> Date: Fri, 25 Apr 2025 17:06:25 +0530 Subject: [PATCH] Updates default model for Unbound (#2944) * Updates default model for Unbound * Adds changeset --------- Co-authored-by: Pugazhendhi --- .changeset/lazy-rats-end.md | 5 +++++ src/api/providers/__tests__/unbound.test.ts | 2 +- src/shared/api.ts | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 .changeset/lazy-rats-end.md diff --git a/.changeset/lazy-rats-end.md b/.changeset/lazy-rats-end.md new file mode 100644 index 0000000000..83335896bb --- /dev/null +++ b/.changeset/lazy-rats-end.md @@ -0,0 +1,5 @@ +--- +"roo-cline": minor +--- + +Updates default model id for Unbound from claude 3.5 to 3.7 diff --git a/src/api/providers/__tests__/unbound.test.ts b/src/api/providers/__tests__/unbound.test.ts index 5c54c24e8d..8d647ec2db 100644 --- a/src/api/providers/__tests__/unbound.test.ts +++ b/src/api/providers/__tests__/unbound.test.ts @@ -294,7 +294,7 @@ describe("UnboundHandler", () => { unboundModelInfo: undefined, }) const modelInfo = handlerWithInvalidModel.getModel() - expect(modelInfo.id).toBe("anthropic/claude-3-5-sonnet-20241022") // Default model + expect(modelInfo.id).toBe("anthropic/claude-3-7-sonnet-20250219") // Default model expect(modelInfo.info).toBeDefined() }) }) diff --git a/src/shared/api.ts b/src/shared/api.ts index 3827a5a3b2..b5d38e421b 100644 --- a/src/shared/api.ts +++ b/src/shared/api.ts @@ -1087,7 +1087,7 @@ export const mistralModels = { // Unbound Security // https://www.unboundsecurity.ai/ai-gateway -export const unboundDefaultModelId = "anthropic/claude-3-5-sonnet-20241022" +export const unboundDefaultModelId = "anthropic/claude-3-7-sonnet-20250219" export const unboundDefaultModelInfo: ModelInfo = { maxTokens: 8192, contextWindow: 200_000,