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

Function custom_provider_profiles

crates/openshell-server/src/grpc/provider.rs:1569–1575  ·  view source on GitHub ↗
(store: &Store)

Source from the content-addressed store, hash-verified

1567}
1568
1569async fn custom_provider_profiles(store: &Store) -> Result<Vec<StoredProviderProfile>, Status> {
1570 let profiles: Vec<StoredProviderProfile> = store
1571 .list_messages(10_000, 0)
1572 .await
1573 .map_err(|e| Status::internal(format!("list provider profiles failed: {e}")))?;
1574 Ok(profiles)
1575}
1576
1577fn normalize_profile_id_request(id: &str) -> Result<String, Status> {
1578 if id.trim().is_empty() {

Callers 1

merged_provider_profilesFunction · 0.85

Calls 1

list_messagesMethod · 0.80

Tested by

no test coverage detected