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

Function delete_chat_session

deployments/desktop/shared/agents.py:4924–4927  ·  view source on GitHub ↗
(user_id: str, session_id: str)

Source from the content-addressed store, hash-verified

4922 raise ValueError("user_id is required")
4923 cleaned_question = str(question or "").strip()
4924 if not cleaned_question:
4925 raise ValueError("question is required")
4926 language = _normalize_response_language(response_language)
4927 safe_limit = max(1, min(12, int(limit or 8)))
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(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected