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(ops): reformat PushoverTool instantiation and clean up whitespace
Steven Enamakelf6400a630338
diff --git a/app/src/components/settings/panels/VoicePanel.tsx b/app/src/components/settings/panels/VoicePanel.tsxindex 925cbb164e..03c13a5514 100644--- a/app/src/components/settings/panels/VoicePanel.tsx+++ b/app/src/components/settings/panels/VoicePanel.tsx@@ -379,7 +379,6 @@ const VoicePanel = ({ embedded = false, scrollable = true }: VoicePanelProps = {// gender, and locale-default toggle all live in `mascotSlice`; this// panel only handles Piper / dictation now.-// Piper is user-supplied: OpenHuman never downloads the binary or its// voices. Readiness is whatever `voice_status` resolves — a `piper` binary// (PATH or PIPER_BIN) plus the selected voice's .onnx file. After the userdiff --git a/app/src/components/settings/panels/__tests__/VoicePanel.test.tsx b/app/src/components/settings/panels/__tests__/VoicePanel.test.tsxindex 85dba43f06..6e8d9d2e55 100644--- a/app/src/components/settings/panels/__tests__/VoicePanel.test.tsx+++ b/app/src/components/settings/panels/__tests__/VoicePanel.test.tsx@@ -658,7 +658,9 @@ describe('VoicePanel', () => {await waitFor(() =>expect(vi.mocked(openhumanVoiceStatus).mock.calls.length).toBeGreaterThan(callsBefore));- await waitFor(() => expect(screen.getByTestId('voice-piper-status')).toHaveTextContent(/^Piper found$/));+ await waitFor(() =>+ expect(screen.getByTestId('voice-piper-status')).toHaveTextContent(/^Piper found$/)+ );expect(screen.getByRole('button', { name: /^Enable$/i })).not.toBeDisabled();});diff --git a/crates/openhuman-core/src/tools/ops.rs b/crates/openhuman-core/src/tools/ops.rsindex d8f13f9c6e..d173964cbf 100644--- a/crates/openhuman-core/src/tools/ops.rs+++ b/crates/openhuman-core/src/tools/ops.rs@@ -466,7 +466,10 @@ pub fn all_tools_with_runtime(Box::new(ReadDiffTool::new(action_dir.to_path_buf())),Box::new(RunLinterTool::new(action_dir.to_path_buf())),Box::new(RunTestsTool::new(action_dir.to_path_buf())),- Box::new(PushoverTool::new(security.clone(), action_dir.to_path_buf())),+ Box::new(PushoverTool::new(+ security.clone(),+ action_dir.to_path_buf(),+ )),// Audio-toolkit podcast tools — gated with the `voice` feature (they// live in the `audio_toolkit` domain, which is compiled out when voice// is disabled).