Skip to content

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

fix(web_chat): remove redundant empty string and message arguments

Steven Enamakelf04d8b7d5c8d
diff --git a/crates/openhuman-core/src/web_chat/ops/system_turn.rs b/crates/openhuman-core/src/web_chat/ops/system_turn.rs
index 287fb9f52d..edaaf5d0b4 100644
--- a/crates/openhuman-core/src/web_chat/ops/system_turn.rs
+++ b/crates/openhuman-core/src/web_chat/ops/system_turn.rs
@@ -62,7 +62,6 @@ pub async fn run_system_turn_on_thread(
None,
None,
CheckoutPolicy::AdoptCached,
- "",
)
.await
.map_err(|error| format!("{SESSION_CHECKOUT_FAILURE}{error}"))?;
diff --git a/crates/openhuman-core/src/web_chat/run_task.rs b/crates/openhuman-core/src/web_chat/run_task.rs
index 23af36607d..0d0bf91031 100644
--- a/crates/openhuman-core/src/web_chat/run_task.rs
+++ b/crates/openhuman-core/src/web_chat/run_task.rs
@@ -114,7 +114,6 @@ pub(crate) async fn run_chat_task(
} else {
CheckoutPolicy::Exact
},
- message,
)
.await?;