(_query_params: Dict[str, Any], body: Dict[str, Any])
| 323 | ) |
| 324 | |
| 325 | |
| 326 | def _api_read_arxiv(_query_params: Dict[str, Any], body: Dict[str, Any]) -> Dict[str, Any]: |
| 327 | user_id = str(body.get("user_id") or "").strip() |
| 328 | if not user_id: |
| 329 | raise ValueError("user_id is required") |
| 330 | return agents.read_arxiv( |
| 331 | user_id=user_id, |
| 332 | arxiv_id=str(body.get("arxiv_id") or "").strip(), |
| 333 | write_feishu=body.get("write_feishu"), |
| 334 | response_language=_response_language(body), |
| 335 | ) |
| 336 | |
| 337 |
nothing calls this directly
no test coverage detected