Enable assistant on stable
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
parent
0d0c71e215
commit
2cb4616609
2 changed files with 7 additions and 19 deletions
|
@ -39,7 +39,7 @@ use std::{
|
|||
time::Duration,
|
||||
};
|
||||
use theme::AssistantStyle;
|
||||
use util::{channel::ReleaseChannel, paths::CONVERSATIONS_DIR, post_inc, ResultExt, TryFutureExt};
|
||||
use util::{paths::CONVERSATIONS_DIR, post_inc, ResultExt, TryFutureExt};
|
||||
use workspace::{
|
||||
dock::{DockPosition, Panel},
|
||||
searchable::Direction,
|
||||
|
@ -62,12 +62,6 @@ actions!(
|
|||
);
|
||||
|
||||
pub fn init(cx: &mut AppContext) {
|
||||
if *util::channel::RELEASE_CHANNEL == ReleaseChannel::Stable {
|
||||
cx.update_default_global::<collections::CommandPaletteFilter, _, _>(move |filter, _cx| {
|
||||
filter.filtered_namespaces.insert("assistant");
|
||||
});
|
||||
}
|
||||
|
||||
settings::register::<AssistantSettings>(cx);
|
||||
cx.add_action(
|
||||
|this: &mut AssistantPanel,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue