Skip to content

Log prompt when performing request to AI gateway

Lesley Razzaghian requested to merge log_ai_gateway_request_prompt into master

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

image

How to set up and validate locally

  1. Enable LLM logging

  2. Perform a request to Duo Chat such as "summarize this issue"

  3. Note that the prompt is logged in the "Performing request to AI Gateway" section

Edited by Lesley Razzaghian

Merge request reports