edenai-apis icon indicating copy to clipboard operation
edenai-apis copied to clipboard

Feat/catch validation errors

Open KyrianC opened this issue 7 months ago • 2 comments

Catch validation errors on pydantic models used for providers responses standardization

The ValidationError will be logged instead and the invalid field will be set to None

Allow us to still get a partial response instead of receving an error when provider return unexpected fields

KyrianC avatar Nov 23 '23 14:11 KyrianC