gpui: Don't export named Context
from prelude (#21869)
This PR updates the `gpui::prelude` to not export the `Context` trait named. This prevents some naming clashes in downstream consumers. Release Notes: - N/A
This commit is contained in:
parent
b3ffbea376
commit
937186da12
11 changed files with 12 additions and 31 deletions
|
@ -3,9 +3,8 @@ use crate::{
|
|||
LanguageModelProviderState,
|
||||
};
|
||||
use collections::BTreeMap;
|
||||
use gpui::{AppContext, EventEmitter, Global, Model, ModelContext};
|
||||
use gpui::{prelude::*, AppContext, EventEmitter, Global, Model, ModelContext};
|
||||
use std::sync::Arc;
|
||||
use ui::Context;
|
||||
|
||||
pub fn init(cx: &mut AppContext) {
|
||||
let registry = cx.new_model(|_cx| LanguageModelRegistry::default());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue