(query_params: Dict[str, Any], _body: Dict[str, Any])
| 160 | return agents.wiki_stats(_required_user(query_params)) |
| 161 | |
| 162 | |
| 163 | def _api_wiki_search(query_params: Dict[str, Any], _body: Dict[str, Any]) -> Dict[str, Any]: |
| 164 | return agents.wiki_search( |
| 165 | _required_user(query_params), |
| 166 | query=str(query_params.get("q") or ""), |
| 167 | node_type=str(query_params.get("type") or "").strip() or None, |
| 168 | limit=int(query_params.get("limit") or 12), |
| 169 | ) |
| 170 | |
| 171 |
nothing calls this directly
no test coverage detected