Skip to content

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

chore(human): reorder import and update voice-entry comment

Steven Enamakel848e2c4c4f91
diff --git a/app/src/features/human/HumanPage.tsx b/app/src/features/human/HumanPage.tsx
index e9e694cd7c..5edad0b04f 100644
--- a/app/src/features/human/HumanPage.tsx
+++ b/app/src/features/human/HumanPage.tsx
@@ -72,12 +72,10 @@ const HumanPage = () => {
[mascotColor, customSecondary, palette]
);
- // Which voice control the tab offers. Build-flag driven (#5399). In the
- // single-control modes the realtime button takes the slot the push-to-talk mic
- // used to own, so the tab has one voice affordance rather than two competing
- // ones. `both` keeps them apart instead of stacking them — the realtime button
- // floats over the mascot stage where it used to live, the card keeps
- // tap-and-speak — so the two paths stay visually distinct while being compared.
+ // Which voice control the tab offers. Build-flag driven (#5399). With the
+ // chat rail removed there is nowhere left for the two paths to sit side by
+ // side, so `realtime` and `both` now render the same single icon toggle and
+ // only `push-to-talk` differs (see the render comment below).
const voiceEntry = resolveHumanVoiceEntry({
realtimeEnabled: HUMAN_VOICE_REALTIME_ENABLED,
showBoth: HUMAN_VOICE_SHOW_BOTH,
diff --git a/app/src/features/human/RealtimeVoiceControls.tsx b/app/src/features/human/RealtimeVoiceControls.tsx
index 497e7932aa..4d8e1cf928 100644
--- a/app/src/features/human/RealtimeVoiceControls.tsx
+++ b/app/src/features/human/RealtimeVoiceControls.tsx
@@ -1,6 +1,6 @@
import { ConversationProvider } from '@elevenlabs/react';
-import { LuMic, LuSquare } from 'react-icons/lu';
import { type RefObject, useEffect } from 'react';
+import { LuMic, LuSquare } from 'react-icons/lu';
import Button from '../../components/ui/Button';
import { useT } from '../../lib/i18n/I18nContext';