Skip to content

feat: 支持 OpenAI video_url 与 input_video 的内联、文件与远程视频输入 - #84

Merged
Mag1cFall merged 1 commit into
Mag1cFall:mainfrom
anon0v0:feat/openai-video-input
Oct 28, 2026
Merged

Mag1cFall merged 1 commit into
Mag1cFall:mainfrom
anon0v0:feat/openai-video-input

Conversation

@anon0v0

@anon0v0 anon0v0 commented Oct 28, 2026

Copy link
Copy Markdown
Contributor

改动 / Changes

  • 让 OpenAI video_url 与 input_video 复用 image_url / input_image 的 fileOrInlinePart 与 file_id 解析,支持 Base64 data URL、已上传 file_id、远程 http(s) 视频链接与 YouTube 链接
  • 同步 docs/protocol.md 中 video_url / input_video 的输入规则说明

验证 / Verification

  • CGO_ENABLED=0 go test -mod=readonly ./cmd/... ./internal/...
  • CGO_ENABLED=0 go vet -mod=readonly ./...
  • CGO_ENABLED=0 GOOS=windows go vet -mod=readonly -tags desktop,production ./...

@Mag1cFall
Mag1cFall merged commit 669a207 into Mag1cFall:main Oct 28, 2026
6 checks passed
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.

2 participants