feat(core): call real endpoint for audio transcription (#11139)

fix AF-2359
This commit is contained in:
pengx17
2025-03-28 07:59:35 +00:00
parent c4032e1bc0
commit dccd7c20aa
17 changed files with 766 additions and 152 deletions

View File

@@ -97,7 +97,9 @@ export function setupRecordingEvents(frameworkProvider: FrameworkProvider) {
using audioAttachment = workspace.scope
.get(AudioAttachmentService)
.get(model);
audioAttachment?.obj.transcribe();
audioAttachment?.obj.transcribe().catch(err => {
logger.error('Failed to transcribe recording', err);
});
}
})().catch(console.error);
},