Closed yGuy closed 1 year ago
More specifically, the graph-plugin and the image-plugin use the wrong env.plugins
code :-( so by default they are disabled.
OK - this has to do with the upgrade to node 18. MM and FormData don't like Node 18
I guess we'll just have to rollback to node 16.
In code the
plugins
environment variable is checked, however the Dockerfile usesPLUGINS
as the default, so by default neither the image nor the graph plugin are enabled.https://github.com/yGuy/chatgpt-mattermost-bot/blob/dab85a8777229b92d3d9d950407fce5e41c13b52/src/plugins/GraphPlugin.ts#L37
https://github.com/yGuy/chatgpt-mattermost-bot/blob/dab85a8777229b92d3d9d950407fce5e41c13b52/Dockerfile#L18
We should be using the upper case names in the code, too.
Workaround for now is to use
plugin
as environment variable name.