Thank you for your interest in contributing! We welcome bug reports, feature requests, and pull requests.
git clone https://github.com/YOUR_USERNAME/AIstudioProxyAPI.git
cd AIstudioProxyAPI# Install Poetry (if not already installed)
curl -sSL https://install.python-poetry.org | python3 -
# Install dependencies
poetry install --with devpoetry run pytest- Create a branch:
git checkout -b feature/your-feature - Make your changes
- Run checks before committing:
poetry run ruff check . poetry run ruff format . poetry run pyright poetry run pytest
- Commit using Conventional Commits:
feat:New featurefix:Bug fixdocs:Documentationrefactor:Code restructuring
- Open a Pull Request
We use:
- Ruff for linting and formatting
- Pyright for type checking
- 80% test coverage minimum for modified files
See Development Guide for detailed coding conventions.
Please include:
- Steps to reproduce
- Expected vs actual behavior
- Python version and OS
- Relevant logs (from
errors_py/if available)
- Check Troubleshooting Guide
- Open a Discussion or Issue
Contributions are licensed under AGPLv3.