mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-18 09:45:23 +00:00
fix(chatgpt): allow per-iteration normalized index binding
This commit is contained in:
parent
0803a83aee
commit
bfe5d65851
1 changed files with 1 additions and 1 deletions
|
|
@ -104,7 +104,7 @@ class ChatGPTToolCallNormalizer:
|
|||
continue
|
||||
else:
|
||||
# Continuation delta (id=None) — use its source index when unambiguous
|
||||
normalized_index: Final = self._source_index_to_output_index.get(tc.index)
|
||||
normalized_index = self._source_index_to_output_index.get(tc.index)
|
||||
if normalized_index is not None:
|
||||
tc.index = normalized_index
|
||||
elif self._last_id:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue