feat: harden public OpenAI API contracts
Quality gate / backend (push) Canceled after 0s
Quality gate / frontend (push) Canceled after 0s

This commit is contained in:
Xin Wang
2026-09-07 14:25:48 +08:00
parent 8025ed8aa0
commit 2649d64b55
36 changed files with 16643 additions and 236 deletions
+18
View File
@@ -0,0 +1,18 @@
"""Run the backend suite with all local-runtime prerequisites configured."""
from __future__ import annotations
import os
import unittest
def main() -> None:
# Must be set before test discovery imports Pipecat and NLTK.
os.environ.setdefault("NLTK_DISABLE_IMPORT_SECURITY", "1")
suite = unittest.defaultTestLoader.discover("tests")
result = unittest.TextTestRunner(verbosity=1).run(suite)
raise SystemExit(0 if result.wasSuccessful() else 1)
if __name__ == "__main__":
main()