#IDE integration for Mistral Le Chat
78 messages ยท Page 1 of 1 (latest)
Could you elaborate? I cant find any API keys.
But isn't this La Platforme?
I also need to request Codestral access separately and I am not sure if the Codestral access is limited.
Yes, it is. That's the way of integrating Mistral technologies in the products, like IDEs
Try it, it's quite fast ๐
I tried, but it doesnt show up in VSCode using continue.dev ๐ญ
Added the Codestral API key
It only shows as an Autocomplete model, though Codestral seems to have compatibility with chat, no?
Yes, it does, you can use it in chat as well. Needs some adjustments in config.json
Here?
It already shows up as a chat, edit and apply AI.
Try changing provider from Mistral to codestral
And use codestral API key
That is what I did
Technically it should work
Wait a second
Cant edit YAML :(
You need to do it manually, by locating it on your system
Dang, what a hassle ๐
Previously it was easier
Before continue.dev changed config format
Okay
So
On my end, I have provider "Mistral"
apiBase set to codestral.mistral.ai/v1
Model: codestral-latest
And Codestral apiKey
For both tabAutocomplete and model in general
So you need to use extra key related to API base
And set it to Codestral endpoint
version: 1.0.0
schema: v1
models:
- name: Codestral
provider: mistral
apiBase: codestral.nistral.ai/v1
model: codestral-latest
apiKey: ${{ inputs.MISTRAL_API_KEY }}
roles:
- autocomplete
- chat
- edit
- apply```
This is what I tried improvising with, I got Codestral visible as a local model
But I still get 401 Invalid URL
Mistral, not nistral xd
:)
Didnt make a difference :(
Did you provided API for codestral or for la platforme?
Codestral
Hm, weird. Try hard-coding API in config, instead of reading from inputs
Tried that :(
Ill see if Le Chat can help
What's worse is that I cannot force continue.dev to make yaml config for me
It makes config.json instead xD
๐
Are you sure your plugin isnt out of date?
I just manually made the yaml file and it uses that instead of config.json apparently
1.0.2, stable
Should be up-to-date yeah
Try with good old config.json
Maybe continue.dev needs issue ticket on GH
No difference, trying to check the error logs.
This is what I get basically
Okay I solved it, you got to have https:// at the beginning of the URL
Thank you KhazAkar for your help! ๐
It is not the Le Chat I wanted necessarily, but Codestral shall do.
Anyways, it would be nice to have Le Chat as well, so I could ask some knowledge questions from it while coding.
Well, le chat is a product, not a service to be useable outside its own interface ๐
Couldn't we argue that so is Claude and ChatGPT?
yes, they are. And they both offer API access, just like Mistral does
Yes sir, so why not Le Chat?
And it is, in form of La Platforme
Yes but thats per-use, not fun :(
just like OpenAI does with API to their own models, and Anthropic
Everyone here have same scheme ๐
You have to pay for Claude and ChatGPT per token if you want to use their models in IDE integration?
Yup
Damn, I didnt know that. Thanks for letting me know! ๐
๐