Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

chore: files changed src/core/jsonrpc.rs

Steven Enamakeldd584ef19cdc
diff --git a/src/core/jsonrpc.rs b/src/core/jsonrpc.rs
index 2df27b67bb..32b55c68b3 100644
--- a/src/core/jsonrpc.rs
+++ b/src/core/jsonrpc.rs
@@ -1965,7 +1965,7 @@ fn group_first_time(group: crate::core::all::DomainGroup) -> bool {
group_first_time_when_bus_ready(
DONE.get_or_init(|| Mutex::new(HashSet::new())),
group,
- crate::core::event_bus::global().is_some(),
+ crate::core::bus::BUS.get().is_some(),
)
}
@@ -1995,7 +1995,7 @@ fn learning_first_time() -> bool {
static DONE: std::sync::OnceLock<std::sync::Mutex<bool>> = std::sync::OnceLock::new();
learning_first_time_when_bus_ready(
DONE.get_or_init(|| std::sync::Mutex::new(false)),
- crate::core::event_bus::global().is_some(),
+ crate::core::bus::BUS.get().is_some(),
)
}