Resolve "Support code block syntax for code generation"
What does this MR do and why?
Support block comments for extracting instructions to support code generation
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
- Submit code with block comment generation instructions appropriate to the language you are testing to the code completions API
api/v4/code_suggestions/completions
- Note that the model name that comes back is a generation model (i.e.
claude-2
orcode-bison
)
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #426107 (closed)
Edited by Allen Cook