Files
vzlet-razreshen/game/worker.py
T
2026-11-23 23:55:37 +07:00

15 lines
245 B
Python

from fastapi import FastAPI
from .strategy import decide
app = FastAPI(docs_url=None, redoc_url=None)
@app.get("/health")
def health():
return {"ready": True}
@app.post("/decide")
def evaluate(payload: dict):
return decide(payload)