Refactor SecureCode AI and implement unit test generator

This commit is contained in:
Mohamed Salah
2025-10-27 16:14:25 +03:00
parent 0f74c215df
commit b3b1293d6c
28 changed files with 94 additions and 1373 deletions

View File

@@ -0,0 +1,17 @@
#!/usr/bin/env python3
import os
from dotenv import load_dotenv
from app import launch
load_dotenv()
if __name__ == "__main__":
api_key = os.getenv("OPENROUTER_API_KEY")
if not api_key:
print("Error: OPENROUTER_API_KEY not set in .env")
exit(1)
print("Starting Unit Test Generator...")
print("Open http://localhost:7860 in your browser")
launch()