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

Function custom_profile

crates/openshell-server/src/grpc/provider.rs:3001–3014  ·  view source on GitHub ↗
(id: &str)

Source from the content-addressed store, hash-verified

2999 }
3000
3001 fn custom_profile(id: &str) -> ProviderProfile {
3002 ProviderProfile {
3003 id: id.to_string(),
3004 resource_version: 0,
3005 display_name: format!("{id} Profile"),
3006 description: String::new(),
3007 category: ProviderProfileCategory::Other as i32,
3008 credentials: Vec::new(),
3009 endpoints: Vec::new(),
3010 binaries: Vec::new(),
3011 inference_capable: false,
3012 discovery: None,
3013 }
3014 }
3015
3016 fn custom_profile_with_invalid_endpoint(id: &str) -> ProviderProfile {
3017 let mut profile = custom_profile(id);

Calls

no outgoing calls

Tested by

no test coverage detected