Skip to content

DRY Completion factory

Alejandro Rodríguez requested to merge dry-completion-factory into master

What does this MR do and why?

This refactor prepares the code for the addition of the Duo Chat REST API on !133015 (merged), so as to not repeat the common steps that will be used by both the API and the completion worker, namely:

  • Resource and extra resource finding and authorization to user
  • Building of AI Message

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