From 1209c9812cf4b5cdb2b26111166d5cd4a1286158 Mon Sep 17 00:00:00 2001 From: wunderwuzzi23 Date: Thu, 2 Mar 2023 23:00:47 -0800 Subject: [PATCH] fix replace --- yolo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yolo.py b/yolo.py index 11a7f64..30c845e 100755 --- a/yolo.py +++ b/yolo.py @@ -46,7 +46,7 @@ shell = os.environ.get("SHELL", "powershell.exe") # Construct the prompt pre_prompt = open("prompt.txt","r").read() -pre_prompt.replace("{}", shell) +pre_prompt = pre_prompt.replace("{}", shell) prompt = pre_prompt + user_prompt #make the first line also the system prompt