OpenAI icon indicating copy to clipboard operation
OpenAI copied to clipboard

Make index of ChoiceDeltaToolCall required

Open nezhyborets opened this issue 4 months ago • 0 comments

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.

Screenshot 2025-09-25 at 18 48 46

Affected Areas

nezhyborets avatar Sep 25 '25 15:09 nezhyborets