Complete local-first Rig provider migration
This commit is contained in:
@@ -24,6 +24,8 @@ pub mod bedrock;
|
||||
pub(crate) mod bedrock_credentials;
|
||||
pub(crate) mod block_context;
|
||||
pub(crate) mod blocklist;
|
||||
#[cfg(not(target_family = "wasm"))]
|
||||
pub(crate) mod chatgpt_auth;
|
||||
#[cfg(any(feature = "local_fs", not(target_family = "wasm")))]
|
||||
pub(crate) mod codebase_auto_indexing;
|
||||
pub mod control_code_parser;
|
||||
@@ -80,6 +82,8 @@ pub(crate) use ai::paths;
|
||||
pub fn init(app: &mut AppContext) {
|
||||
#[cfg(not(target_family = "wasm"))]
|
||||
app.add_singleton_model(acp::AcpRuntimeModel::new);
|
||||
#[cfg(not(target_family = "wasm"))]
|
||||
app.add_singleton_model(|_| chatgpt_auth::ChatGPTAuthModel::new());
|
||||
blocklist::keyboard_navigable_buttons::init(app);
|
||||
blocklist::block::number_shortcut_buttons::init(app);
|
||||
blocklist::toggleable_items::init(app);
|
||||
|
||||
Reference in New Issue
Block a user