Thanks for your interest in contributing! Here's how to get started.
- Fork the repo and clone it locally
- Install dependencies:
npm install
- Run tests:
npm test - Build:
npm run build
- Create a branch from
main:git checkout -b my-feature
- Make your changes
- Add tests for new functionality
- Make sure all tests pass:
npm test - Commit with a clear message
- New model pricing - if a provider updates prices or a new model drops, PRs welcome
- New provider support - add detection for more API hosts in the proxy
- Cost optimization insights - ideas for helping users understand where to save money
- Bug fixes - if something's wrong, please open an issue or fix it
- Documentation - improvements to README, examples, or inline docs
- Keep PRs focused - one feature or fix per PR
- Include tests for new functionality
- Update the README if you're adding user-facing features
- Make sure
npm testpasses before submitting
Open an issue on GitHub with:
- What you expected to happen
- What actually happened
- Steps to reproduce
- Node.js version and OS
- TypeScript strict mode
- No external runtime dependencies
- Keep it simple - this is a lightweight library
By contributing, you agree that your contributions will be licensed under the MIT License.