Update app.py
Browse files
app.py
CHANGED
|
@@ -618,7 +618,7 @@ async def check_translation_status(req: StatusRequest):
|
|
| 618 |
# بازگشت همان ساختاری که GET /api/status/{request_id} میدهد
|
| 619 |
return await check_status(req.request_id)
|
| 620 |
|
| 621 |
-
@app.get("/
|
| 622 |
async def orchestrator_status():
|
| 623 |
available_workers = sum(1 for w in orchestrator.workers.values() if w.available)
|
| 624 |
total_workers = len(orchestrator.workers)
|
|
|
|
| 618 |
# بازگشت همان ساختاری که GET /api/status/{request_id} میدهد
|
| 619 |
return await check_status(req.request_id)
|
| 620 |
|
| 621 |
+
@app.get("/status")
|
| 622 |
async def orchestrator_status():
|
| 623 |
available_workers = sum(1 for w in orchestrator.workers.values() if w.available)
|
| 624 |
total_workers = len(orchestrator.workers)
|