Try to use exact provider-model profile for autocompletion if such exists#5658
Try to use exact provider-model profile for autocompletion if such exists#5658wkordalski wants to merge 1 commit into
Conversation
|
|
Hi! Recently we made the decision to start working hard on a ground-up rebuild of this extension using the new Kilo CLI as the backend. Because of this we made the decision to start temporarily limiting the size and type of features we're still accepting into the current extension. If you think this functionality is still important could please add a feature request or submit a PR to the new repository? Regardless, we really appreciate the effort you made. Please reach out to me on Discord (Kevin) with the email address you used to sign up for Kilo so I can grant you some credits! |
Context
I've created two profiles: Mistral's devstral and Mistral's codestral (for autocompletion).
And autocompletion stopped working.
Logs revealed
401 Unauthorizederror.It turned out that KiloCode selected the devstral profile for autocompletion (the first Mistral's profile)
and used the API key from the profile (for
api.mistral.aiendpoint) with thecodestral.mistral.aiendpoint.codestral.mistral.aiendpoint is default endpoint for autocompletion with Mistral provider if the user does not set anotherendpoint in profile settings. But, as the profile is related to devstral (not codestral) model, user does not have such option.
Of course
codestral.mistral.aiendpoint with API key forapi.mistral.aisimply does not work.Implementation
I've added a lookup for profile with exact provider-model match before falling back to "any profile of looked-up provider".
Screenshots
How to Test
Get in Touch
My discord handle is
wkordalski