diff --git a/kong/llm/drivers/shared.lua b/kong/llm/drivers/shared.lua index 57a923145f35..0b9cdcf3ab35 100644 --- a/kong/llm/drivers/shared.lua +++ b/kong/llm/drivers/shared.lua @@ -518,6 +518,9 @@ function _M.post_request(conf, response_object) end -- Update context with changed values + request_analytics_plugin[log_entry_keys.PAYLOAD_CONTAINER] = { + [log_entry_keys.RESPONSE_BODY] = body_string, + } request_analytics[plugin_name] = request_analytics_plugin kong.ctx.shared.analytics = request_analytics