Skip to content

BrachystochroneSD/codestral.el

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

codestral.el

Completion system inspired by copilot.el

Usage

You need to create an account at mistral.ai and activate a codestral plan. And create an api token at https://console.mistral.ai/codestral

You just need to set codestral-api-key and codestral-api-url custom variables.

Then invoke the codestral-mode minor mode via global-codestral-mode.

Here is an example of a configuration:

(use-package codestral
  :load-path "~/.emacs.d/my-packages/codestral.el"
  :custom
  (codestral-api-key "your api key")
  (codestral-api-url "https://codestral.mistral.ai")
  :bind (("C-M-:" . global-codestral-mode)
         :map codestral-mode-map
         ("C-:" . codestral-accept-completion)
         ("C-=" . codestral-next-completion)
         ("C-;" . codestral-previous-completion)))

About

emacs minor mode for codestral

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors