{"record":{"id":"47107e2da0aabfe1","repo":"zed-industries/zed","slug":"logout-is-not-supported-by-this-agent","errorCode":null,"errorMessage":"Logout is not supported by this agent.","messagePattern":"Logout is not supported by this agent\\.","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"crates/agent_servers/src/acp.rs","lineNumber":1940,"sourceCode":"    }\n\n    fn authenticate(&self, method_id: acp::AuthMethodId, cx: &mut App) -> Task<Result<()>> {\n        let conn = self.connection.clone();\n        cx.foreground_executor().spawn(async move {\n            conn.send_request(acp::AuthenticateRequest::new(method_id))\n                .block_task()\n                .await?;\n            Ok(())\n        })\n    }\n\n    fn supports_logout(&self) -> bool {\n        self.agent_capabilities.auth.logout.is_some()\n    }\n\n    fn logout(&self, cx: &mut App) -> Task<Result<()>> {\n        if !self.supports_logout() {\n            return Task::ready(Err(anyhow!(\"Logout is not supported by this agent.\")));\n        }\n\n        let conn = self.connection.clone();\n        cx.foreground_executor().spawn(async move {\n            conn.send_request(acp::LogoutRequest::new())\n                .block_task()\n                .await?;\n            Ok(())\n        })\n    }\n\n    fn prompt(\n        &self,\n        params: acp::PromptRequest,\n        cx: &mut App,\n    ) -> Task<Result<acp::PromptResponse>> {\n        let conn = self.connection.clone();\n        let sessions = self.sessions.clone();","sourceCodeStart":1922,"sourceCodeEnd":1958,"githubUrl":"https://github.com/zed-industries/zed/blob/bc538def4545534201bbfcac4e95ac34ea6501b6/crates/agent_servers/src/acp.rs#L1922-L1958","documentation":"Error \"Logout is not supported by this agent.\" thrown in zed-industries/zed.","triggerScenarios":"Thrown at crates/agent_servers/src/acp.rs:1940 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"bc538def4545534201bbfcac4e95ac34ea6501b6","analyzedAt":"2026-08-16T07:30:46.435Z","schemaVersion":2},"datasetVersion":"2026-08-16T08:17:34.114Z"}