Skip to content

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

fix(settings): correct voice connection panel to use embeddings model section

Steven Enamakel0c4f6db7b23c
diff --git a/app/src/components/settings/panels/EmbeddingsModelSection.tsx b/app/src/components/settings/panels/EmbeddingsModelSection.tsx
index 527a4c89bb..1e0142db47 100644
--- a/app/src/components/settings/panels/EmbeddingsModelSection.tsx
+++ b/app/src/components/settings/panels/EmbeddingsModelSection.tsx
@@ -38,6 +38,23 @@ const EmbeddingsModelSection = ({
return (
<Card title={t('settings.embeddings.modelCardTitle')}>
+ {/* A single choice is shown as a fact, not a one-option dropdown. */}
+ {currentModels.length === 1 && (
+ <Field
+ label={t('settings.embeddings.model')}
+ control={
+ <span className="font-mono text-xs text-content">
+ {currentModels[0].label} ({currentModels[0].id})
+ </span>
+ }
+ />
+ )}
+ {allowedDims.length <= 1 && (
+ <Field
+ label={t('settings.embeddings.dimensions')}
+ control={<span className="font-mono text-xs text-content">{dimensions}</span>}
+ />
+ )}
{currentModels.length > 1 && (
<Field
htmlFor="embeddings-model"
diff --git a/app/src/components/settings/panels/VoiceConnectionsPanel.tsx b/app/src/components/settings/panels/VoiceConnectionsPanel.tsx
index 2a553ef66b..a21515b1ee 100644
--- a/app/src/components/settings/panels/VoiceConnectionsPanel.tsx
+++ b/app/src/components/settings/panels/VoiceConnectionsPanel.tsx
@@ -7,9 +7,7 @@ export default function VoiceConnectionsPanel() {
const { t } = useT();
return (
- <SettingsTabbedPage
- title={t('pages.settings.ai.voice')}
- description={t('voice.pageDesc')}>
+ <SettingsTabbedPage title={t('pages.settings.ai.voice')} description={t('voice.pageDesc')}>
<VoicePanel embedded scrollable={false} />
</SettingsTabbedPage>
);