Ensure we use the new agent when opening the panel for the first time (#36988)
Release Notes: - N/A
This commit is contained in:
@@ -618,6 +618,10 @@ impl AgentPanel {
|
||||
}
|
||||
cx.notify();
|
||||
});
|
||||
} else {
|
||||
panel.update(cx, |panel, cx| {
|
||||
panel.new_agent_thread(AgentType::NativeAgent, window, cx);
|
||||
});
|
||||
}
|
||||
panel
|
||||
})?;
|
||||
|
||||
Reference in New Issue
Block a user