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

Function test_sandbox_principal

crates/openshell-server/src/inference.rs:1015–1023  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1013 }
1014
1015 fn test_sandbox_principal() -> Principal {
1016 Principal::Sandbox(SandboxPrincipal {
1017 sandbox_id: "sandbox-a".to_string(),
1018 source: SandboxIdentitySource::BootstrapJwt {
1019 issuer: "openshell-gateway:test".to_string(),
1020 },
1021 trust_domain: Some("openshell".to_string()),
1022 })
1023 }
1024
1025 fn make_route(name: &str, provider_name: &str, model_id: &str) -> InferenceRoute {
1026 InferenceRoute {

Calls 1

SandboxClass · 0.85

Tested by

no test coverage detected