instructor not working with litellm. AttributeError: 'dict' object has no attribute 'audio_tokens'
#1339
Labels
bug
Something isn't working
Describe the bug
instructor doesn't work with litellm.
model: gpt-4o-mini-2024-07-18
versions:
To Reproduce
Expected behavior
The I can make llm calls without errors.
Hints
Looks like litellm doesn't fully convert the usage information to objects.
https://github.com/BerriAI/litellm/blob/c17342ac5bf0e9b281ffe2dbf6380411856eaf96/litellm/litellm_core_utils/llm_response_utils/convert_dict_to_response.py#L511-L514
See also #1332
The text was updated successfully, but these errors were encountered: