mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-30 22:34:13 +00:00
assistant: Enable assistant panel/inline assists in ssh remote projects (#18367)
Release Notes: - ssh remoting: Enable assistant panel and inline assists (running on client)
This commit is contained in:
parent
21a023980d
commit
4b4565fb7a
1 changed files with 2 additions and 1 deletions
|
@ -960,7 +960,8 @@ impl AssistantPanel {
|
|||
}
|
||||
|
||||
fn new_context(&mut self, cx: &mut ViewContext<Self>) -> Option<View<ContextEditor>> {
|
||||
if self.project.read(cx).is_via_collab() {
|
||||
let project = self.project.read(cx);
|
||||
if project.is_via_collab() && project.dev_server_project_id().is_none() {
|
||||
let task = self
|
||||
.context_store
|
||||
.update(cx, |store, cx| store.create_remote_context(cx));
|
||||
|
|
Loading…
Reference in a new issue