First
org.llm4s.agent.guardrails.ValidationMode.First
case object First extends ValidationMode
Returns on first result (success or failure).
Useful for expensive guardrails where order matters and you want to avoid running all checks.
Example: Check cheap validation first, then expensive API call only if needed
Attributes
- Graph
-
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait ValidationModeclass Objecttrait Matchableclass Any
- Self type
-
First.type
Members list
In this article