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

Function clear_chat_sessions

deployments/desktop/shared/agents.py:4930–4933  ·  view source on GitHub ↗
(user_id: str)

Source from the content-addressed store, hash-verified

4928 normalized_scope = str(scope or "all").strip().lower()
4929 scope_hint = _wiki_scope_hint(normalized_scope, language)
4930 resolved_nodes, resolved_mentions, unresolved_mentions = _resolve_wiki_mentions(
4931 user_id,
4932 cleaned_question,
4933 mentions,
4934 limit=6,
4935 )
4936 mode, routing_reason = _question_route(cleaned_question, normalized_scope, resolved_mentions)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected