Skip to content

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

fix(integrations): handle missing task source store on startup

Steven Enamakel9e3ffd937aae
diff --git a/src/openhuman/integrations/task_sources/store.rs b/src/openhuman/integrations/task_sources/store.rs
index 5da95cd2f4..928ca5993d 100644
--- a/src/openhuman/integrations/task_sources/store.rs
+++ b/src/openhuman/integrations/task_sources/store.rs
@@ -672,7 +672,7 @@ fn with_connection<T>(config: &Config, f: impl FnOnce(&Connection) -> Result<T>)
conn.execute_batch("PRAGMA foreign_keys = ON;")
.context("Failed to set task_sources DB connection pragmas")?;
- ensure_schema_initialized(&conn, &db_path)?;
+ ensure_schema_initialized(&mut conn, &db_path)?;
f(&conn)
}