Skip to content

fix(tts): propagate output mime type - #793

Merged
fatelei merged 1 commit into
mainfrom
fix/tts-output-mime-type
Aug 5, 2026
Merged

fix(tts): propagate output mime type#793
fatelei merged 1 commit into
mainfrom
fix/tts-output-mime-type

Conversation

@WH-2099

@WH-2099 WH-2099 commented Aug 5, 2026

Copy link
Copy Markdown
Member

Description

Propagate the optional mime_type from TTS plugin stream results through daemon JSON responses.
Legacy plugin responses remain compatible because empty MIME types are omitted.

Related to langgenius/dify#35880.

Type of Change

  • Bug fix
  • New feature
  • Refactor
  • Performance improvement
  • Other

Essential Checklist

Testing

  • I have tested the changes locally and confirmed they work as expected
  • I have added unit tests where necessary and they pass successfully

Bug Fix

  • I have used GitHub syntax to close the related issue

This daemon change is one part of a cross-repository fix and must not close the upstream issue by itself.

Additional Information

  • go test -count=1 ./pkg/entities/model_entities ./internal/core/io_tunnel ./internal/service
  • git diff --check

@WH-2099 WH-2099 self-assigned this Aug 5, 2026
@dosubot dosubot Bot added size:XS This PR changes 0-9 lines, ignoring generated files. bug Something isn't working go Pull requests that update go code plugin-daemon labels Aug 5, 2026
@dosubot dosubot Bot added the lgtm This PR has been approved by a maintainer label Aug 5, 2026
@fatelei
fatelei merged commit 240531b into main Aug 5, 2026
7 checks passed
@fatelei
fatelei deleted the fix/tts-output-mime-type branch August 5, 2026 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working go Pull requests that update go code lgtm This PR has been approved by a maintainer plugin-daemon size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants