Duo Chat Sub-Feature Expansion – Iteration 1
#### **Summary** Currently, Duo Code Suggestions are expanded into their supported sub-features (Code Generation and Code Completion), allowing users to configure models for each. However, Duo Chat remains a single configurable feature without sub-feature expansion, limiting users to assigning only one model for all chat-related capabilities. To improve control over Duo Chat’s functionalities, we are introducing a **sub-feature expansion**, enabling users to configure multiple specific sub-features within Duo Chat. #### **Scope** We will introduce a controlled subset of configurable options within Duo Chat. The following sub-features will be available for individual configuration: - **Explain Code** (`/explain`) - **Write Tests** (`/test`) - **Refactor Code** (`/refactor`) - **Fix Code** (`/fix`) - **Troubleshoot** (`/troubleshoot`) These sub-features will be selectable within the UI and configurable independently. #### **Goals & Considerations** - Provide users with **granular control** over key Duo Chat sub-features. - Ensure **seamless configuration** of multiple sub-features within the UI. - Maintain a **manageable scope** by focusing on critical code-related functionalities. #### **Definition of Done** - [x] Users can configure multiple sub-features from the provided list. - [x] The UI supports selection and configuration of multiple sub-features. - [x] Backend logic properly recognizes and applies configured settings. - [x] Testing (unit and user validation) ensures stability and correctness.
epic