mirror of
https://github.com/dogkeeper886/ollama37.git
synced 2025-12-12 08:47:01 +00:00
add prompt templates as j2 templates
This commit is contained in:
@@ -69,6 +69,7 @@ def generate_oneshot(*args, **kwargs):
|
||||
if len(choices) > 0:
|
||||
print(choices[0].get("text", ""), end="", flush=True)
|
||||
|
||||
# end with a new line
|
||||
print()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user