Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 12 additions & 5 deletions frontend/src/components/podcasts/EpisodeProfilesPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,9 @@ export function EpisodeProfilesPanel({
profile.speaker_config
)
const unconfigured = needsModelSetup(profile)
const voiceModelLabel = speakerSummary?.voice_model
? (modelNameMap[speakerSummary.voice_model] ?? speakerSummary.voice_model)
: null

return (
<Card key={profile.id}>
Expand Down Expand Up @@ -237,16 +240,20 @@ export function EpisodeProfilesPanel({
<p className="text-xs font-semibold uppercase tracking-wide text-muted-foreground">
{t('podcasts.speakerProfile')}
</p>
<div className="flex items-center gap-2 text-foreground">
<Users className="h-4 w-4" />
<div className="flex flex-wrap items-center gap-2 text-foreground">
<Users className="h-4 w-4 shrink-0" />
<span>
{profile.speaker_config_name ??
speakerSummary?.name ??
t('podcasts.notConfigured')}
</span>
{speakerSummary?.voice_model ? (
<Badge variant="outline" className="text-xs">
{modelNameMap[speakerSummary.voice_model] ?? speakerSummary.voice_model}
{voiceModelLabel ? (
<Badge
variant="outline"
className="min-w-0 max-w-full shrink text-xs"
title={voiceModelLabel}
>
<span className="truncate">{voiceModelLabel}</span>
</Badge>
) : null}
</div>
Expand Down