Back to Agno

Validation run 2026-02-15T00:42:44

cookbook/03_teams/18_guardrails/TEST_LOG.md

2.6.44.0 KB
Original Source

Validation run 2026-02-15T00:42:44

Pattern Check

Status: PASS Notes: Passed.

OpenAIChat references

  • TEST_LOG.md

prompt_injection.py

Status: PASS

Description: Cookbook execution attempt

Result: Prompt Injection Guardrails Demo

[TEST 1] Normal request

DEBUG ************** Team ID: guardrails-demo-team ***************
DEBUG ***** Session ID: 589ac4b6-9f7f-4c29-89fc-4b7512d8c5f5 *****
DEBUG Creating new TeamSession: 589ac4b6-9f7f-4c29-89fc-4b7512d8c5f5
DEBUG *** Team Run Start: 77ff35d0-c09e-44ea-b8b9-08905e352ff4 ***
DEBUG ------------------ OpenAI Response Start -------------------
DEBUG ---------------------- Model: gpt-5.2 ----------------------
DEBUG ========================== system ==========================
DEBUG <description>
A team that tells jokes and provides helpful information.
</description>

  You are a friendly assistant that tells jokes and provides helpful        
  information. Always maintain a positive and helpful tone.                 

DEBUG =


pii_detection.py

Status: PASS

Description: Cookbook execution attempt

Result: PII Detection Guardrails Demo

[TEST 1] Normal request without PII

DEBUG ************* Team ID: privacy-protected-team **************
DEBUG ***** Session ID: 88e51c37-33f7-491c-9518-16f41bf83adc *****
DEBUG Creating new TeamSession: 88e51c37-33f7-491c-9518-16f41bf83adc
DEBUG *** Team Run Start: 384267e8-dc73-45a4-865d-7af21cd29a91 ***
DEBUG ------------------ OpenAI Response Start -------------------
DEBUG ---------------------- Model: gpt-5.2 ----------------------
DEBUG ========================== system ==========================
DEBUG <description>
A team that helps with customer service while protecting privacy.
</description>

  You are a helpful customer service assistant. Always protect user privacy 
  and handle sensitive information appropriately.                          

openai_moderation.py

Status: PASS

Description: Cookbook execution attempt

Result: OpenAI Moderation Guardrails Demo

[TEST 1] Normal request without policy violations

DEBUG ************** Team ID: basic-moderated-team ***************
DEBUG ***** Session ID: 12cb86c4-d42d-4149-950d-1cfa34e43a79 *****
DEBUG *** Team Run Start: 4ff4626f-caa9-4404-a7b8-b5f47a44f103 ***
DEBUG Creating new TeamSession: 12cb86c4-d42d-4149-950d-1cfa34e43a79
DEBUG Moderating content using omni-moderation-latest
DEBUG --------------- OpenAI Async Response Start ----------------
DEBUG ---------------------- Model: gpt-5.2 ----------------------
DEBUG ========================== system ==========================
DEBUG <description>
A team with basic OpenAI content moderation.
</description>

  You are a helpful assistant that pr