{"record":{"id":"f8966eafda30e3d0","repo":"zed-industries/zed","slug":"inline-assistant-error","errorCode":null,"errorMessage":"Inline assistant error: {}","messagePattern":"Inline assistant error: (.+?)","errorType":"exception","errorClass":"anyhow::Error","httpStatus":null,"severity":"error","filePath":"crates/agent_ui/src/inline_assistant.rs","lineNumber":1730,"sourceCode":"                            } else {\n                                return;\n                            };\n\n                            if let CodegenStatus::Error(error) = codegen.read(cx).status(cx)\n                                && assist.decorations.is_none()\n                                && let Some(workspace) = assist.workspace.upgrade()\n                            {\n                                #[cfg(any(test, feature = \"test-support\"))]\n                                if let Some(sender) = &mut this._inline_assistant_completions {\n                                    sender\n                                        .unbounded_send(Err(anyhow::anyhow!(\n                                            \"Inline assistant error: {}\",\n                                            error\n                                        )))\n                                        .ok();\n                                }\n\n                                let error = format!(\"Inline assistant error: {}\", error);\n                                workspace.update(cx, |workspace, cx| {\n                                    struct InlineAssistantError;\n\n                                    let id = NotificationId::composite::<InlineAssistantError>(\n                                        assist_id.0,\n                                    );\n\n                                    workspace.show_toast(Toast::new(id, error), cx);\n                                })\n                            } else {\n                                #[cfg(any(test, feature = \"test-support\"))]\n                                if let Some(sender) = &mut this._inline_assistant_completions {\n                                    sender.unbounded_send(Ok(assist_id)).ok();\n                                }\n                            }\n\n                            if assist.decorations.is_none() {\n                                this.finish_assist(assist_id, false, window, cx);","sourceCodeStart":1712,"sourceCodeEnd":1748,"githubUrl":"https://github.com/zed-industries/zed/blob/bc538def4545534201bbfcac4e95ac34ea6501b6/crates/agent_ui/src/inline_assistant.rs#L1712-L1748","documentation":"Error \"Inline assistant error: {}\" thrown in zed-industries/zed.","triggerScenarios":"Thrown at crates/agent_ui/src/inline_assistant.rs:1730 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"}