MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / connect_inference

Function connect_inference

crates/openshell-core/src/grpc_client.rs:556–559  ·  view source on GitHub ↗

Connect to the inference service.

(endpoint: &str)

Source from the content-addressed store, hash-verified

554
555/// Connect to the inference service.
556async fn connect_inference(endpoint: &str) -> Result<InferenceClient<AuthedChannel>> {
557 let channel = connect_channel(endpoint).await?;
558 Ok(InferenceClient::new(channel))
559}
560
561/// Fetch sandbox policy from `OpenShell` server via gRPC.
562///

Callers 1

fetch_inference_bundleFunction · 0.85

Calls 1

connect_channelFunction · 0.85

Tested by

no test coverage detected