vigiles API reference
    Preparing search index...

    Function outputContains

    • Does the agent's final answer (trace.output) contain needle (string = substring, RegExp = test)? The output predicate behind assertOutputContains — the DeepEval-style "what did the agent actually say" check.

      Parameters

      • trace: Trace
      • needle: string | RegExp

      Returns boolean