Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>Haileopia AINew to Visual Studio Code? Get it now.
Haileopia AI

Haileopia AI

Ada Labs

|
1 install
| (0) | Free
AI-powered code completion assistant with multiple API key support for various providers
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Haileopia AI

A powerful VS Code extension that provides AI-powered code completion similar to GitHub Copilot, but with support for multiple API keys from various free AI providers.

Features

  • Multi-Provider Support: Works with OpenAI, Anthropic, Groq, DeepSeek, Mistral, and Cohere
  • Multiple API Keys: Add multiple API keys per provider for load balancing and redundancy
  • Inline Code Completion: Provides intelligent code suggestions as you type
  • Configurable Settings: Adjust temperature, max tokens, and debounce delay
  • Status Bar Indicator: See the extension status at a glance
  • Cache System: Improves performance by caching completions

Supported AI Providers

  1. OpenAI - GPT models
  2. Anthropic - Claude models
  3. Groq - Fast inference with Llama models
  4. DeepSeek - Specialized in code completion
  5. Mistral - Efficient language models
  6. Cohere - Command models

Installation

  1. Clone this repository
  2. Run npm install
  3. Run npm run compile
  4. Open VS Code
  5. Go to Extensions > Develop Extensions
  6. Click "Install from VSIX" or use "F5" to run in development mode

Configuration

Adding API Keys

  1. Open Command Palette (Ctrl+Shift+P)
  2. Type "Haileopia: Manage API Keys"
  3. Select "Add API Key"
  4. Choose your provider and enter your API key

You can add multiple API keys per provider. The extension will randomly select one to distribute the load.

Settings

  • haileopia.enabled: Enable/disable the extension
  • haileopia.maxTokens: Maximum tokens for completion (default: 1000)
  • haileopia.temperature: Temperature for AI responses (0-1, default: 0.1)
  • haileopia.debounceDelay: Debounce delay in milliseconds (default: 500)

Commands

  • Haileopia: Toggle AI Completion - Enable/disable code completion
  • Haileopia: Manage API Keys - Add, view, or remove API keys
  • Haileopia: Clear Cache - Clear the completion cache

Getting API Keys

Free API Key Sources

  1. OpenAI: Get free credits at platform.openai.com
  2. Anthropic: Request access at console.anthropic.com
  3. Groq: Sign up at groq.com - generous free tier
  4. DeepSeek: Get API key at platform.deepseek.com
  5. Mistral: Sign up at mistral.ai
  6. Cohere: Get API key at cohere.com

Usage

  1. Configure at least one API key
  2. Start typing code in any supported language
  3. The AI will provide inline completion suggestions
  4. Press Tab to accept a suggestion
  5. Click the status bar item to toggle the extension on/off

Development

Building

npm install
npm run compile

Testing

npm run test

Running in Development

  1. Open this folder in VS Code
  2. Press F5 to launch a new VS Code window with the extension loaded
  3. Make changes to the source code
  4. Press Ctrl+R in the development window to reload

File Structure

src/
  extension.ts          # Main extension entry point
  completionProvider.ts # Inline completion logic
  aiProviders.ts        # AI provider implementations
  apiKeyManager.ts      # API key management
  statusBarManager.ts   # Status bar functionality

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests if applicable
  5. Submit a pull request

License

MIT License

Troubleshooting

Extension not working

  1. Check that you have configured at least one API key
  2. Verify the extension is enabled (status bar should show "Haileopia")
  3. Check the developer console for error messages

API errors

  1. Verify your API keys are correct
  2. Check if you have exceeded rate limits
  3. Try adding multiple API keys for load balancing

Performance issues

  1. Increase the debounce delay in settings
  2. Clear the cache using the command
  3. Reduce max tokens setting

Support

For issues and feature requests, please open an issue on the GitHub repository.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft