pub fn endpoint_model(meta: &MetaMapType) -> Option<String>Expand description
The model a Claude Code agent pointed at a custom server (ANTHROPIC_BASE_URL in its cmd:env that is
not Anthropic’s) asks it for: ANTHROPIC_MODEL, else the alias (sonnet, opus, haiku) the CLI maps to
that tier’s ANTHROPIC_DEFAULT_*_MODEL. None where the agent is not on a custom server, or names no model.