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
fix(store): correct conversation type field name
Steven Enamakel2886f2ee080d
diff --git a/crates/openhuman-core/src/memory/conversations/store/types.rs b/crates/openhuman-core/src/memory/conversations/store/types.rsindex 61ade781ad..6510c7b356 100644--- a/crates/openhuman-core/src/memory/conversations/store/types.rs+++ b/crates/openhuman-core/src/memory/conversations/store/types.rs@@ -147,6 +147,19 @@ pub fn is_deterministic_message_id(id: &str) -> bool {id.starts_with(DETERMINISTIC_MESSAGE_ID_PREFIX)}+/// The run/request id [`run_reply_message_id`] minted `id` from, or `None`+/// when `id` is not a deterministic reply id (see+/// [`is_deterministic_message_id`]).+///+/// Backs `threads.edit_message` / `threads.regenerate`: an assistant reply's+/// store id is the one place the conversation-store id space and the+/// model-facing transcript's `request_id` space provably correlate, so+/// recovering the run id from the store id is how a UI message id resolves+/// to a transcript cut point.+pub fn reply_run_id(id: &str) -> Option<&str> {+ id.strip_prefix(DETERMINISTIC_MESSAGE_ID_PREFIX)+}+#[cfg(test)]#[path = "types_tests.rs"]mod tests;