Add codestral for code completion support
What does this MR do and why?
Adds codestral code completion support behind the codestral_code_completion
feature flag
Resolves #470171
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Submit a request to
/api/v4/code_suggestions/completions
with thecodestral_code_completion
feature flag enabled andintent
set tocompletion
. - Output should have
"engine": "codestral",
"name": "text-completion-codestral/codestral",
Edited by Allen Cook