We deeply appreciate your interest in contributing to our repository! Whether you're reporting bugs, suggesting enhancements, improving docs, or submitting pull requests, your contributions help improve the project for everyone.
If you've encountered a bug in the project, we encourage you to report it to us. Please follow these steps:
- Check the Issue Tracker: Before submitting a new bug report, please check our issue tracker to see if the bug has already been reported. If it has, you can add to the existing report.
- Create a New Issue: If the bug hasn't been reported, create a new issue. Provide a clear title and a detailed description of the bug. Include any relevant logs, error messages, and steps to reproduce the issue.
- Label Your Issue: If possible, label your issue as a
bug
so it's easier for maintainers to identify.
We're always looking for suggestions to make our project better. If you have an idea for an enhancement, please:
- Check the Issue Tracker: Similar to bug reports, please check if someone else has already suggested the enhancement. If so, feel free to add your thoughts to the existing issue.
- Create a New Issue: If your enhancement hasn't been suggested yet, create a new issue. Provide a detailed description of your suggested enhancement and how it would benefit the project.
We welcome your contributions to our code and documentation. Here's how you can contribute:
To set up the repository on your local machine, follow these steps:
- Fork the Repository: Make a copy of the repository to your GitHub account.
- Clone the Repository: Clone the repository to your local machine, e.g. using
git clone
. - Install pnpm: If you haven't already, install
pnpm
. You can do this by runningnpm install -g pnpm
if you're using npm. Alternatively, if you're using Homebrew (Mac), you can runbrew install pnpm
. - Install Dependencies: Navigate to the project directory and run
pnpm install
to install all necessary dependencies.
We greatly appreciate your pull requests. Here are the steps to submit them:
- Create a New Branch: Initiate your changes in a fresh branch. It's recommended to name the branch in a manner that signifies the changes you're implementing.
- Commit Your Changes: Ensure your commits are succinct and clear, detailing what modifications have been made and the reasons behind them.
- Push the Changes to Your GitHub Repository: After committing your changes, push them to your GitHub repository.
- Open a Pull Request: Propose your changes for review. Furnish a lucid title and description of your contributions. Make sure to link any relevant issues your PR resolves.
- Respond to Feedback: Stay receptive to and address any feedback or alteration requests from the project maintainers.
Tip
Run pnpm prettier-fix
before opening a pull request.
If you encounter any prettier issues, you can fix them by running pnpm prettier-fix
. This command will automatically fix any formatting issues in your code.
- run
pnpm install
in the root - run
pnpm build
in the root cd examples/next-website
(or another example folder)- Other examples: run
pnpm dev
and go to the browser url
Thank you for contributing to the OpenAssistantGPT SDK! Your efforts make a significant difference.