fix replace

This commit is contained in:
wunderwuzzi23
2023-03-02 23:00:47 -08:00
parent 486673f84b
commit 1209c9812c
+1 -1
View File
@@ -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