(request: Request)
| 126 | |
| 127 | @app.post("/worker_get_status") |
| 128 | async def api_get_status(request: Request): |
| 129 | return { |
| 130 | "model_names": [m for w in workers for m in w.model_names], |
| 131 | "speed": 1, |
| 132 | "queue_length": sum([w.get_queue_length() for w in workers]), |
| 133 | } |
| 134 | |
| 135 | |
| 136 | @app.post("/count_token") |
nothing calls this directly
no test coverage detected
searching dependent graphs…