Update examples/python-simplechat/client.py

Co-authored-by: Bruce MacDonald <brucewmacdonald@gmail.com>
This commit is contained in:
Matt Williams 2023-12-06 15:30:10 -08:00 committed by GitHub
parent 43027789dc
commit 51131cc6e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: ")