Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ffed3ed commit f62ded4Copy full SHA for f62ded4
llama_cpp/llama_chat_format.py
@@ -3955,7 +3955,9 @@ def chatml_function_calling(
3955
{
3956
"finish_reason": "tool_calls",
3957
"index": 0,
3958
- "logprobs": completion["choices"][0]["logprobs"],
+ "logprobs": _convert_text_completion_logprobs_to_chat(
3959
+ completion["choices"][0]["logprobs"]
3960
+ ),
3961
"message": {
3962
"role": "assistant",
3963
"content": None,
0 commit comments