Skip to content

Commit 8dcdbd2

Browse files
committed
debug
1 parent d9ff418 commit 8dcdbd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llama_cpp/llama_chat_template.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ def _handle_streaming_tool_calls(
438438
temperature=0.0,
439439
stream=False,
440440
stop=[], # Grammar will handle the format including colon
441-
**{k: v for k, v in base_completion_kwargs.items() if k != "stream" and k != "grammar"}
441+
**{k: v for k, v in base_completion_kwargs.items() if k != "stream" and k != "grammar" and k != "temperature"}
442442
)
443443
name_text = name_completion["choices"][0]["text"]
444444
tool_name = name_text.split(".")[-1].rstrip(":")

0 commit comments

Comments
 (0)