Skip to content

Commit 537d249

Browse files
committed
debug template
1 parent ed2de13 commit 537d249

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llama_cpp/llama_chat_template.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,8 @@ def raise_exception(message: str):
227227
tool_choice=tool_choice,
228228
strftime_now=self.strftime_now,
229229
)
230+
231+
print(prompt)
230232

231233
stopping_criteria = None
232234
if self.stop_token_ids is not None:

0 commit comments

Comments
 (0)