Patch Changes
-
#10271
7373b4cThanks @jacoblee93! - feat(core): Use uuid7 instead of v4 for generating run ids -
#10262
b0175a5Thanks @maahir30! - fix: Move fakeModel from utils/testing to testing namespace
move to updated namespace -
#10185
414f6edThanks @maahir30! - feat: add custom Vitest matchers for LangChain message and tool call assertionsAdds a new
@langchain/core/testing/matchersexport containing custom Vitest matchers (toBeHumanMessage,toBeAIMessage,toBeSystemMessage,toBeToolMessage,toHaveToolCalls,toHaveToolCallCount,toContainToolCall,toHaveToolMessages,toHaveBeenInterrupted,toHaveStructuredResponse) that external users can register viaexpect.extend(langchainMatchers)in their Vitest setup files. Re-exported fromlangchainfor convenience.