Skip to content

Add changes to accommodate slash commands unit primitives

Gosia Ksionek requested to merge mk-duo-ent-for-slash-commands into master

What does this MR do and why?

When using new slash commands, we need to specify the unit primitive/endpoint this slash command requires.

We need to check it in Web UI, but also we need to pass it to AI Gateway for second verification.

This MR adds this mechanism to chat codebase. it just requires to override unit_primitive method in slash command tool class.

AI GW counterpart MR: gitlab-org/modelops/applied-ml/code-suggestions/ai-assist!973 (merged)

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

Numbered steps to set up and validate the change are strongly suggested.

Merge request reports