fix replace
This commit is contained in:
1 parent
486673f84b
commit
1209c9812c
1 file changed
+1
-1
@@ -46,7 +46,7 @@ shell = os.environ.get("SHELL", "powershell.exe")
|
|||||||
|
|
||||||
# Construct the prompt
|
# Construct the prompt
|
||||||
pre_prompt = open("prompt.txt","r").read()
|
pre_prompt = open("prompt.txt","r").read()
|
||||||
pre_prompt.replace("{}", shell)
|
pre_prompt = pre_prompt.replace("{}", shell)
|
||||||
prompt = pre_prompt + user_prompt
|
prompt = pre_prompt + user_prompt
|
||||||
|
|
||||||
#make the first line also the system prompt
|
#make the first line also the system prompt
|
||||||
|
|||||||
Reference in new issue
Block a user