Log prompt when performing request to AI gateway
What does this MR do and why?
This MR adds prompt logging to requests to the AI gateway to allow for better debugging of Duo Chat problems.
Note: this is in compliance with the AI logging policy.
MR acceptance checklist
Screenshots or screen recordings
How to set up and validate locally
-
Enable LLM logging
-
Perform a request to Duo Chat such as "summarize this issue"
-
Note that the prompt is logged in the "Performing request to AI Gateway" section
Edited by Lesley Razzaghian