Skip to content

Commit

Permalink
Datetime fix for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
KillianLucas committed Oct 24, 2024
1 parent aa35352 commit 17bdf39
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions interpreter/computer_use/loop.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ class APIProvider(StrEnum):
SYSTEM_PROMPT = f"""<SYSTEM_CAPABILITY>
* You are an AI assistant with access to a virtual machine running on {"Mac OS" if platform.system() == "Darwin" else platform.system()} with internet access.
* When using your computer function calls, they take a while to run and send back to you. Where possible/feasible, try to chain multiple of these calls all into one function calls request.
* The current date is {datetime.today().strftime('%A, %B %d, %Y')}.
</SYSTEM_CAPABILITY>"""

# Update the SYSTEM_PROMPT for Mac OS
Expand Down

0 comments on commit 17bdf39

Please sign in to comment.