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(import): restore legacy tool calls when decoding old sessions
Steven Enamakel2ad75acd0942
diff --git a/crates/openhuman-core/src/storage/import/sessions.rs b/crates/openhuman-core/src/storage/import/sessions.rsindex 223a5dcc3d..dc15a78427 100644--- a/crates/openhuman-core/src/storage/import/sessions.rs+++ b/crates/openhuman-core/src/storage/import/sessions.rs@@ -397,6 +397,13 @@ fn decode_display_message(message.parts = None;if row_version < TYPED_ROW_VERSION {message = message.normalized();+ // Before typed rows, call declarations lived in the legacy+ // `tool_calls` field and must be projected back onto the message+ // so the paired tool result can be resumed. Keep the copy in+ // TurnUsage below as well for usage and display projections.+ if message.tool_calls.is_empty() {+ message.tool_calls = usage_tool_calls.clone();+ }}}if message.role.is_empty() {