Skip to content

Commit f026cb0

Browse files
author
ochafik
committed
fix diff aggregation logic in make_any_request
1 parent dae6a28 commit f026cb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/server/tests/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ def make_any_request(
349349
message=dict(
350350
role='assistant',
351351
content=''.join(content) if content else None,
352-
tool_calls=tool_calls,
352+
tool_calls=tool_calls if tool_calls else None,
353353
),
354354
)
355355
],

0 commit comments

Comments
 (0)