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(events): handle probe tool test failure in conversation events
Steven Enamakel57b97217200b
diff --git a/app/src/features/conversations/tools/__probe.test.ts b/app/src/features/conversations/tools/__probe.test.tsnew file mode 100644index 0000000000..d4a7b9e931--- /dev/null+++ b/app/src/features/conversations/tools/__probe.test.ts@@ -0,0 +1,16 @@+import { describe, expect, it } from 'vitest';++import { describeToolCall, toolLabel } from './toolPresentation';++describe('probe', () => {+ it('prints labels', () => {+ const a = describeToolCall({+ name: 'stock_quote',+ args: JSON.stringify({ symbol: 'AAPL' }),+ status: 'success',+ serverLabel: 'Stock quote',+ serverDetail: 'AAPL',+ });+ expect({ a: JSON.stringify(a), aLabel: toolLabel(a) }).toBe(false);+ });+});diff --git a/crates/openhuman-core/src/core/events.rs b/crates/openhuman-core/src/core/events.rsindex 3780051033..813fc71b55 100644--- a/crates/openhuman-core/src/core/events.rs+++ b/crates/openhuman-core/src/core/events.rs@@ -1601,7 +1601,9 @@ impl DomainEvent {| Self::TaskSourceTaskIngested { .. }| Self::TaskSourceFetchFailed { .. } => "task_sources",- Self::ThreadGoalUpdated { .. } | Self::ThreadGoalCleared { .. } => "agent",+ Self::ThreadGoalUpdated { .. }+ | Self::ThreadGoalCleared { .. }+ | Self::ThreadTodosChanged { .. } => "agent",Self::SubconsciousTriggerProcessed { .. } => "subconscious",