fix: added fix for harmess agent
Merged
SI
21d ago+12+12+01234567890123456789-4-4-0123456789
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
Authorizationheader withBearer <api_key>. - When no API key is provided, the original
Authorizationheader 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.