Skip to content

Add ExplainTool to GitLab Chat & add authorization check

George Koltsov requested to merge georgekoltsov/update-explain-code-tool into master

What does this MR do and why?

In !122785 (merged) ExplainCode tool was added for the LLM Agent toolkit. This tool wasn't added to be used in Gitlab Chat, which was an oversight. This MR also adds Authorizer check for the tool in order to only perform the task if context is authorized.

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.

Merge request reports