Files
magpie/internal
yetone f2412fd599 gateway: the Claude Code and Codex header tests expect another agent's own User-Agent
abe7b0063 (v0.1.3237) made a key+URL provider receive the agent's own
User-Agent by default. Two tests still asserted that a non-Claude-Code
or non-Codex agent ("opencode/1.0") reaches the relay as magpie/..., so
internal/gateway was red in the full suite on mote at abe7b0063. They
now assert the agent's own UA. They still check that none of Claude
Code's or Codex's own headers is copied.

Run (mote): go test -run
'TestClaudeCodeHeadersReachAnthropicRelay|TestCodexHeadersReachKeyedRelay'
./internal/gateway: ok. The full ./... run at abe7b0063 had no other red
(87 packages ok).

Reported-by: nb5p on Discord
2026-11-07 18:40:57 +08:00
..
…
…
…
…
…