From 26a779e704e24c88533aa1d66a6f98352808be9a Mon Sep 17 00:00:00 2001 From: mohanram Date: Wed, 26 Feb 2025 12:42:35 +0000 Subject: [PATCH 1/3] Added Flexpilot IDE to docs --- docs/capabilities/code-generation.mdx | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/docs/capabilities/code-generation.mdx b/docs/capabilities/code-generation.mdx index 405fac4..0898551 100644 --- a/docs/capabilities/code-generation.mdx +++ b/docs/capabilities/code-generation.mdx @@ -448,3 +448,22 @@ 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. \ No newline at end of file From 7cbd37909860c2a0382572f0b84dbce4554f4877 Mon Sep 17 00:00:00 2001 From: mohanram Date: Wed, 26 Feb 2025 12:45:15 +0000 Subject: [PATCH 2/3] Added docs link to flexpilot sections --- docs/capabilities/code-generation.mdx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/capabilities/code-generation.mdx b/docs/capabilities/code-generation.mdx index 0898551..af7de2d 100644 --- a/docs/capabilities/code-generation.mdx +++ b/docs/capabilities/code-generation.mdx @@ -466,4 +466,6 @@ To configure Codestral in either the web version or the desktop version of Flexp - 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. \ No newline at end of file +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) 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 From afb29c847ea5a1e406d3255ac24fb1c3b5f3ac66 Mon Sep 17 00:00:00 2001 From: mohanram Date: Wed, 26 Feb 2025 12:46:15 +0000 Subject: [PATCH 3/3] Updated to more specific link --- docs/capabilities/code-generation.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/capabilities/code-generation.mdx b/docs/capabilities/code-generation.mdx index af7de2d..28290fb 100644 --- a/docs/capabilities/code-generation.mdx +++ b/docs/capabilities/code-generation.mdx @@ -468,4 +468,4 @@ To configure Codestral in either the web version or the desktop version of Flexp 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) 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 +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