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(tests): remove unused StubMemory and auto_save from e2e tests
Steven Enamakelbd23ddc615d7
diff --git a/tests/agent_harness_e2e.rs b/tests/agent_harness_e2e.rsindex 5cac5e7f9a..98a0e2b923 100644--- a/tests/agent_harness_e2e.rs+++ b/tests/agent_harness_e2e.rs@@ -2347,7 +2347,6 @@ mod streaming_support {.agent_definition(stream_definition()).config(config).context_config(ContextConfig::default())- .auto_save(true).explicit_preferences_enabled(false).build().unwrap()diff --git a/tests/in_process/calendar_grounding_e2e.rs b/tests/in_process/calendar_grounding_e2e.rsindex 0dc76b490d..0452118bee 100644--- a/tests/in_process/calendar_grounding_e2e.rs+++ b/tests/in_process/calendar_grounding_e2e.rs@@ -119,7 +119,6 @@ async fn test_orchestrator_has_current_date_context() -> Result<()> {.tools(vec![Box::new(MockCalendarTool)]).tool_dispatcher(Box::new(NativeDialect)).agent_definition_name("orchestrator")- .memory(Arc::new(StubMemory)).workspace_dir(workspace.path().to_path_buf()).build()?;@@ -181,7 +180,6 @@ async fn test_subagent_has_current_date_context() -> Result<()> {temperature: 0.4,workspace_dir: std::env::temp_dir(),workspace_descriptor: None,- memory: Arc::new(StubMemory),agent_config: openhuman_core::config::AgentConfig::default(),workflows: Arc::new(vec![]),memory_context: Arc::new(None),@@ -237,53 +235,3 @@ async fn test_subagent_has_current_date_context() -> Result<()> {Ok(())}--struct StubMemory;--#[async_trait]-impl openhuman_core::memory::Memory for StubMemory {- async fn store(- &self,- _: &str,- _: &str,- _: &str,- _: openhuman_core::memory::MemoryCategory,- _: Option<&str>,- ) -> Result<()> {- Ok(())- }- async fn recall(- &self,- _: &str,- _: usize,- _: openhuman_core::memory::RecallOpts<'_>,- ) -> Result<Vec<openhuman_core::memory::MemoryEntry>> {- Ok(vec![])- }- async fn get(&self, _: &str, _: &str) -> Result<Option<openhuman_core::memory::MemoryEntry>> {- Ok(None)- }- async fn list(- &self,- _: Option<&str>,- _: Option<&openhuman_core::memory::MemoryCategory>,- _: Option<&str>,- ) -> Result<Vec<openhuman_core::memory::MemoryEntry>> {- Ok(vec![])- }- async fn forget(&self, _: &str, _: &str) -> Result<bool> {- Ok(true)- }- async fn namespace_summaries(&self) -> Result<Vec<openhuman_core::memory::NamespaceSummary>> {- Ok(vec![])- }- async fn count(&self) -> Result<usize> {- Ok(0)- }- async fn health_check(&self) -> bool {- true- }- fn name(&self) -> &str {- "stub"- }-}