fix(server): handle empty transcript result correctly (#11385)

This commit is contained in:
darkskygit
2025-04-02 04:33:35 +00:00
parent add4a5859d
commit 1b5df6b75e

View File

@@ -234,6 +234,9 @@ export class CopilotTranscriptionService {
return;
}
}
this.event.emit('workspace.file.transcript.failed', {
jobId,
});
} catch (error: any) {
// record failed status and passthrough error
this.event.emit('workspace.file.transcript.failed', {
@@ -269,6 +272,9 @@ export class CopilotTranscriptionService {
return;
}
}
this.event.emit('workspace.file.transcript.failed', {
jobId,
});
} catch (error: any) {
// record failed status and passthrough error
this.event.emit('workspace.file.transcript.failed', {