We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f11661 commit 3038569Copy full SHA for 3038569
1 file changed
llama_cpp/llama_chat_template.py
@@ -545,6 +545,7 @@ def _handle_streaming_tool_calls(
545
}]
546
}
547
except Exception as e:
548
+ print("ERROR", e)
549
# Fall back to regular streaming without grammar
550
fallback_prompt = prompt + llama.tokenize(accumulated_text.encode("utf-8"), add_bos=False, special=True)
551
for chunk in llama.create_completion(
0 commit comments