refactor: Openai video model 移动到 dto - #2027
Conversation
WalkthroughRenames the OpenAIVideo DTO package from common to dto and updates all related references. Adjusts status mapping in model/task.go to use dto constants. Changes converter interfaces to return dto.OpenAIVideo. Updates multiple task adaptors (jimeng, kling, sora, vidu) to construct, return, and error with dto.OpenAIVideo types. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Suggested reviewers
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (7)
🧰 Additional context used🧬 Code graph analysis (6)relay/channel/adapter.go (2)
relay/channel/task/jimeng/adaptor.go (2)
relay/channel/task/sora/adaptor.go (3)
relay/channel/task/kling/adaptor.go (1)
model/task.go (1)
relay/channel/task/vidu/adaptor.go (2)
🔇 Additional comments (12)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
refactor: Openai video model 移动到 dto
…te-limit-reset fix(api-key): reset rate limit usage cache
Summary by CodeRabbit