/refactorings

BPMN refactoring suggestions powered by AI.

Primary LanguageJavaScript

@bpmn-io/refactorings 👷

Refactorings for bpmn-js, powered by AI!

Setup

npm install
npm start

OpenAI Setup

To use OpenAI, you need to create an account and get an API key. Set the API key in the .env file:

OPENAI_API_KEY="..."

To set the number of reqests sent for each test, set OPENAI_TEST_REQUESTS in the .env file:

OPENAI_TEST_REQUESTS=3

Testing

Run the tests:

# run tests
npm test

# run OpenAI tests
npm run test:openai

License

MIT