Skip to content

Commit b5210da

Browse files
committed
Revert this
1 parent ce320a7 commit b5210da

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/api/providers/__tests__/unbound.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import { Anthropic } from "@anthropic-ai/sdk"
44

5-
import { ApiHandlerOptions, unboundDefaultModelId } from "../../../shared/api"
5+
import { ApiHandlerOptions } from "../../../shared/api"
66

77
import { UnboundHandler } from "../unbound"
88

@@ -70,7 +70,7 @@ describe("UnboundHandler", () => {
7070
beforeEach(() => {
7171
mockOptions = {
7272
unboundApiKey: "test-api-key",
73-
unboundModelId: unboundDefaultModelId,
73+
unboundModelId: "anthropic/claude-3-5-sonnet-20241022",
7474
}
7575

7676
handler = new UnboundHandler(mockOptions)
@@ -133,7 +133,7 @@ describe("UnboundHandler", () => {
133133

134134
expect(mockCreate).toHaveBeenCalledWith(
135135
expect.objectContaining({
136-
model: "claude-3-7-sonnet-20250219",
136+
model: "claude-3-5-sonnet-20241022",
137137
messages: expect.any(Array),
138138
stream: true,
139139
}),
@@ -174,7 +174,7 @@ describe("UnboundHandler", () => {
174174

175175
expect(mockCreate).toHaveBeenCalledWith(
176176
expect.objectContaining({
177-
model: "claude-3-7-sonnet-20250219",
177+
model: "claude-3-5-sonnet-20241022",
178178
messages: [{ role: "user", content: "Test prompt" }],
179179
temperature: 0,
180180
max_tokens: 8192,

0 commit comments

Comments
 (0)