+ {t('settings.modelHealth.loading')} +
+ ) : filtered.length === 0 ? ( ++ {t('settings.modelHealth.empty')} +
+ ) : ( +| handleSort('id')}> + {t('settings.modelHealth.col.model')} + {sortIcon('id')} + | +handleSort('quality_score')}> + {t('settings.modelHealth.col.quality')} + {sortIcon('quality_score')} + | +handleSort('hallucination_rate')}> + {t('settings.modelHealth.col.halluc')} + {sortIcon('hallucination_rate')} + | +handleSort('cost_per_1m_output')}> + {t('settings.modelHealth.col.cost')} + {sortIcon('cost_per_1m_output')} + | +handleSort('agents_using')}> + {t('settings.modelHealth.col.agents')} + {sortIcon('agents_using')} + | +{t('settings.modelHealth.col.status')} | +
|---|---|---|---|---|---|
|
+
+ {m.id}
+
+ {m.provider}
+ |
+ {qualityStars(m.quality_score)} | ++ {m.hallucination_rate !== null ? ( + config.hallucination_threshold + ? 'text-red-400' + : 'text-green-400' + }> + {(m.hallucination_rate * 100).toFixed(1)}% + + ) : ( + '—' + )} + | +${m.cost_per_1m_output.toFixed(2)} | +{m.agents_using} | ++ + {t(badge.label)} + + {isReplace && candidates.length > 0 && ( + + )} + | +
+ {swapTarget.id} — {t('settings.modelHealth.modal.hallucRate')}:{' '} + {((swapTarget.hallucination_rate ?? 0) * 100).toFixed(1)}% +
+