| 1234567891011121314151617181920212223 |
- """Start the SupplyAgent API on port 8080."""
- from __future__ import annotations
- import logging
- import uvicorn
- def main() -> None:
- logging.basicConfig(
- level=logging.INFO,
- format="%(asctime)s [%(levelname)s] %(name)s: %(message)s",
- )
- uvicorn.run(
- "api.app:app",
- host="0.0.0.0",
- port=8080,
- reload=False,
- )
- if __name__ == "__main__":
- main()
|