Abstract
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.
Log a warning message when skipping a test.
Optional
Test that model can process few-shot examples with tool calls.
Test that message histories are compatible with list tool contents (e.g. Anthropic).
Test that message histories are compatible with string tool contents (e.g. OpenAI).
Generated using TypeDoc
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.