Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
💡 Codex Review
Lines 130 to 152 in 81806f8
The new parseLivestreamInput marks the platform as TikTok only when the input contains shop.tiktok.com. Many valid TikTok live links use other hosts (seller-vn.shop.tiktokglobalshop.com, www.tiktok.com, etc.) while still exposing a room_id parameter. For those URLs the parser leaves platformDetected as "unknown", and handlePrefillOcr now aborts because it requires a known platform before calling /api/ocr. As a result, OCR can no longer run for common TikTok links that don’t match this single hostname. The detection should accept a broader set of TikTok domains or fall back to room_id when the hostname is unrecognized.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Summary
Testing
Codex Task