Skip to content

Add Claude 3 support for code suggestions

Allen Cook requested to merge acook/claude-3-code-generation into master

What does this MR do and why?

Adds Anthropic claude 3 support for code suggestions

Resolves #444405 (closed)

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

  1. Make sure you have the latest model gateway installed locally
  2. Enable the claude_3_code_generation_opus, claude_3_code_generation_sonnet or claude_3_code_generation_haiku feature flags, depending on which model you want to use for code generation
  3. Submit a standard code generation request
  4. The reply should have the appropriate model in the result as model.name
Edited by Allen Cook

Merge request reports