zed-industries/zed · error · anyhow::Error

copilot hasn't started yet

Error message

copilot hasn't started yet

What it means

Error "copilot hasn't started yet" thrown in zed-industries/zed.

Source

Thrown at crates/copilot/src/copilot.rs:814

                                    Err(Arc::new(error))
                                }
                            })?
                        })
                        .shared();
                    server.sign_in_status = SignInStatus::SigningIn {
                        prompt: None,
                        task: task.clone(),
                    };
                    cx.notify();
                    task
                }
            };

            cx.background_spawn(task.map_err(|err| anyhow!("{err:?}")))
        } else {
            // If we're downloading, wait until download is finished
            // If we're in a stuck state, display to the user
            Task::ready(Err(anyhow!("copilot hasn't started yet")))
        }
    }

    pub fn sign_out(&mut self, cx: &mut Context<Self>) -> Task<Result<()>> {
        self.update_sign_in_status(request::SignInStatus::NotSignedIn, cx);
        match &self.server {
            CopilotServer::Running(RunningCopilotServer { lsp: server, .. }) => {
                let request_timeout = ProjectSettings::get_global(cx)
                    .global_lsp_settings
                    .get_request_timeout();

                let server = server.clone();
                cx.background_spawn(async move {
                    server
                        .request::<request::SignOut>(request::SignOutParams {}, request_timeout)
                        .await
                        .into_response()
                        .context("copilot: sign in confirm")?;

View on GitHub (pinned to bc538def45)

When it happens

Trigger: Thrown at crates/copilot/src/copilot.rs:814 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/f5f842e703a09bf3. Report an issue: GitHub.