pub fn validate_kimi_code_api_model_id(
provider: ProviderKind,
base_url: &str,
model: &str,
) -> Result<(), String>Expand description
Fail closed on known-bad model/endpoint pairings (#4687).
Canonical endpoints reject k3[1m] and known membership/direct cross-pairings.
Unknown IDs and custom Moonshot-compatible gateways remain pass-through.