Skip to content

Increase test coverage for ChatAdapter #8120

Closed
@chenmoneygithub

Description

@chenmoneygithub

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions