fix(voice): recover empty failed lessons
This commit is contained in:
@@ -641,6 +641,13 @@ export async function discardVoiceSegment(segmentId: string): Promise<void> {
|
||||
)
|
||||
}
|
||||
|
||||
export async function discardEmptyVoiceLesson(lessonId: string): Promise<void> {
|
||||
await request<unknown>(
|
||||
`/api/v1/feedback-lessons/${encodeURIComponent(lessonId)}`,
|
||||
'DELETE'
|
||||
)
|
||||
}
|
||||
|
||||
export async function generateFeedbackFromVoice(
|
||||
sessionId: string,
|
||||
existingContent: string
|
||||
|
||||
Reference in New Issue
Block a user