Skip to main content

evaluate

Method
This is a method of the LifecycleCommandGuardPolicy class in the protocols module.
Return a :class:LifecycleCommandDecision for command.

Signature

Parameters

str
required
The resolved command / scheduled-job command string (may also carry appended script text — every segment is scanned).

Returns

LifecycleCommandDecision
An allow decision when the command is benign, or a deny decision naming the offending fragment when it would stop / restart / kill this gateway.

Uses

  • LifecycleCommandDecision

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 5135

Evaluation Concept

LLM as Judge

Evaluation Loop