Skip to content

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

fix(threads): pin tinyagents with the SQLite conversation append fix

M3gA-Mind3ca4dc84f2f5
diff --git a/crates/openhuman-core/src/threads/ops/crud_message_append_tests.rs b/crates/openhuman-core/src/threads/ops/crud_message_append_tests.rs
index 1aa0bff783..6390b16884 100644
--- a/crates/openhuman-core/src/threads/ops/crud_message_append_tests.rs
+++ b/crates/openhuman-core/src/threads/ops/crud_message_append_tests.rs
@@ -384,3 +384,48 @@ async fn an_image_is_refused_when_images_are_disabled() {
assert!(error.to_string().contains("count exceeds"), "{error}");
assert!(no_messages(&config).await);
}
+
+/// A message appends on the backend production opens by default (SQLite),
+/// not only on the in-memory test default. SQLite advertises conditional
+/// stream appends on its stream port alone, and TinyAgents once checked the
+/// document port for it, refusing every append with "unsupported capability
+/// conditional_stream_append".
+#[cfg(feature = "storage-sqlite")]
+#[tokio::test]
+async fn a_message_appends_on_a_sqlite_workspace() {
+ let temp = tempfile::tempdir().unwrap();
+ let mut config = crate::config::Config::default();
+ config.workspace_dir = temp.path().join("internal");
+ config.action_dir = temp.path().join("acting");
+ std::fs::create_dir_all(&config.workspace_dir).unwrap();
+ crate::storage::local::use_persistent_default_for_test(&config.workspace_dir);
+ conversations::blocking::ensure_thread(
+ crate::core::runtime::DispatchCtx::ambient(),
+ config.workspace_dir.clone(),
+ conversations::CreateConversationThread {
+ id: "uploads".into(),
+ title: "Uploads".into(),
+ created_at: "2026-10-04T00:00:00Z".into(),
+ parent_thread_id: None,
+ labels: None,
+ personality_id: None,
+ working_dir: None,
+ },
+ )
+ .await
+ .unwrap();
+ let plain = AppendConversationMessageRequest {
+ thread_id: "uploads".into(),
+ message: ConversationMessageRecord {
+ id: "m1".into(),
+ content: "hello".into(),
+ message_type: "text".into(),
+ extra_metadata: json!({}),
+ sender: "agent".into(),
+ created_at: "2026-10-04T00:00:00Z".into(),
+ },
+ };
+ append_with_test_config(plain, &config, None)
+ .await
+ .expect("a message appends on a SQLite-backed workspace");
+}
diff --git a/vendor/tinyagents b/vendor/tinyagents
index 1f24dbece9..540997da52 160000
--- a/vendor/tinyagents
+++ b/vendor/tinyagents
@@ -1 +1 @@
-Subproject commit 1f24dbece99f24fd4363efa4489f87dcfe2b02fb
+Subproject commit 540997da5274d0f12c38870d4be1af1a20494eab