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
chore(cron): fix duplicate visibility modifier and format signatures
Steven Enamakelbdae08e9c912
diff --git a/crates/openhuman-core/src/cron/schemas/handlers.rs b/crates/openhuman-core/src/cron/schemas/handlers.rsindex 60e5ebcce9..775d2abb8d 100644--- a/crates/openhuman-core/src/cron/schemas/handlers.rs+++ b/crates/openhuman-core/src/cron/schemas/handlers.rs@@ -179,7 +179,10 @@ pub(super) fn handle_runs(ctx: DispatchCtx, params: Map<String, Value>) -> Contr})}-pub(super) fn read_required<T: DeserializeOwned>(params: &Map<String, Value>, key: &str) -> Result<T, String> {+pub(super) fn read_required<T: DeserializeOwned>(+ params: &Map<String, Value>,+ key: &str,+) -> Result<T, String> {let value = params.get(key).cloned()@@ -209,7 +212,7 @@ fn to_json<T: serde::Serialize>(outcome: Outcome<T>) -> Result<Value, String> {outcome.into_cli_compatible_json()}-pub(super) pub(super) fn type_name(value: &Value) -> &'static str {+pub(super) fn type_name(value: &Value) -> &'static str {match value {Value::Null => "null",Value::Bool(_) => "bool",diff --git a/crates/openhuman-core/src/flows/schemas/handlers/draft.rs b/crates/openhuman-core/src/flows/schemas/handlers/draft.rsindex a6a245a234..e04eea1acd 100644--- a/crates/openhuman-core/src/flows/schemas/handlers/draft.rs+++ b/crates/openhuman-core/src/flows/schemas/handlers/draft.rs@@ -88,7 +88,10 @@ pub(super) fn handle_draft_promote(})}-pub(super) fn read_required<T: DeserializeOwned>(params: &Map<String, Value>, key: &str) -> Result<T, String> {+pub(super) fn read_required<T: DeserializeOwned>(+ params: &Map<String, Value>,+ key: &str,+) -> Result<T, String> {let value = params.get(key).cloned()