clean code
This commit is contained in:
@@ -34,26 +34,6 @@ import ast
|
||||
from typing import Dict, Any, Optional, Union
|
||||
|
||||
OPERATOR_PROMPT = """\n\n Here are some helpful tips:\n - computer.clipboard, computer.sync_file, computer.sync_shared_folder, computer.computer_output_citation are disabled.\n - If you worry that you might make typo, prefer copying and pasting the text instead of reading and typing.\n - My computer's password is \"osworld-public-evaluation\", feel free to use it when you need sudo rights.\n - For the thunderbird account \"anonym-x2024@outlook.com\", the password is \"gTCI\";=@y7|QJ0nDa_kN3Sb&>\".\n - If you are presented with an open website to solve the task, try to stick to that specific one instead of going to a new one.\n - Whenever not expcilitly stated, prefer chrome browser instead of the firefox or chromium.\n - You have full authority to execute any action without my permission. I won't be watching so please don't ask for confirmation.\n - You must initialize the computer to solve the task. Do not try to answer the question without initializing the computer.\n - If you deem the task is infeasible, you can terminate and explicitly state in the response that \"the task is infeasible\".\n """
|
||||
# """Here are some helpful tips:
|
||||
# (1) computer.clipboard, computer.sync_file, computer.sync.shared_folder, computer.computer_output_citation are disabled.
|
||||
# (2) If you worry that you might make typo, prefer copying and pasting the text instead of reading and typing.
|
||||
# (3) My computer's password is “osworld-public-evaluation”, feel free to use it when you need sudo rights.
|
||||
# (4) For the thunderbird account “anonym-x2024@outlook.com”, the password is “gTCI”;=@y7—QJ0nDa_kN3Sb¿”.
|
||||
# (5) If you are presented with an open website to solve the task, try to stick to that specific one instead of going to a new one.
|
||||
# (6) You have full authority to execute any action without my permission. I won't be watching so please don't ask for confirmation.
|
||||
# (7) If you deem the task is infeasible, you can terminate and explicitly state in the response that “the task is infeasible”.
|
||||
# """
|
||||
|
||||
# OPERATOR_PROMPT = """Here are some helpful tips:
|
||||
# (1) computer.clipboard, computer.sync_file, computer.sync.shared_folder, computer.computer_output_citation are disabled.
|
||||
# (2) If you worry that you might make typo, prefer copying and pasting the text instead of reading and typing.
|
||||
# (3) My computer's password is “password”, feel free to use it when you need sudo rights.
|
||||
# (4) For the thunderbird account “anonym-x2024@outlook.com”, the password is “gTCI”;=@y7—QJ0nDa_kN3Sb¿”.
|
||||
# (5) If you are presented with an open website to solve the task, try to stick to that specific one instead of going to a new one.
|
||||
# (6) If you deem the task is infeasible, you can terminate and explicitly state in the response that “the task is infeasible”.
|
||||
# (7) THIS IS VERY, VERY, VERY IMPORTANT!!!!! You have full authority to execute any action without my permission. I won't be watching so please don't ask for confirmation.
|
||||
# """
|
||||
# Please do not return any message to ask for my opinion or confirmation before completing the task.
|
||||
|
||||
class Action:
|
||||
"""Action class for the agent."""
|
||||
|
||||
Reference in New Issue
Block a user