We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 928a0cb commit afd9178Copy full SHA for afd9178
engines/python/setup/djl_python/output_formatter.py
@@ -335,8 +335,8 @@ def _json_chat_output_formatter(request_output: TextGenerationOutput):
335
"message": {
336
"role": "assistant",
337
"content": "",
338
+ "tool_calls": tool_calls,
339
},
- "tool_calls": tool_calls,
340
"logprobs": None,
341
"finish_reason": best_sequence.finish_reason,
342
}
@@ -353,8 +353,8 @@ def _json_chat_output_formatter(request_output: TextGenerationOutput):
353
354
355
"content": tool_call_info.content,
356
357
358
359
"finish_reason": "tool_calls",
360
0 commit comments