Skip to content

Commit 3038569

Browse files
committed
debug
1 parent 6f11661 commit 3038569

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llama_cpp/llama_chat_template.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -545,6 +545,7 @@ def _handle_streaming_tool_calls(
545545
}]
546546
}
547547
except Exception as e:
548+
print("ERROR", e)
548549
# Fall back to regular streaming without grammar
549550
fallback_prompt = prompt + llama.tokenize(accumulated_text.encode("utf-8"), add_bos=False, special=True)
550551
for chunk in llama.create_completion(

0 commit comments

Comments
 (0)