-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun.py
More file actions
30 lines (26 loc) 路 759 Bytes
/
Copy pathrun.py
File metadata and controls
30 lines (26 loc) 路 759 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/usr/bin/env python3
"""
Logic-Based Routing Engine for Open-Source LLMs
Main entry point for running the application
"""
import uvicorn
import logging
from src.main import app
# Configure logging
logging.basicConfig(
level=logging.INFO,
format='%(asctime)s - %(name)s - %(levelname)s - %(message)s'
)
if __name__ == "__main__":
print("馃殌 Starting Logic-Based Routing Engine for Open-Source LLMs")
print("馃搳 System will be available at: http://localhost:8000")
print("馃摎 API Documentation at: http://localhost:8000/docs")
print("馃敡 Health check at: http://localhost:8000/status")
print()
uvicorn.run(
app,
host="0.0.0.0",
port=8000,
reload=True,
log_level="info"
)