Merge pull request #2350 from zed-industries/copilot-disable
Disable copilot unless the staff mode flag is flipped
This commit is contained in:
parent
423ba0d351
commit
c4b98b8cf1
16 changed files with 129 additions and 33 deletions
|
@ -17,6 +17,7 @@ db = { path = "../db" }
|
|||
gpui = { path = "../gpui" }
|
||||
util = { path = "../util" }
|
||||
rpc = { path = "../rpc" }
|
||||
staff_mode = { path = "../staff_mode" }
|
||||
sum_tree = { path = "../sum_tree" }
|
||||
anyhow = "1.0.38"
|
||||
async-recursion = "0.3"
|
||||
|
|
|
@ -6,9 +6,10 @@ use gpui::{AsyncAppContext, Entity, ImageData, ModelContext, ModelHandle, Task};
|
|||
use postage::{sink::Sink, watch};
|
||||
use rpc::proto::{RequestMessage, UsersResponse};
|
||||
use settings::Settings;
|
||||
use staff_mode::StaffMode;
|
||||
use std::sync::{Arc, Weak};
|
||||
use util::http::HttpClient;
|
||||
use util::{StaffMode, TryFutureExt as _};
|
||||
use util::TryFutureExt as _;
|
||||
|
||||
#[derive(Default, Debug)]
|
||||
pub struct User {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue