refactor: extract AudioFileService to consolidate audio upload logic#1
Closed
shenenqing wants to merge 1 commit intodevelopfrom
Closed
refactor: extract AudioFileService to consolidate audio upload logic#1shenenqing wants to merge 1 commit intodevelopfrom
shenenqing wants to merge 1 commit intodevelopfrom
Conversation
将 AudioController 和 QwenAdaptor 中重复的"上传文件 → 获取URL"逻辑 提取为共享的 AudioFileService。新增 /v1/audio/transcriptions/file/upload 接口用于音频文件上传。同时将 callbackUrl 为 null 时的行为从抛出异常改为 自动填充空字符串。 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
AudioFileService,将AudioController和QwenAdaptor中重复的"上传文件 → 获取URL"逻辑提取为共享服务/v1/audio/transcriptions/file/upload接口用于音频文件上传callbackUrl为 null 时自动填充空字符串,不再抛出异常🤖 Generated with Claude Code