Follow-up from "Use Duo Chat for explain code feature"
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Summary
This is a follow-up from !143217 (merged) to pass contentAboveCursor and contentBelowCursor in the GraphQL mutation when using the Explain Code feature. This should put is closer to how explain code works in VSCode.
The following discussion from !143217 (merged) should be addressed:
-
@dmishunov started a discussion: note: The
chataction also acceptscontentAboveCursorandcontentBelowCursoras part of thecurrentFileprop as defined in https://gitlab.com/gitlab-org/gitlab/-/blob/master/ee/app/graphql/types/ai/current_file_input_type.rb. Do we plan on including those as well to have the feature 100% identical to/explainin VSCode?
Edited by 🤖 GitLab Bot 🤖