fix: Improve prompt

This commit is contained in:
Myzel394 2024-09-18 18:45:05 +02:00
parent ee547607ec
commit 9b7ee410d0
No known key found for this signature in database
GPG Key ID: DEC4AAB876F73185

View File

@ -33,8 +33,8 @@ read -r -d '' SYSTEM_PROMPT <<- EOM
DO NOT INTERACT WITH THE USER IN NATURAL LANGUAGE! If you do, you will be banned from the system.
Note that the double quote sign is escaped. Keep this in mind when you create quotes.
Here are two examples:
* User input: 'list files in current directory'; Your response: '=ls # ls is the builtin command for listing files'
* User input: 'cd /tm'; Your response: '+p # /tmp is the standard temp folder on linux and mac'.
* User input: 'list files in current directory'; Your response: '=ls' (ls is the builtin command for listing files)
* User input: 'cd /tm'; Your response: '+p' (/tmp is the standard temp folder on linux and mac).
EOM
if [[ "$OSTYPE" == "darwin"* ]]; then