Skip to content

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

chore: files changed crates/openhuman-core/src/agent/session_host/runtime_session/memory_ingest.rs,c

Steven Enamakela074bd69f2de
diff --git a/crates/openhuman-core/src/agent/session_host/runtime_session/memory_ingest.rs b/crates/openhuman-core/src/agent/session_host/runtime_session/memory_ingest.rs
index cd86457991..f856d23a77 100644
--- a/crates/openhuman-core/src/agent/session_host/runtime_session/memory_ingest.rs
+++ b/crates/openhuman-core/src/agent/session_host/runtime_session/memory_ingest.rs
@@ -190,7 +190,7 @@ impl OpenHumanTurnPrelude {
identity,
thread_id,
pack,
- in_prompt_from: Arc::new(crate::memory::lifecycle::window::InPromptFrom::new(
+ in_prompt_from: Arc::new(tinymemory_tools::lifecycle::window::InPromptFrom::new(
in_prompt_from,
user_index,
)),
diff --git a/crates/openhuman-core/src/agent/tinyagents/host/run_context_tests.rs b/crates/openhuman-core/src/agent/tinyagents/host/run_context_tests.rs
index 5297652fe2..d8c88c41f1 100644
--- a/crates/openhuman-core/src/agent/tinyagents/host/run_context_tests.rs
+++ b/crates/openhuman-core/src/agent/tinyagents/host/run_context_tests.rs
@@ -702,7 +702,7 @@ fn the_turns_still_in_the_prompt_reach_the_runs_tools() {
thread_id: "thread-long".into(),
pack: None,
in_prompt_from: std::sync::Arc::new(
- crate::memory::lifecycle::window::InPromptFrom::new(12, 20),
+ tinymemory_tools::lifecycle::window::InPromptFrom::new(12, 20),
),
core: None,
},
diff --git a/crates/openhuman-core/src/agent/tinyagents/memory_summarizer_tests.rs b/crates/openhuman-core/src/agent/tinyagents/memory_summarizer_tests.rs
index ef21946809..73270dcffc 100644
--- a/crates/openhuman-core/src/agent/tinyagents/memory_summarizer_tests.rs
+++ b/crates/openhuman-core/src/agent/tinyagents/memory_summarizer_tests.rs
@@ -52,7 +52,7 @@ async fn bound_turn(tmp: &tempfile::TempDir) -> Arc<MemoryTurn> {
identity,
thread_id: "t".into(),
pack: None,
- in_prompt_from: Arc::new(crate::memory::lifecycle::window::InPromptFrom::new(0, 20)),
+ in_prompt_from: Arc::new(tinymemory_tools::lifecycle::window::InPromptFrom::new(0, 20)),
core: None,
})
}
@@ -259,7 +259,7 @@ async fn a_held_memory_engine_does_not_delay_transcript_compaction() {
identity,
thread_id: "held".into(),
pack: None,
- in_prompt_from: Arc::new(crate::memory::lifecycle::window::InPromptFrom::new(0, 20)),
+ in_prompt_from: Arc::new(tinymemory_tools::lifecycle::window::InPromptFrom::new(0, 20)),
core: None,
});
let summarizer = MemoryRecallSummarizer::wrap(Box::new(ConcatSummarizer), Some(turn));
diff --git a/crates/openhuman-core/src/agent/tinyagents/middleware/memory_pack_tests.rs b/crates/openhuman-core/src/agent/tinyagents/middleware/memory_pack_tests.rs
index 31ea47ce4a..8213ade46f 100644
--- a/crates/openhuman-core/src/agent/tinyagents/middleware/memory_pack_tests.rs
+++ b/crates/openhuman-core/src/agent/tinyagents/middleware/memory_pack_tests.rs
@@ -20,7 +20,7 @@ fn context(pack: Option<TurnPack>) -> RunContext<OpenHumanRunContext> {
config: Arc::new(config),
thread_id: "t".into(),
pack,
- in_prompt_from: Arc::new(crate::memory::lifecycle::window::InPromptFrom::new(0, 0)),
+ in_prompt_from: Arc::new(tinymemory_tools::lifecycle::window::InPromptFrom::new(0, 0)),
core: None,
}));
RunContext::new(RunConfig::new("memory-pack-test"), data)
diff --git a/crates/openhuman-core/src/memory/lifecycle/adapter_tests.rs b/crates/openhuman-core/src/memory/lifecycle/adapter_tests.rs
index a9ce1366dd..e2fe312d0c 100644
--- a/crates/openhuman-core/src/memory/lifecycle/adapter_tests.rs
+++ b/crates/openhuman-core/src/memory/lifecycle/adapter_tests.rs
@@ -142,7 +142,9 @@ fn memory_turn_keeps_its_core_context_without_owning_the_core() {
identity,
thread_id: "context-thread".into(),
pack: None,
- in_prompt_from: std::sync::Arc::new(super::super::super::window::InPromptFrom::new(2, 4)),
+ in_prompt_from: std::sync::Arc::new(
+ tinymemory_tools::lifecycle::window::InPromptFrom::new(2, 4),
+ ),
core: Some(weak.clone()),
};