pub fn is_anthropic_url(url: &str) -> bool
Whether url (a ANTHROPIC_BASE_URL value) is Anthropic’s own API: the one place a person’s Claude sign-in may go. Anything else, a LAN server, a proxy or another vendor, is not.
url
ANTHROPIC_BASE_URL