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(credentials): simplify api key preservation logic
Steven Enamakela457131d499e
diff --git a/crates/openhuman-core/src/security/credentials/ops/credential.rs b/crates/openhuman-core/src/security/credentials/ops/credential.rsindex 207f0e288b..1aefc5f8ba 100644--- a/crates/openhuman-core/src/security/credentials/ops/credential.rs+++ b/crates/openhuman-core/src/security/credentials/ops/credential.rs@@ -377,11 +377,8 @@ pub async fn clear_credential(effective_config = reload_config_or(config).await?;if let Some(key) = api_key_to_preserve.as_deref() {if !api_key::has_api_key(&effective_config) {- api_key::store_api_key(&effective_config, key)- .map_err(|e| e.to_string())?;- logs.push(- "api key carried forward to the signed-out workspace".to_string(),- );+ api_key::store_api_key(&effective_config, key).map_err(|e| e.to_string())?;+ logs.push("api key carried forward to the signed-out workspace".to_string());}}}