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

Function component_kind

crates/core/src/plugin.rs:981–983  ·  view source on GitHub ↗
(component: &Json)

Source from the content-addressed store, hash-verified

979}
980
981fn component_kind(component: &Json) -> Option<&str> {
982 component.get("kind").and_then(Json::as_str)
983}
984
985/// Like `merge_json_value`, but concatenates a `pricing` component's `config.sources`
986/// (higher-precedence first) instead of replacing them, so lower-precedence fallback sources survive.

Callers 2

merge_plugin_componentsFunction · 0.85

Calls 1

getMethod · 0.80

Tested by

no test coverage detected