Skip to content

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

refactor(core): simplify embedding host settings and session import

Steven Enamakel4de324ea95c9
diff --git a/crates/openhuman-core/src/inference/embedding_host/rpc/settings.rs b/crates/openhuman-core/src/inference/embedding_host/rpc/settings.rs
index d52c940120..48a69af08b 100644
--- a/crates/openhuman-core/src/inference/embedding_host/rpc/settings.rs
+++ b/crates/openhuman-core/src/inference/embedding_host/rpc/settings.rs
@@ -262,7 +262,7 @@ pub async fn update_settings(
let api_key = resolve_api_key(&config, "custom");
let probe = tokio::time::timeout(
std::time::Duration::from_secs(10),
- probe_custom_embeddings(endpoint, &api_key, &new_model, new_dims),
+ probe_custom_embeddings(&endpoint, &api_key, &new_model, new_dims),
)
.await;
{
diff --git a/crates/openhuman-core/src/storage/import/sessions.rs b/crates/openhuman-core/src/storage/import/sessions.rs
index f320444154..80db3cc052 100644
--- a/crates/openhuman-core/src/storage/import/sessions.rs
+++ b/crates/openhuman-core/src/storage/import/sessions.rs
@@ -100,7 +100,6 @@ fn import(backend: &Arc<dyn StorageBackend>, config: &Config) -> Result<Outcome>
report.members,
report.tasks,
report.tool_effects,
- report.entries,
] {
found += counts.read;
written += counts.imported;