Skip to content

Commit f9b81e7

Browse files
committed
[https://nvbugs/5753250][fix] Fix undefined local variable in responses utils
Signed-off-by: Junyi Xu <[email protected]>
1 parent cb0444b commit f9b81e7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tensorrt_llm/serve/responses_utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -973,6 +973,7 @@ async def _create_output_content(
973973
available_tools = _get_chat_completion_function_tools(tools)
974974

975975
for output in final_res.outputs:
976+
calls = []
976977
text, reasoning_text = _apply_reasoning_parser(reasoning_parser,
977978
output.index,
978979
output.text, False)

0 commit comments

Comments
 (0)