Skip to content

Forward User-Agent header to model gateway

What does this MR do and why?

  • Ensures that the User-Agent header is forwarded from the end-user in calls to /api/v4/code_suggestions/completions.
  • Previously, HTTParty would overwrite it with its own User Agent before sending the request.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #419659 (closed)

Merge request reports