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
fix(tinymemes): spawn research through spawn_scoped; add tinymemes to the app lockfile
killbillcd08d59adcfd
diff --git a/crates/openhuman-app/Cargo.lock b/crates/openhuman-app/Cargo.lockindex 27ee3deead..ff2417f49c 100644--- a/crates/openhuman-app/Cargo.lock+++ b/crates/openhuman-app/Cargo.lock@@ -4490,6 +4490,7 @@ dependencies = ["tinyjuice-bus","tinymcp","tinymcp-bus",+ "tinymemes","tinymemory-api","tinymemory-integrations","tinymemory-tools",@@ -7287,7 +7288,6 @@ version = "2.1.3"dependencies = ["async-trait","serde",- "tinytools",][[package]]@@ -7811,6 +7811,20 @@ dependencies = ["url",]+[[package]]+name = "tinyinference-decisions"+version = "0.3.0"+source = "git+https://github.com/tinyhumansai/tinyinference?rev=fdffc2a454af2b04e5052eb38dd3add8a6db1b85#fdffc2a454af2b04e5052eb38dd3add8a6db1b85"+dependencies = [+ "async-trait",+ "httpdate",+ "reqwest 0.12.28",+ "serde",+ "serde_json",+ "thiserror 2.0.20",+ "tokio",+]+[[package]]name = "tinyinference-embeddings"version = "0.3.0"@@ -8026,6 +8040,21 @@ dependencies = ["serde_json",]+[[package]]+name = "tinymemes"+version = "0.1.0"+dependencies = [+ "async-trait",+ "futures",+ "reqwest 0.12.28",+ "serde",+ "serde_json",+ "thiserror 2.0.20",+ "tinyinference-decisions",+ "tokio",+ "tracing",+]+[[package]]name = "tinymemory-api"version = "1.25.0"diff --git a/crates/openhuman-core/src/tinymemes/mod.rs b/crates/openhuman-core/src/tinymemes/mod.rsindex bf153a948d..f6e2250a23 100644--- a/crates/openhuman-core/src/tinymemes/mod.rs+++ b/crates/openhuman-core/src/tinymemes/mod.rs@@ -105,7 +105,7 @@ pub(crate) async fn remix_final_reply(let intent = reading.reply_intent;let reply = reply.to_owned();let request_id = request_id.to_owned();- tokio::spawn(async move {+ crate::core::runtime::spawn_scoped(async move {match host.engine.learn_for_reply(intent, &reply).await {Ok(Some(r)) => log::info!("[tinymemes] slang research request_id={request_id} added={} \@@ -134,7 +134,7 @@ pub(crate) async fn remix_final_reply(let request_id = request_id.to_owned();// Only a short, generic meme concept derived from this is searched.let moment = user_message.to_owned();- tokio::spawn(async move {+ crate::core::runtime::spawn_scoped(async move {match host.engine.learn_memes(intent, &moment).await {Ok(Some(r)) => log::info!("[tinymemes] meme research request_id={request_id} query={:?} found={} \