Run all unit tests for the chat model.
Each test is wrapped in a try/catch block to prevent the entire test suite from failing.
If a test fails, the error is logged to the console, and the test suite continues.
Returns Promise<boolean>
testBatch
testBatch(): Promise<void>
Returns Promise<void>
testConversation
testConversation(): Promise<void>
Returns Promise<void>
testInvoke
testInvoke(): Promise<void>
Returns Promise<void>
testStream
testStream(): Promise<void>
Returns Promise<void>
testStructuredFewShotExamples
testStructuredFewShotExamples(): Promise<void>
Test that model can process few-shot examples with tool calls.
Run all unit tests for the chat model. Each test is wrapped in a try/catch block to prevent the entire test suite from failing. If a test fails, the error is logged to the console, and the test suite continues.