The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
style: reformat tokenjuice config block and reorder module declarations
Steven Enamakeldea40bc7d798
diff --git a/crates/openhuman-core/src/inference/tokenjuice/mod.rs b/crates/openhuman-core/src/inference/tokenjuice/mod.rsindex bb91674dc9..dc373cdf21 100644--- a/crates/openhuman-core/src/inference/tokenjuice/mod.rs+++ b/crates/openhuman-core/src/inference/tokenjuice/mod.rs@@ -269,13 +269,14 @@ pub async fn compact_tool_output(call: ToolOutputCompaction<'_>) -> CompactedToo#[cfg(test)]// Only the config loaded from disk is replaced: a caller-supplied one is// what the test is asking about.- let config = if runtime_config.is_none() && crate::modules::local_artifact("tinyjuice").is_some() {- // The released-module regression must not inherit an operator's- // persisted compression thresholds or disabled router flags.- std::sync::Arc::new(crate::config::Config::default())- } else {- config- };+ let config =+ if runtime_config.is_none() && crate::modules::local_artifact("tinyjuice").is_some() {+ // The released-module regression must not inherit an operator's+ // persisted compression thresholds or disabled router flags.+ std::sync::Arc::new(crate::config::Config::default())+ } else {+ config+ };if let Err(error) = install_from_config(&config).await {log::debug!("[tokenjuice] module configuration failed, passing through: {error}");return CompactedToolOutput::passthrough(content, wants_summary);diff --git a/crates/openhuman-core/src/modules/mod.rs b/crates/openhuman-core/src/modules/mod.rsindex 54d2a2959c..404c1a1079 100644--- a/crates/openhuman-core/src/modules/mod.rs+++ b/crates/openhuman-core/src/modules/mod.rs@@ -79,11 +79,11 @@ pub mod linked;#[cfg(feature = "modules")]pub mod ops;pub mod registry;-mod source;#[cfg(feature = "modules")]pub mod schemas;#[cfg(feature = "modules")]pub mod search;+mod source;#[cfg(feature = "modules")]pub mod tinybox;#[cfg(feature = "modules")]