Contributing to Ollama Proxy¶
We welcome contributions from the community! Whether you're fixing a bug, adding a new feature, or improving the documentation, your help is greatly appreciated.
How to Contribute¶
Getting Started¶
- Fork the repository on GitHub.
-
Clone your fork locally:
-
Set up a virtual environment and install the dependencies, including the test dependencies:
Making Changes¶
-
Create a new branch for your feature or bug fix:
-
Make your changes to the code or documentation.
- Write tests for any new features or bug fixes. We use
pytestfor testing. -
Run the tests to ensure that everything is working correctly:
-
Format your code using a code formatter if necessary. This project uses
blackandisort.
Submitting Your Contribution¶
-
Commit your changes with a clear and descriptive commit message:
-
Push your branch to your fork on GitHub:
-
Open a pull request from your branch to the
mainbranch of the original repository. - Provide a detailed description of your changes in the pull request.
Coding Guidelines¶
- Follow the existing code style.
- Write clear and concise comments where necessary.
- Ensure your code is well-tested.
- Update the documentation if you are adding or changing a feature.
Reporting Bugs¶
If you find a bug, please open an issue on the GitHub repository. Include the following information in your report:
- A clear and descriptive title.
- A detailed description of the bug.
- Steps to reproduce the bug.
- Any relevant logs or error messages.
Thank you for contributing to the Ollama Proxy project!