pub fn local_chat_url(input: &str) -> String
Resolve the chat-completions endpoint from any accepted base form.