fix: Bugfix in LetzAI Plugin -> missing named export and Plugin-type #2062
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Relates to
0002--feat-letzai-plugin tiny bugfix in the export of the module. Plugin was already merged to dev but requires this change to work fine.
Added export of the letzAIPlugin as named export and added Plugin-type.
Risks
Low - small bugfix for new plugin
Background
What does this PR do?
This plugin adds Image Generation capabilities from LetzAI.
This PR fixes a bug in the mentioned plugin.
What kind of change is this?
Bug fixes (non-breaking change which fixes an issue)
Features (non-breaking change which adds functionality)
Documentation changes needed?
My changes do not require a change to the project documentation.
Testing
Where should a reviewer start?
Go to plugin-letzai and add the plugin as documented.
Detailed testing steps
Reviewer will need a LetzAI API Key.
The following temporary key can be used for testing purposes:
LETZAI_API_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjVlZDc0MDgzLWY5ZDEtNDg5Ny1iOGUzLWM4ZjE1OTZhZjc2NyIsImVtYWlsIjoibXNAbGl2ZWFuZGRldi5jb20iLCJjcmVhdGVkQXQiOiIyMDI1LTAxLTAxVDA4OjIxOjA0LjM1NloiLCJpYXQiOjE3MzU3MTk2NjQsImV4cCI6MTc2NzI1NTY2NH0.oEL-8MlCqyoM0bRhPS8XFwBqZApMEzyF3LenwC0QOF8
Once the key is added and the plugin is installed, create a character that uses the plugin + GENERATE_IMAGE action and ask the agent to generate an image.
It will take around 50 seconds to receive the image with default settings.