Skip to content

Commit 17bdf39

Browse files
committed
Datetime fix for Windows
1 parent aa35352 commit 17bdf39

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

interpreter/computer_use/loop.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ class APIProvider(StrEnum):
107107
SYSTEM_PROMPT = f"""<SYSTEM_CAPABILITY>
108108
* 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.
109109
* 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.
110+
* The current date is {datetime.today().strftime('%A, %B %d, %Y')}.
110111
</SYSTEM_CAPABILITY>"""
111112

112113
# Update the SYSTEM_PROMPT for Mac OS

0 commit comments

Comments
 (0)