Skip to main content

endpoint_value_problem

Function endpoint_value_problem 

Source
pub fn endpoint_value_problem(name: &str, value: &str) -> Option<String>
Expand description

Why value is not acceptable for the endpoint variable name, if it is not. A server address is plain http(s)://host[:port][/path]: no sign-in in it, no query, no fragment. A key is a reference to a Vault entry (vault:<id>; whether the agent may use that entry is the caller’s to check) or one of a few placeholder words for a server that ignores it (Ollama’s “ollama”); a real secret is never stored in the environment, where every agent that can read it would see it. The rest are numbers and model names.