fix replace
This commit is contained in:
@@ -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