Skip to content

Accept current_file for chat requests

Jan Provaznik requested to merge jp-tasks-api into master

What does this MR do and why?

Adds optional current_file parameter which will be used for passing additional context about source file being worked with (gitlab-vscode-extension#1084 (closed))

current_file is only added to GitlabContext, but not used yet in the code - will be used in the next step by tools which support slash commands (POC - !135578 (diffs)).

Related to #429911 (closed)

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.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Jan Provaznik

Merge request reports