Closed
Description
While we have unit tests for ChatAdapter
in tests/adapters/test_chat_adapter.py
, it's only covering a few cases. We should add test cases to cover:
- Different input field and output field types, including pydantic models and nested types.
- The request sent to LM contains the signature information as expected.
- On failure like parsing errors, an explicit error is raised.