Skip to content

Commit

Permalink
chore: lint files
Browse files Browse the repository at this point in the history
  • Loading branch information
bracesproul committed Jul 23, 2024
1 parent 1f4d561 commit 3d504c0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ export abstract class ChatModelIntegrationTests<
).invoke({
toolName: "math_addition",
});

expect(result.tool_calls?.[0]).toBeDefined();
if (!result.tool_calls?.[0]) {
throw new Error("result.tool_calls is undefined");
Expand Down

0 comments on commit 3d504c0

Please sign in to comment.