Log request parameters to Ai Action GraphQL mutation when `expanded_ai_logging` feature flag is enabled

Problem

When something went wrong in self-managed GitLab instances like the chat command encounters an error, we currently have no idea what request parameters are sent to the GraphQL AiAction mutation. This is important information that the GitLab VSCode extension correctly sends valid parameters to the old GitLab versions, because the extension typically focuses on the latest master and version.

This is necessary for debugging a customer issue https://gitlab.com/groups/gitlab-org/-/epics/15893#note_2233952839

Proposal

Log request parameters to Ai Action GraphQL mutation when expanded_ai_logging feature flag is enabled.

Edited by Shinya Maeda