fix(voice): restore failed transcription recovery
This commit is contained in:
@@ -586,6 +586,13 @@ export async function retryVoiceSegment(segmentId: string): Promise<VoiceAudioSe
|
||||
return mapVoiceSegment(result)
|
||||
}
|
||||
|
||||
export async function discardVoiceSegment(segmentId: string): Promise<void> {
|
||||
await request<unknown>(
|
||||
`/api/v1/audio-segments/${encodeURIComponent(segmentId)}`,
|
||||
'DELETE'
|
||||
)
|
||||
}
|
||||
|
||||
export async function generateFeedbackFromVoice(
|
||||
sessionId: string,
|
||||
existingContent: string
|
||||
|
||||
Reference in New Issue
Block a user