Skip to content

Commit 7f8c9af

Browse files
committed
Fix test
1 parent eb28bd0 commit 7f8c9af

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

libs/langchain-anthropic/src/tests/chat_models.test.ts

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ test("withStructuredOutput with output validation", async () => {
88
const model = new ChatAnthropic({
99
modelName: "claude-3-haiku-20240307",
1010
temperature: 0,
11+
anthropicApiKey: "testing",
1112
});
1213
jest
1314
// eslint-disable-next-line @typescript-eslint/no-explicit-any
@@ -58,6 +59,7 @@ test("withStructuredOutput with proper output", async () => {
5859
const model = new ChatAnthropic({
5960
modelName: "claude-3-haiku-20240307",
6061
temperature: 0,
62+
anthropicApiKey: "testing",
6163
});
6264
jest
6365
// eslint-disable-next-line @typescript-eslint/no-explicit-any

0 commit comments

Comments
 (0)