refactor(chat-api): allow external resourceId for duo api calls
Description
A slight refactor of the sendAiAction
and processNewUserPrompt
methods to make them more future-proof.
Addresses this non-blocking comment.
Related Issues
Resolves #1382
How has this been tested?
Follow the test instructions here: !1601 (merged)
Screenshots (if appropriate)
What CHANGELOG entry will this MR create?
-
fix:
Bug fix fixes - a user-facing issue in production - included in changelog -
feature:
New feature - a user-facing change which adds functionality - included in changelog -
BREAKING CHANGE:
(fix or feature that would cause existing functionality to change) - should bump major version, mentioned in the changelog -
None - other non-user-facing changes
Edited by Tristan Read