chore: changed worong tts to sst title

fix/worong-type
adriano 2025-09-23 10:10:53 -03:00
parent c4ee8b68a9
commit 56672b38f9
1 changed files with 9 additions and 9 deletions

View File

@ -60,10 +60,10 @@ interface HitTranscriptionData {
total_cost_token: number // Total token(input + output)
llm_provider: string // Provider llm
// tts_model: string // Modelo de trascrição de audio para texto
tts_provider: string // Provedor do tts
tts_cost: number // Custo total dos minutos do audio em texto
tts_usage: number // Tempo total de trascrição do audio em segundos
// stt_model: string // Modelo de trascrição de audio para texto
stt_provider: string // Provedor do tts
stt_cost: number // Custo total dos minutos do audio em texto
stt_usage: number // Tempo total de trascrição do audio em segundos
total_min: number // Minutos de ligação
custo_hit: string // Custo HIT
@ -553,16 +553,16 @@ export default function TranscriptionTable() {
</TableCell>
<TableCell>{(item as HitTranscriptionData).llm_provider || "-"}</TableCell>
{/* <TableCell>{(item as HitTranscriptionData).tts_model || "-"}</TableCell> */}
<TableCell>{(item as HitTranscriptionData).tts_provider || "-"}</TableCell>
{/* <TableCell>{(item as HitTranscriptionData).stt_model || "-"}</TableCell> */}
<TableCell>{(item as HitTranscriptionData).stt_provider || "-"}</TableCell>
<TableCell>
{(item as HitTranscriptionData)?.tts_cost
? `$ ${Number((item as HitTranscriptionData).tts_cost).toFixed(2)}`
{(item as HitTranscriptionData)?.stt_cost
? `$ ${Number((item as HitTranscriptionData).stt_cost).toFixed(2)}`
: "-"}
</TableCell>
<TableCell>{(item as HitTranscriptionData).tts_usage || "-"}</TableCell>
<TableCell>{(item as HitTranscriptionData).stt_usage || "-"}</TableCell>
</>
) : (
<>