fix: don't hardcode preview

This commit is contained in:
Luca Beurer-Kellner
2025-04-04 10:38:14 +02:00
parent c4dd3f3b19
commit 6b6f33bde6

View File

@@ -65,7 +65,6 @@ def create_annotations_from_guardrails_errors(
def get_explorer_api_url() -> str:
return "https://preview-explorer.invariantlabs.ai"
return os.getenv("INVARIANT_API_URL", DEFAULT_API_URL)