fix: added fix for harmess agent

Merged
SI
21d ago
+12-4

Summary by cubic

Fixes the harness agent's image gate so requests are authenticated with the real API key instead of the placeholder bearer token the harness sends.

  • The image gate now receives the API key and replaces the outgoing Authorization header with Bearer <api_key>.
  • When no API key is provided, the original Authorization header is left untouched.

Summary by CodeRabbit

  • New Features
    • Requests forwarded through the image gate now use the hosted endpoint’s API key for authorization when one is provided. If no API key is provided, existing authorization headers are preserved.