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

Function agent_guidance

crates/openshell-supervisor-network/src/policy_local.rs:256–258  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

254/// Build the optional natural-language guidance embedded in L7 deny bodies.
255#[must_use]
256pub fn agent_guidance() -> Option<&'static str> {
257 openshell_core::proposals::agent_proposals_enabled().then_some(AGENT_GUIDANCE)
258}
259
260async fn current_policy_response(ctx: &PolicyLocalContext) -> (u16, serde_json::Value) {
261 let Some(policy) = ctx.current_policy.read().await.clone() else {

Calls 1

agent_proposals_enabledFunction · 0.85