Copilot Arena server which handles requests to various model providers for AI code completion and editing.
Features • Installation • Usage • Development • Contributing • License
Download the Copilot Arena extension from the Visual Studio Code Store. For instructions on how to use Copilot Arena, check out the main Copilot Arena Github Page.
- 🚀 Handles multiple model providers
- 🔄 Code completion capabilities
- ✏️ Inline code editing
- 🛠️ Easy-to-use API interface
- 📝 Customizable prompt templates
# Clone the repository
git clone https://github.com/lmarena/copilot-arena.git
# Navigate to the directory
cd server
# Install dependencies
pip install -r requirements.txt
Prompt templates for code completions are located in:
templates/chat_psm_overlap.yaml
Editing templates can be found in:
templates/edit/chat_edit.yaml
For detailed development instructions, please refer to our Development Guide.
- Python 3.11+
- pip
- conda (recommended)
# Install test dependencies
pip install -r requirements-dev.txt
# Run tests
pytest
We welcome contributions! Here's how you can help:
- 🍴 Fork the repository
- 🌿 Create your feature branch (
git checkout -b feature/amazing-feature
) - 💾 Commit your changes (
git commit -m 'Add some amazing feature'
) - 📤 Push to the branch (
git push origin feature/amazing-feature
) - 🔄 Open a Pull Request
Please make sure to update tests as appropriate.
This project is licensed under the Apache 2.0 License - see the LICENSE file for details.
- Thanks to all contributors who have helped shape Copilot Arena
- Special thanks to the model providers that make this possible