zed-industries/zed · error
Logout is not supported by this agent.
Error message
Logout is not supported by this agent.
What it means
Error "Logout is not supported by this agent." thrown in zed-industries/zed.
Source
Thrown at crates/agent_servers/src/acp.rs:1940
}
fn authenticate(&self, method_id: acp::AuthMethodId, cx: &mut App) -> Task<Result<()>> {
let conn = self.connection.clone();
cx.foreground_executor().spawn(async move {
conn.send_request(acp::AuthenticateRequest::new(method_id))
.block_task()
.await?;
Ok(())
})
}
fn supports_logout(&self) -> bool {
self.agent_capabilities.auth.logout.is_some()
}
fn logout(&self, cx: &mut App) -> Task<Result<()>> {
if !self.supports_logout() {
return Task::ready(Err(anyhow!("Logout is not supported by this agent.")));
}
let conn = self.connection.clone();
cx.foreground_executor().spawn(async move {
conn.send_request(acp::LogoutRequest::new())
.block_task()
.await?;
Ok(())
})
}
fn prompt(
&self,
params: acp::PromptRequest,
cx: &mut App,
) -> Task<Result<acp::PromptResponse>> {
let conn = self.connection.clone();
let sessions = self.sessions.clone();View on GitHub (pinned to bc538def45)
When it happens
Trigger: Thrown at crates/agent_servers/src/acp.rs:1940 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of zed-industries/zed@bc538def45 (2026-08-16).
Data as JSON: /api/errors/47107e2da0aabfe1.
Report an issue: GitHub.