fix(core): audio block actions not showing (#12527)

<!-- This is an auto-generated comment: release notes by coderabbit.ai -->

## Summary by CodeRabbit

- **Style**
  - Updated audio block containers to remove borders and allow visible overflow, improving the appearance of audio attachments.

- **Bug Fixes**
  - Ensured that the actions field is always present in audio transcription job results, defaulting to an empty string when not specified.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
pengx17
2025-05-27 03:29:10 +00:00
parent 83a483a06d
commit bfe743b68b
2 changed files with 8 additions and 1 deletions

View File

@@ -244,6 +244,7 @@ export class AudioTranscriptionJob extends Entity<{
const result: TranscriptionResult = {
summary: claimedJob.summary ?? '',
title: claimedJob.title ?? '',
actions: claimedJob.actions ?? '',
segments:
claimedJob.transcription?.map(segment => ({
speaker: segment.speaker,