(session: SessionDep, current_user: CurrentUser,
current_assistant: CurrentAssistant, chat_record_id: int,
action_type: str = Path(...,
description=f"{PLACEHOLDER_PREFIX}analysis_or_predict_action_type"))
| 409 | |
| 410 | @router.post("/record/{chat_record_id}/{action_type}", summary=f"{PLACEHOLDER_PREFIX}analysis_or_predict") |
| 411 | async def analysis_or_predict_question(session: SessionDep, current_user: CurrentUser, |
| 412 | current_assistant: CurrentAssistant, chat_record_id: int, |
| 413 | action_type: str = Path(..., |
| 414 | description=f"{PLACEHOLDER_PREFIX}analysis_or_predict_action_type")): |
| 415 | return await analysis_or_predict(session, current_user, chat_record_id, action_type, current_assistant) |
| 416 | |
| 417 | |
| 418 | async def analysis_or_predict(session: SessionDep, current_user: CurrentUser, chat_record_id: int, action_type: str, |
nothing calls this directly
no test coverage detected