Skip to main content

chat_root_for_rpc

Function chat_root_for_rpc 

Source
pub fn chat_root_for_rpc(
    workspace_path: Option<&str>,
) -> Result<PathBuf, ExecutorError>
Expand description

Resolve chat root for session/transcript/memory RPC. When workspace_path is None: use chat_root() (SKILLLITE_WORKSPACE/chat or ~/.skilllite/chat). When provided: treat as data root and return path/chat. If path already ends with “chat”, use as-is.