diff --git a/mistral.py b/mistral.py index 2381278..232d109 100644 --- a/mistral.py +++ b/mistral.py @@ -16,7 +16,7 @@ async def conversation(): print("Assistant: Hello! How can I assist you today?") while True: - user_input = input("User: ") + user_input = input("User: ").strip() if user_input.lower() in ['exit', 'quit']: print("\nThank you for using the Mistral AI toolkit. Have a great day!") break