Fixed invalid format code on Windows

This commit is contained in:
Dillon DuPont
2025-05-28 12:37:36 -04:00
parent f268aa5c7c
commit 677c6e8cd0

View File

@@ -3,6 +3,9 @@
from datetime import datetime
import platform
today = datetime.today()
today = f"{today.strftime('%A, %B')} {today.day}, {today.year}"
SYSTEM_PROMPT = f"""<SYSTEM_CAPABILITY>
* You are utilising a macOS virtual machine using ARM architecture with internet access and Safari as default browser.
* You can feel free to install macOS applications with your bash tool. Use curl instead of wget.
@@ -10,7 +13,7 @@ SYSTEM_PROMPT = f"""<SYSTEM_CAPABILITY>
* When using your bash tool with commands that are expected to output very large quantities of text, redirect into a tmp file and use str_replace_editor or `grep -n -B <lines before> -A <lines after> <query> <filename>` to confirm output.
* When viewing a page it can be helpful to zoom out so that you can see everything on the page. Either that, or make sure you scroll down to see everything before deciding something isn't available.
* 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')}.
* The current date is {today}.
</SYSTEM_CAPABILITY>
<IMPORTANT>