diff --git a/docs/capabilities/code-generation.mdx b/docs/capabilities/code-generation.mdx index 405fac4..28290fb 100644 --- a/docs/capabilities/code-generation.mdx +++ b/docs/capabilities/code-generation.mdx @@ -448,3 +448,24 @@ Python implementation ([cookbook](https://github.com/mistralai/cookbook/tree/mai JS implementation ([cookbook](https://github.com/mistralai/cookbook/tree/main/third_party/E2B_Code_Interpreting/codestral-code-interpreter-js)): + +## Integration with Flexpilot IDE + +Flexpilot IDE is an open-source, AI-native, privacy-first IDE forked from VS Code that allows you to use your own LLM API keys. +You can integrate Codestral for both chat and inline code completions. + +To configure Codestral in either the web version or the desktop version of Flexpilot IDE: + +1. Login using your GitHub account inside IDE first, to personalize the experience. +2. Open Command Palette (⌘⇧P on Mac, Ctrl+Shift+P on Windows) +3. Type `Flexpilot: Configure the Language Model Provider` +4. Select `Edit Completions Config` +5. Fill in the configuration form: + - API Base URL: `https://codestral.mistral.ai/v1/fim` + - API Key: Your Codestral API key + - Model ID: `codestral-latest` +6. Click "Save" to enable inline completions + +Once configured, you can start using Codestral's powerful code completion capabilities directly within Flexpilot IDE. + +You can check out [Flexpilot's documentation](https://flexpilot.ai/docs/completion-models/codestral.html) to learn more or use instantly online [here](https://ide.flexpilot.ai/?folder=web-fs://github/flexpilot-ai/flexpilot-ide/main). \ No newline at end of file