MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / _api_wiki_ask

Function _api_wiki_ask

deployments/desktop/server.py:367–377  ·  view source on GitHub ↗
(_query_params: Dict[str, Any], body: Dict[str, Any])

Source from the content-addressed store, hash-verified

365 )
366
367
368def _api_wiki_ask(_query_params: Dict[str, Any], body: Dict[str, Any]) -> Dict[str, Any]:
369 return agents.wiki_ask(
370 user_id=str(body.get("user_id") or "").strip(),
371 question=str(body.get("question") or "").strip(),
372 scope=str(body.get("scope") or "all").strip(),
373 limit=int(body.get("limit") or 8),
374 mentions=body.get("mentions") or [],
375 session_id=str(body.get("session_id") or "").strip(),
376 persist_chat=True,
377 response_language=_response_language(body),
378 )
379
380

Callers

nothing calls this directly

Calls 2

_response_languageFunction · 0.85
getMethod · 0.80

Tested by

no test coverage detected