Thank you for your interest in contributing to the Venice AI SDK! This document provides guidelines and instructions for contributing.
- Clone the repository:
git clone https://github.com/georgeglarson/venice-dev-tools.git
cd venice-dev-tools- Install dependencies:
pnpm install- Set up environment variables:
cp .env.example .env
# Add your Venice.ai API keys to .env- Build the project:
pnpm buildpnpm test# Requires valid API keys in .env
pnpm test:integrationpnpm test:coverage- TypeScript: Strict mode enabled, all code must be fully typed
- Testing: New features require unit tests (80% coverage minimum)
- Formatting: Code is auto-formatted on commit
- Linting: All code must pass ESLint checks
Follow conventional commits:
feat:New featuresfix:Bug fixesdocs:Documentation changestest:Test additions/changesrefactor:Code refactoringchore:Build/tooling changes
Example:
git commit -m "feat: add audio transcription endpoint"- Create a feature branch from
main - Make your changes with tests
- Ensure all tests pass
- Update documentation if needed
- Submit PR with clear description
- Address review feedback
venice-ai-sdk/
├── packages/
│ ├── core/ # Core SDK logic
│ ├── node/ # Node.js specific
│ └── web/ # Browser specific
├── docs/ # Documentation
└── examples/ # Usage examples
Open an issue or discussion on GitHub.