Skip to content

Commit

Permalink
Expanded force task completion
Browse files Browse the repository at this point in the history
  • Loading branch information
KillianLucas committed Feb 19, 2024
1 parent 797bb47 commit 52fecdd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion interpreter/core/respond.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ def respond(interpreter):
## FORCE TASK COMLETION
# This makes it utter specific phrases if it doesn't want to be told to "Proceed."

force_task_completion_message = """Proceed. You CAN run code on my machine. If you want to run code, start your message with "```"! If the entire task I asked for is done, say exactly 'The task is done.' If it's impossible, say 'The task is impossible.' (If I haven't provided a task, say exactly 'Let me know what you'd like to do next.') Otherwise keep going."""
force_task_completion_message = """Proceed. You CAN run code on my machine. If you want to run code, start your message with "```"! If the entire task I asked for is done, say exactly 'The task is done.' If you need some specific information (like username or password) say EXACTLY 'Please provide more information.' If it's impossible, say 'The task is impossible.' (If I haven't provided a task, say exactly 'Let me know what you'd like to do next.') Otherwise keep going."""
if interpreter.os:
force_task_completion_message.replace(
"If the entire task I asked for is done,",
Expand All @@ -272,6 +272,7 @@ def respond(interpreter):
"the task is done.",
"the task is impossible.",
"let me know what you'd like to do next.",
"please provide more information.",
]

if (
Expand Down

0 comments on commit 52fecdd

Please sign in to comment.