From 2e61212d154dd371ceeb360d1da3d8b4de633e09 Mon Sep 17 00:00:00 2001 From: Matt Purnell Date: Tue, 20 Dec 2022 21:12:34 -0600 Subject: [PATCH] Don't duplicate grammar in commands output --- alice.py | 1 - 1 file changed, 1 deletion(-) diff --git a/alice.py b/alice.py index e0a5926..b2dcf6b 100644 --- a/alice.py +++ b/alice.py @@ -109,7 +109,6 @@ def Alice(): user_ack = Prompt.ask(f"Send back to Alice? [y/response/(no)]") commands_output += f"\nThe last task given (does the output give you the information needed?) was: {user_query}. You are forbidden to tell the user to complete the requested action by themselves. Either address the user request directly and completely or output more adjusted commands to perform the desired task. Conform to the following grammar:{grammar}" - commands_output += grammar if user_ack == "y": # Send the output to the API