mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-24 10:14:26 +00:00
fix(stream_chunk_builder_utils.py): don't set index on modelresponse (#10063)
* fix(stream_chunk_builder_utils.py): don't set index on modelresponse * test: update tests
This commit is contained in:
parent
7b7b43e1a7
commit
c603680d2a
2 changed files with 0 additions and 4 deletions
|
@ -161,7 +161,6 @@ class ChunkProcessor:
|
|||
name=tool_call_data["name"],
|
||||
),
|
||||
type=tool_call_data["type"] or "function",
|
||||
index=index,
|
||||
)
|
||||
)
|
||||
|
||||
|
|
|
@ -135,7 +135,6 @@ def test_get_combined_tool_content():
|
|||
name="get_current_weather",
|
||||
),
|
||||
type="function",
|
||||
index=0,
|
||||
),
|
||||
ChatCompletionMessageToolCall(
|
||||
id="call_rrns",
|
||||
|
@ -144,7 +143,6 @@ def test_get_combined_tool_content():
|
|||
name="get_current_weather",
|
||||
),
|
||||
type="function",
|
||||
index=1,
|
||||
),
|
||||
ChatCompletionMessageToolCall(
|
||||
id="call_0k29",
|
||||
|
@ -153,6 +151,5 @@ def test_get_combined_tool_content():
|
|||
name="get_current_weather",
|
||||
),
|
||||
type="function",
|
||||
index=2,
|
||||
),
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue