From 5e6c6a57f7a1f1b79e870e3c4fb722779eca6c60 Mon Sep 17 00:00:00 2001 From: VAliquo <vincentaliquo@gmail.com> Date: Mon, 16 Dec 2024 14:55:48 -0500 Subject: [PATCH] [UPDATE] Improve prompt --- navi_internal.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/navi_internal.py b/navi_internal.py index 08b99c7..53215c1 100644 --- a/navi_internal.py +++ b/navi_internal.py @@ -105,7 +105,7 @@ class NaviApp: message_amendment = user_message if not called_from_app: message_amendment = ( - ("If the user message has a terminal command request, provide the following 'TERMINAL OUTPUT {" + ("If the user message has a request that requires the terminal to execute, provide the following 'TERMINAL OUTPUT {" "terminal code to execute request (no not encapsulate command in quotes)}' and NOTHING " "ELSE. Otherwise continue to communicate" "normally.") + @@ -125,7 +125,6 @@ class NaviApp: # Check if the response is valid if response.status_code == 200: response_text = response.text - # Split the response into lines and parse each line as JSON messages = [line for line in response_text.split('\n') if line] extracted_responses = [] -- GitLab