[Feature] Integrate free Codestral Mistral API for autocompletion
Hello, Mistral AI have deploy an dedicated API for Codestral who is free: Codestral Console. In order to use this API we need to use another API Key and API URL.
Integrate this feature will permit to have an Free Auto Completion with a great FIM model.
Can you implement this new API to Void ?
Hello, there is some choices who led to using api.mistral.com
- You can select every mistral model from that one, with the condestral endpoint you only have codestral.
- Fim works with api, this is a model related feature.
Using a mistral free api key, i am able to use mistral models inside Void, with the FIM Features.
We are also using theses functions from npm packages
import { MistralCore } from '@mistralai/mistralai/core.js';
import { fimComplete } from '@mistralai/mistralai/funcs/fimComplete.js';
So free completion and FIM is allready working (for a while as i am using it allready)
@jcommaret Is it convenient to share your source code branch? Thank you
@hehua2018 I am not sure this is the way it should be, but as @andrewpareles is not updating the Project source, this might be a good work around. I am AFK for the week end, will come back to you on Monday.