Skip to content

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

fix(agent): address review findings on #7081

Steven Enamakelcfe62914966c
diff --git a/app/src/components/assistant-ui/elements/task-card.tsx b/app/src/components/assistant-ui/elements/task-card.tsx
index f350e98e6d..69739824c6 100644
--- a/app/src/components/assistant-ui/elements/task-card.tsx
+++ b/app/src/components/assistant-ui/elements/task-card.tsx
@@ -11,6 +11,7 @@
* caller-supplied prop.
*/
import { cn } from '@/components/assistant-ui/lib/utils';
+import { useT } from '@/lib/i18n/I18nContext';
import {
AlertTriangleIcon,
Ban,
@@ -19,7 +20,6 @@ import {
Loader2Icon,
XIcon,
} from 'lucide-react';
-import { useT } from '@/lib/i18n/I18nContext';
import { Children, type ComponentProps, type ReactNode, useState } from 'react';
import { mono, paper } from './surfaces';
diff --git a/crates/openhuman-core/src/agent/tinyagents/turn_policy.rs b/crates/openhuman-core/src/agent/tinyagents/turn_policy.rs
index e94ed9e2d8..32096d3995 100644
--- a/crates/openhuman-core/src/agent/tinyagents/turn_policy.rs
+++ b/crates/openhuman-core/src/agent/tinyagents/turn_policy.rs
@@ -151,7 +151,8 @@ pub(super) fn apply_stream_limits(
) {
limits.stream_idle_timeout_ms = parse_stream_idle_timeout_ms(idle);
limits.stream_first_event_timeout_ms = parse_stream_first_event_timeout_ms(first_event);
- limits.max_consecutive_stream_idle_timeouts = parse_max_consecutive_stream_idle_timeouts(breaker);
+ limits.max_consecutive_stream_idle_timeouts =
+ parse_max_consecutive_stream_idle_timeouts(breaker);
}
fn env_str(name: &str) -> Option<String> {