MCPcopy Create free account
hub / github.com/NVIDIA/NeMo-Relay / component_namespace

Function component_namespace

crates/core/src/plugin.rs:1336–1342  ·  view source on GitHub ↗
(kind: &str, ordinal: usize, total: usize)

Source from the content-addressed store, hash-verified

1334}
1335
1336fn component_namespace(kind: &str, ordinal: usize, total: usize) -> String {
1337 if total > 1 {
1338 format!("__nemo_relay_plugin__{kind}__{ordinal}__")
1339 } else {
1340 format!("__nemo_relay_plugin__{kind}__")
1341 }
1342}
1343
1344fn validate_plugin_multiplicity(report: &mut ConfigReport, config: &PluginConfig) {
1345 let totals = plugin_component_totals(config);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected