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

Function create_chat_session

deployments/desktop/shared/agents.py:4918–4921  ·  view source on GitHub ↗
(user_id: str, title: str = "")

Source from the content-addressed store, hash-verified

4916 mentions: Any = None,
4917 session_id: str = "",
4918 persist_chat: bool = False,
4919 response_language: str = "zh",
4920) -> Dict[str, Any]:
4921 if not user_id:
4922 raise ValueError("user_id is required")
4923 cleaned_question = str(question or "").strip()
4924 if not cleaned_question:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected