OpenAI
OpenAI copied to clipboard
Make index of ChoiceDeltaToolCall required
What
Make index of ChoiceDeltaToolCall required, but only in strict mode. 0 would be used in relaxed mode if not found
Why
Both in OpenAI doc and its OpenAPI spec this field is marked as required, so it should be the same in our code. Use relaxed mode for working with other providers.