Skip to content

Latest commit

 

History

History
105 lines (71 loc) · 3.33 KB

README.md

File metadata and controls

105 lines (71 loc) · 3.33 KB

Copilot Arena

License: Apache 2.0 Code style: black

Copilot Arena server which handles requests to various model providers for AI code completion and editing.

FeaturesInstallationUsageDevelopmentContributingLicense

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.

Features

  • 🚀 Handles multiple model providers
  • 🔄 Code completion capabilities
  • ✏️ Inline code editing
  • 🛠️ Easy-to-use API interface
  • 📝 Customizable prompt templates

Installation

# 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

Usage

Code Completions

Prompt templates for code completions are located in:

templates/chat_psm_overlap.yaml

Inline Edits

Editing templates can be found in:

templates/edit/chat_edit.yaml

Development

Local Setup

For detailed development instructions, please refer to our Development Guide.

Prerequisites

  • Python 3.11+
  • pip
  • conda (recommended)

Running Tests

# Install test dependencies
pip install -r requirements-dev.txt

# Run tests
pytest

Contributing

We welcome contributions! Here's how you can help:

  1. 🍴 Fork the repository
  2. 🌿 Create your feature branch (git checkout -b feature/amazing-feature)
  3. 💾 Commit your changes (git commit -m 'Add some amazing feature')
  4. 📤 Push to the branch (git push origin feature/amazing-feature)
  5. 🔄 Open a Pull Request

Please make sure to update tests as appropriate.

License

This project is licensed under the Apache 2.0 License - see the LICENSE file for details.

Acknowledgments

  • Thanks to all contributors who have helped shape Copilot Arena
  • Special thanks to the model providers that make this possible

Made with ❤️ by the Copilot Arena Team

X (formerly Twitter) Follow GitHub Website

X (formerly Twitter) Follow GitHub Website