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: set default value for cache store #1308

Merged
merged 1 commit into from
Dec 21, 2024

Conversation

oxSaturn
Copy link
Contributor

Relates to:

Risks

Low.

Background

Seems we introduced this new CACHE_STORE recently, but users with old .env could be missing it, and the error is kind of unclear:

throw new Error(
                `Invalid cache store: ${cacheStore} or required configuration missing.`
            );

What does this PR do?

Set a default value for cacheStore so we won't break the agents with old .env file.

What kind of change is this?

Documentation changes needed?

Testing

Where should a reviewer start?

Detailed testing steps

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

@monilpat monilpat merged commit 2f56c95 into elizaOS:develop Dec 21, 2024
3 of 4 checks passed
@oxSaturn oxSaturn deleted the fix/set-default-cache-store branch December 21, 2024 05:41
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.

2 participants