zed-industries/zed · error · anyhow::Error
Inline assistant error: {}
Error message
Inline assistant error: {} What it means
Error "Inline assistant error: {}" thrown in zed-industries/zed.
Source
Thrown at crates/agent_ui/src/inline_assistant.rs:1730
} else {
return;
};
if let CodegenStatus::Error(error) = codegen.read(cx).status(cx)
&& assist.decorations.is_none()
&& let Some(workspace) = assist.workspace.upgrade()
{
#[cfg(any(test, feature = "test-support"))]
if let Some(sender) = &mut this._inline_assistant_completions {
sender
.unbounded_send(Err(anyhow::anyhow!(
"Inline assistant error: {}",
error
)))
.ok();
}
let error = format!("Inline assistant error: {}", error);
workspace.update(cx, |workspace, cx| {
struct InlineAssistantError;
let id = NotificationId::composite::<InlineAssistantError>(
assist_id.0,
);
workspace.show_toast(Toast::new(id, error), cx);
})
} else {
#[cfg(any(test, feature = "test-support"))]
if let Some(sender) = &mut this._inline_assistant_completions {
sender.unbounded_send(Ok(assist_id)).ok();
}
}
if assist.decorations.is_none() {
this.finish_assist(assist_id, false, window, cx);View on GitHub (pinned to bc538def45)
When it happens
Trigger: Thrown at crates/agent_ui/src/inline_assistant.rs:1730 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/f8966eafda30e3d0.
Report an issue: GitHub.