INNER CODE UNIT · Rust

resume_session

xuzhougeng/wisp-science · crates/wisp-acp/src/lib.rs:325

    pub async fn resume_session(
        &self,
        session_id: SessionId,
        cwd: impl AsRef<Path>,
        mcp_servers: Vec<McpServer>,
    ) -> Result<AcpSessionState, AcpError> {
        self.request(|reply| {
            Command::Resume(session_id, cwd.as_ref().to_path_buf(), mcp_servers, reply)
        })
        .await
    }

    pub async fn prompt_text(
        &self,
        session_id: SessionId,
        prompt: impl Into<String>,
    ) -> Result<AcpPromptOutcome, AcpError> {
        self.prompt(

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…