Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: time prompt to include UTC, convert to verbose english to help prompting #603

Merged
merged 2 commits into from
Nov 26, 2024

Conversation

odilitime
Copy link
Collaborator

Risks

Low

Background

What does this PR do?

Pass the time/date at GMT in english to the LLM, so it's not the timezone the server is in

What kind of change is this?

Bug fixes (non-breaking change which fixes an issue)

Why are we doing this? Any context or related work?

So you can ask it what time is in specific time zones and it works (if you server's localtime is not set to UTC)

Documentation changes needed?

My changes do not require a change to the project documentation.

Copy link
Collaborator

@monilpat monilpat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM outside of unneeded comment :)

packages/plugin-bootstrap/src/providers/time.ts Outdated Show resolved Hide resolved
@shakkernerd shakkernerd merged commit db9a857 into elizaOS:main Nov 26, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants