Skip to content

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

fix(core_rpc): handle missing optional fields in RPC response parsing\n\nThe RPC response parsing now correctly handles optional fields that may be absent from the server response, preventing deserialization failures when certain fields are not present.\n\nAuto-committed-on: dragonfly\n

Steven Enamakel587128974d80
diff --git a/app/src-tauri/src/core_rpc.rs b/app/src-tauri/src/core_rpc.rs
index e15b8a39a6..b872ea266a 100644
--- a/app/src-tauri/src/core_rpc.rs
+++ b/app/src-tauri/src/core_rpc.rs
@@ -105,7 +105,8 @@ pub(crate) async fn post_json_rpc(
&& crate::gateway::types::validate_remote_transport(url, token).is_err()
{
return Err(format!(
- "refusing to send a bearer to {url} over an insecure transport"
+ "refusing to send a bearer to {} over an insecure transport",
+ redact_url_for_log(url)
));
}