Abstract
Tests a more complex tool schema than standard tool tests. This schema
contains the Zod field: z.record(z.unknown())
which represents an object
with unknown/any fields. Some APIs (e.g Google) do not accept JSON schemas
where the object fields are unknown.
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.