mirror of
https://github.com/dogkeeper886/ollama37.git
synced 2025-12-11 16:26:59 +00:00
Update examples/python-simplechat/client.py
Co-authored-by: Bruce MacDonald <brucewmacdonald@gmail.com>
This commit is contained in:
@@ -32,8 +32,6 @@ def chat(messages):
|
|||||||
|
|
||||||
def main():
|
def main():
|
||||||
messages = []
|
messages = []
|
||||||
context = (
|
|
||||||
[]
|
|
||||||
) # the context stores a conversation history, you can use this to make the model more context aware
|
) # the context stores a conversation history, you can use this to make the model more context aware
|
||||||
while True:
|
while True:
|
||||||
user_input = input("Enter a prompt: ")
|
user_input = input("Enter a prompt: ")
|
||||||
|
|||||||
Reference in New Issue
Block a user