Skip to content

Commit

Permalink
mistralai[patch]: Fix flaky tool calling test
Browse files Browse the repository at this point in the history
  • Loading branch information
bracesproul committed Jul 26, 2024
1 parent 459995b commit 9d8f633
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion libs/langchain-mistralai/src/tests/chat_models.int.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -956,5 +956,4 @@ test("withStructuredOutput will always force tool usage", async () => {
}
const castMessage = response.raw as AIMessage;
expect(castMessage.tool_calls).toHaveLength(1);
expect(castMessage.tool_calls?.[0].name).toBe("get_weather");
});

0 comments on commit 9d8f633

Please sign in to comment.