lumide_codestral 1.0.0
lumide_codestral: ^1.0.0 copied to clipboard
Mistral Codestral inline completion plugin for Lumide IDE. Provides AI-powered code suggestions using the Mistral FIM API.
lumide_codestral #
The official Lumide IDE plugin for Mistral's Codestral.
lumide_codestral provides advanced, high-performance inline code suggestions powered by Mistral's state-of-the-art Codestral model. It uses the Fill-in-the-Middle (FIM) technique to provide contextually accurate completions based on both your prefix and suffix code.
Features #
π Codestral Inline Completions #
- Ghost Text: Get instant, contextual suggestions as you code.
- FIM Powered: Unlike standard completion, Codestral understands the "middle" of your file, leading to significantly higher accuracy in existing functions.
- High Performance: Optimized for low-latency completions via the Mistral API.
π Simple Setup #
- API Key Authentication: Simply paste your Mistral API key when prompted or configure it in Settings.
- Support for Private Endpoints: Custom API URL support for proxies or enterprise Mistral deployments.
βοΈ Customizable Experience #
- Model Selection: Switch between
codestral-latestor specific versions likecodestral-2501. - Token Control: Manage your API usage by limiting the maximum tokens per completion.
Getting Started #
- Install the plugin from the Lumide Marketplace.
- Click on "Sign In Required" in the Status Bar (bottom right).
- Click "Sign In" and paste your Codestral API key when prompted.
- You can get a key at console.mistral.ai/codestral.
Configuration #
Customize behavior in your .sofluffy/lumide/settings.json or Workspace Settings:
| Key | Default | Description |
|---|---|---|
codestral.apiKey |
null |
Your Mistral API key (Secret). |
codestral.apiUrl |
https://codestral.mistral.ai |
Base URL for the Mistral API. |
codestral.model |
codestral-latest |
The model version to use. |
codestral.maxTokens |
350 |
Maximum length of suggested code. |
Requirements #
- Mistral API Key: A valid Mistral account with a subscription to Codestral.
- Internet Access: The plugin needs an active connection to communicate with Mistral's APIs.
License #
This project is licensed under the MIT License - see the LICENSE file for details.
Built with β€οΈ by SoFluffy.