Skip to content

Copilot Options

Configure your CompletionCopilot instance with different providers, models and custom options to get the best code completions for your needs.

Changing the Provider and Model

You can specify a different provider and model by setting the provider and model parameters in the CompletionCopilot instance.

javascript
const copilot = new CompletionCopilot(process.env.MISTRAL_API_KEY, {
    provider: 'mistral',
    model: 'codestral',
});

Currently, Monacopilot supports the following provider and model:

ProviderModelsNotesAPI Key
mistralcodestralProvides accurate code completions using Fill-in-the-Middle (FIM) technology with fast response timeGet Mistral API Key

INFO

More providers and models will be added in future releases.

Released under the MIT License.