• erio's avatar
    feat(upstream): passthrough all client headers instead of manual header setting · 1563bd3d
    erio authored
    Replace manual header setting (Content-Type, anthropic-version, anthropic-beta)
    with full client header passthrough in ForwardUpstream/ForwardUpstreamGemini.
    Only authentication headers (Authorization, x-api-key) are overridden with
    upstream account credentials. Hop-by-hop headers are excluded.
    
    Add unit tests covering header passthrough, auth override, and hop-by-hop filtering.
    1563bd3d
antigravity_gateway_service.go 124 KB