Skip to content

Add codestral for code completion support

Allen Cook requested to merge acook/codestral_code_completion_support into master

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.

  1. Submit a request to /api/v4/code_suggestions/completions with the codestral_code_completion feature flag enabled and intent set to completion.
  2. Output should have
    "engine": "codestral",
    "name": "text-completion-codestral/codestral",
Edited by Allen Cook

Merge request reports

Loading