gpt-pilot
gpt-pilot copied to clipboard
Cannot use `PeeWee` for NodeJS apps
Seem's I'm stuck in a forever loop of gpt-pilot trying to fix issues with peewee
... because, well, there is no peewee
library for npm. The only one is a random dude's own version of creating http-server
or express
-like setup for simple asset serving.
--------- EXECUTE COMMAND ----------
Can I execute the command: `npm install peewee --save` with 30000ms timeout?
Based on the agents info, I'm pretty sure this is NOT what is needed. At one point I saw that the API came back with a recommendation to use https://www.npmjs.com/package/sequelize
, and I said yes, but it keeps getting stuck trying to use PeeWee again. Even after I removed references to it from package.json.
Recommendation: Different package recommendations based on project? Ie, PeeWee for Python, and Sequelize (or similar) for NodeJS.
running an attempt now with the following change to pilot > prompts > system_messages > architect.prompt
:
**Backend**: You prefer using Node.js with Mongo database if not explicitly specified otherwise. When you're using Mongo, you always use Mongoose and when you're using a relational database, you always use PeeWee as an ORM if the project is python. If the project is nodeJS and using MongoDB, then use Mongoose. If it is nodeJS and using sqlite, sqlite3, or mysql, then use sequelize.
🤞
closing this after inacitivy