Skip to content

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

fix(threads): handle missing cache entry in transcript view

Steven Enamakel0d0b33555f94
diff --git a/crates/openhuman-core/src/threads/transcript_view/cache.rs b/crates/openhuman-core/src/threads/transcript_view/cache.rs
index d1dcbfd418..426b7d2b05 100644
--- a/crates/openhuman-core/src/threads/transcript_view/cache.rs
+++ b/crates/openhuman-core/src/threads/transcript_view/cache.rs
@@ -99,6 +99,7 @@ impl TranscriptViewCache {
thread_id,
&root_paths,
&sub_paths,
+ Some(workspace_dir),
));
let mut inner = self.inner.lock().ok()?;
diff --git a/crates/openhuman-core/src/web_chat/presentation_test_support_tests.rs b/crates/openhuman-core/src/web_chat/presentation_test_support_tests.rs
index 134e6f8457..c61a98860c 100644
--- a/crates/openhuman-core/src/web_chat/presentation_test_support_tests.rs
+++ b/crates/openhuman-core/src/web_chat/presentation_test_support_tests.rs
@@ -52,6 +52,7 @@ pub async fn deliver_response_in_workspace_for_test(
citations,
None,
workspace_dir,
+ None,
)
.await;
}