(
payload: BotConfigRequest,
_auth: AuthContext = Depends(require_bot_scope),
)
| 136 | |
| 137 | @router.post("/bots/test") |
| 138 | async def test_bot_by_id( |
| 139 | payload: BotConfigRequest, |
| 140 | _auth: AuthContext = Depends(require_bot_scope), |
| 141 | ): |
| 142 | bot_id = _required_text(payload.bot_id, "bot_id") |
| 143 | return ok({"id": bot_id, "status": "unsupported"}) |
| 144 | |
| 145 | |
| 146 | @router.patch("/bots/{bot_id:path}/enabled") |
nothing calls this directly
no test coverage detected