Skip to content

refactor: extract AudioFileService to consolidate audio upload logic#1

Closed
shenenqing wants to merge 1 commit intodevelopfrom
refactor/extract-audio-file-service
Closed

refactor: extract AudioFileService to consolidate audio upload logic#1
shenenqing wants to merge 1 commit intodevelopfrom
refactor/extract-audio-file-service

Conversation

@shenenqing
Copy link
Copy Markdown
Owner

Summary

  • 新建 AudioFileService,将 AudioControllerQwenAdaptor 中重复的"上传文件 → 获取URL"逻辑提取为共享服务
  • 新增 /v1/audio/transcriptions/file/upload 接口用于音频文件上传
  • callbackUrl 为 null 时自动填充空字符串,不再抛出异常

🤖 Generated with Claude Code

将 AudioController 和 QwenAdaptor 中重复的"上传文件 → 获取URL"逻辑
提取为共享的 AudioFileService。新增 /v1/audio/transcriptions/file/upload
接口用于音频文件上传。同时将 callbackUrl 为 null 时的行为从抛出异常改为
自动填充空字符串。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@shenenqing shenenqing closed this Mar 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant