Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion phone_agent/config/prompts.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from datetime import datetime

today = datetime.today()
formatted_date = today.strftime("%Y年%m月%d日")
formatted_date = f"{today.year}年{today.month:02d}月{today.day:02d}日"

SYSTEM_PROMPT = (
"今天的日期是: "
Expand Down
2 changes: 1 addition & 1 deletion phone_agent/config/prompts_zh.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
today = datetime.today()
weekday_names = ["星期一", "星期二", "星期三", "星期四", "星期五", "星期六", "星期日"]
weekday = weekday_names[today.weekday()]
formatted_date = today.strftime("%Y年%m月%d日") + " " + weekday
formatted_date = f"{today.year}年{today.month:02d}月{today.day:02d}日 {weekday}"

SYSTEM_PROMPT = (
"今天的日期是: "
Expand Down