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:
Marshall Bowers 2024-12-11 13:21:40 -05:00 committed by GitHub
parent b3ffbea376
commit 937186da12
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 12 additions and 31 deletions

View file

@ -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());