Skip to content

Commit 4c9e483

Browse files
author
self
committed
Removed a lot of the text used to try and give chatbot understanding of time. Not only was it mostly a fruitless waste of tokens, but it was completely unrelated to the real purpose of the update: greet the user in a time-appropriate manner. Lol
1 parent f3b612f commit 4c9e483

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

chatbot.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -836,9 +836,7 @@ def restore_self(self) -> str:
836836
week_day = datetime.today().weekday()
837837
day_name = days[week_day]
838838
time = convert_to_12hr(now.hour, now.minute)
839-
today = (f'{day_name} (MM-dd-YY) {now.month}-{now.day}-{now.year}, {time} (AI understands timestamp up-to-date.' +
840-
' AI only uses this timestamp to tell time, understands timestamp always right. If time AM, use good morning; ' +
841-
' if time PM, use good afternoon.)')
839+
today = (f'{day_name} (MM-dd-YY) {now.month}-{now.day}-{now.year}, {time} (If time AM, use good morning; if time PM, use good afternoon.)')
842840

843841
# Get name and preset
844842
# 1. Ensure valid dirs

0 commit comments

Comments
 (0)