- Added new tools for generating and applying safe patches using Mistral. - Implemented a local embedding index for repository files to facilitate search functionality. - Created a schema for validating patch JSON structure. - Developed various prompts for different agent roles (Architect, PM, QA, etc.) to guide Mistral's output. - Established a set of scope allowlists to ensure safe application of patches. - Included documentation for agents and systems correspondence. - Added requirements for Mistral dependencies in requirements-mistral.txt.
549 B
549 B
VS Code Continue + Mistral (Codestral)
Continue supports Mistral as a model provider.
Config (YAML)
Create ~/.continue/config.yaml:
name: My Config
version: 0.0.1
schema: v1
models:
- name: Codestral
provider: mistral
model: codestral-latest
apiKey: <YOUR_MISTRAL_API_KEY>
apiBase: https://codestral.mistral.ai/v1
roles:
- chat
- autocomplete
Important
Continue notes that the API key for codestral.mistral.ai is different from api.mistral.ai
and you should set apiBase accordingly.