diff --git a/gateway/integrations/explorer.py b/gateway/integrations/explorer.py index eeed533..3ba9f86 100644 --- a/gateway/integrations/explorer.py +++ b/gateway/integrations/explorer.py @@ -50,7 +50,6 @@ def create_annotations_from_guardrails_errors( address=r, extra_metadata={ "source": "guardrails-error", - "guardrail-action": action, # if included in error, also include the source of the guardrail **( {"guardrail_content": error.get("guardrail_content")} diff --git a/client.py b/tests/test-client.py similarity index 89% rename from client.py rename to tests/test-client.py index cb7bec7..388e453 100644 --- a/client.py +++ b/tests/test-client.py @@ -1,3 +1,7 @@ +""" +Simple (non-streaming) test client for the Gateway (uses OpenAI integration). +""" + from openai import OpenAI from httpx import Client import os