client
client copied to clipboard
Modify the properties in CreateResponseUsageCompletionTokensDetails to allow null
What:
- [x] Bug Fix
- [ ] New Feature
Description:
This fix is to make this lib compatible with third-party OpenAI-like APIs, which might not return certain fields within the usage.
Related:
Marking as draft. There are conflicts on this PR. Sorry for the delay in reviewing.
This was resolved in a different PR - https://github.com/openai-php/client/pull/560 - closing.