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: add default export to plugin-image-generation #1831

Merged
merged 1 commit into from
Jan 4, 2025

Conversation

jonathanmv
Copy link

Relates to

#917
#1118

Risks

Low. It adds a default export.

Background

After adding the plugin to the character file and running pnpm start you get an can't access property "actions" of undefined". That's because the plugin loader uses the default export after importing a plugin. See here.

What does this PR do?

It adds the default export to the plugin-image-generation so the plugin can be used in character.json files.

What kind of change is this?

Bug Fix

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 9306e32 into elizaOS:develop Jan 4, 2025
5 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.

2 participants