mirror of
https://github.com/tcsenpai/ollama.git
synced 2025-06-07 11:45:21 +00:00
Update examples/python-simplechat/client.py
Co-authored-by: Bruce MacDonald <brucewmacdonald@gmail.com>
This commit is contained in:
parent
43027789dc
commit
51131cc6e2
@ -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: ")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user