Function scope_deregister_llm_conditional_execution_guardrail

View as Markdown

Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi.

pub fn scope_deregister_llm_conditional_execution_guardrail(
    scope_uuid: &Uuid,
    name: &str,
) -> Result<bool>

Deregister a scope-local LLM conditional-execution guardrail.

Parameters

  • scope_uuid: UUID of the active scope that owns the middleware.
  • name: Scope-local middleware name to remove.

Returns

A Result containing true when a guardrail was removed and false when the name was not registered on that scope.

Errors

Returns FlowError::NotFound when the scope is not active or an internal error if the runtime owner check fails.