diff --git a/crates/cm-api/src/subscription.rs b/crates/cm-api/src/subscription.rs index 0bfa4ee..65104cd 100644 --- a/crates/cm-api/src/subscription.rs +++ b/crates/cm-api/src/subscription.rs @@ -529,6 +529,15 @@ mod tests { if path.ends_with("subscription.rs") { continue; } + // The LLM proxy never ORIGINATES a model call: it relays a mission + // container's own Claude Code request byte for byte and swaps in + // the credential. Routing it through `complete_or` would re-build + // (and could re-route) what the agent asked for. Credential choice + // for relayed calls is `llm_proxy::upstream`, and it reads the same + // env and auth mode (`runtime_auth_mode`) as everything else. + if path.ends_with("llm_proxy.rs") { + continue; + } let src = std::fs::read_to_string(&path).expect("readable source"); for needle in ["api.anthropic.com", "\"x-api-key\""] { assert!(