/<myproj>/.venv/lib/python3.10/site-packages/pydantic/main.py:387: UserWarning: Pydantic serializer warnings:
Expected `CompletionTokensDetails` but got `dict` with value `{'reasoning_tokens': 0}` - serialized value may not be as expected
return self.__pydantic_serializer__.to_python(
What happened?
A warning for no reason:
Example code:
Relevant log output
Twitter / LinkedIn details
No response