Skip to content

Added Flexpilot IDE to docs #190

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions docs/capabilities/code-generation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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)):
<iframe width="560" height="315" width="100%" src="https://www.youtube.com/embed/3M1_79U9RZE?si=YlTWN2chAxUhxHfr" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>

## 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).