(
session_id: str,
auth: AuthContext = Depends(require_chat_scope),
service: ChatService = Depends(get_service),
)
| 171 | |
| 172 | @router.post("/chat/sessions/{session_id}/stop") |
| 173 | async def stop_chat_session( |
| 174 | session_id: str, |
| 175 | auth: AuthContext = Depends(require_chat_scope), |
| 176 | service: ChatService = Depends(get_service), |
| 177 | ): |
| 178 | return await _run(lambda: service.stop_session(auth.username, session_id)) |
| 179 | |
| 180 | |
| 181 | @router.patch("/chat/sessions/{session_id}/messages/{message_id}") |
nothing calls this directly
no test coverage detected