From b1b8767bb2e8461abf0efcd4c072370396c0c4d8 Mon Sep 17 00:00:00 2001 From: Isaac Jin Date: Tue, 29 Oct 2024 00:13:15 -0500 Subject: [PATCH] update todo comments --- gui/main.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/gui/main.py b/gui/main.py index cddc7ac..998aa27 100644 --- a/gui/main.py +++ b/gui/main.py @@ -38,6 +38,7 @@ def assign_task(): agent_policy=agent_policy, log_dir=log_dir, ) + # TODO: redirect the output to the GUI expeirment.start_benchmark() @@ -55,6 +56,7 @@ def display_message(message, sender="user"): if __name__ == "__main__": + # TODO: make this choosable by the user model = OpenAIModel(model="gpt-4o", history_messages_len=2) agent_policy = SingleAgentPolicy(model_backend=model) log_dir = (Path(__file__).parent / "logs").resolve() @@ -73,14 +75,10 @@ def display_message(message, sender="user"): ) chat_display.pack() - # Frame for input and send button side-by-side input_frame = ctk.CTkFrame(app) input_frame.pack(pady=10, padx=10, fill="x") - # Entry widget for user input - input_entry = ctk.CTkEntry( - input_frame, placeholder_text="Type your message here..." - ) + input_entry = ctk.CTkEntry(input_frame) input_entry.pack(side="left", fill="x", expand=True, padx=(0, 10)) send_button = ctk.CTkButton(input_frame, text="Send", command=assign_task)