Skip to content

Conversation

@nezhyborets
Copy link
Collaborator

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

But only in strict mode. 0 would be used in relaxed mode if not found
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant