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

Function grpc_inference_client

crates/openshell-cli/src/tls.rs:447–451  ·  view source on GitHub ↗
(server: &str, tls: &TlsOptions)

Source from the content-addressed store, hash-verified

445}
446
447pub async fn grpc_inference_client(server: &str, tls: &TlsOptions) -> Result<GrpcInferenceClient> {
448 let channel = build_channel(server, tls).await?;
449 let interceptor = interceptor_from_tls(tls)?;
450 Ok(InferenceClient::with_interceptor(channel, interceptor))
451}

Callers 3

gateway_inference_setFunction · 0.85
gateway_inference_updateFunction · 0.85
gateway_inference_getFunction · 0.85

Calls 2

build_channelFunction · 0.85
interceptor_from_tlsFunction · 0.85

Tested by

no test coverage detected