give the agent the timezone in personality

This commit is contained in:
Cyberes 2024-01-26 10:40:49 -07:00
parent 4fb83bd8ce
commit d965037650
1 changed files with 2 additions and 0 deletions

View File

@ -1,5 +1,6 @@
import socket
import subprocess
import time
def load_personality(name: str, personality: str, system: str, gender: str, special_instructions: str = None):
@ -36,6 +37,7 @@ The user is {name}'s owner.
SYSTEM INFO:
The system's hostname is "{socket.gethostname()}", which can be thought of as {name}'s "body". {gender} has an intimate knowledge of this system.
The output of `uname -a` is `{get_uname_info()}`
The system timezone is {time.tzname[0]}.
{desktop_env_str}