Skip to main content

remote_inference_allowed

Function remote_inference_allowed 

Source
pub fn remote_inference_allowed(config: &Config) -> bool
Expand description

Remote-model policy (P0, docs/SECURITY.md): repository-derived content may leave the machine only when inference.enabled AND security.allow_remote_models are both true. Loopback providers need only inference.enabled. Fails closed.