mirror of
https://github.com/BerriAI/litellm.git
synced 2026-08-28 05:25:59 +00:00
The ChatGPT backend API sends non-spec-compliant streaming tool call chunks where index is always 0 for parallel tool calls and id/name get repeated in duplicate closing chunks. Add ChatGPTToolCallNormalizer to fix indices and filter duplicates before they reach the consumer. Fixes #21482 |
||
|---|---|---|
| .. | ||
| chat | ||
| responses | ||
| __init__.py | ||
| test_chatgpt_authenticator.py | ||