Skip to content

Add worldcup-briefing: AI-powered football highlight reels with TinyFish + VideoDB#225

Merged
pranavjana merged 3 commits into
tinyfish-io:mainfrom
Nischay-VideoDB:add/worldcup-briefing
Jun 27, 2026
Merged

Add worldcup-briefing: AI-powered football highlight reels with TinyFish + VideoDB#225
pranavjana merged 3 commits into
tinyfish-io:mainfrom
Nischay-VideoDB:add/worldcup-briefing

Conversation

@Nischay-VideoDB

Copy link
Copy Markdown
Contributor
  • Full Next.js 16 project with TinyFish SDK for match footage discovery
  • TinyFish Search for match report research + YouTube video discovery
  • AI agent pipeline with streaming tool calls (tinyfishResearch, tinyfishSearch)
  • VideoDB for visual scene indexing and reel compilation
  • Instant replay, scheduled briefings, multi-platform inbox (Telegram/Discord/Slack)
  • PostgreSQL + Inngest backend, dark mode, free tier

…ish + VideoDB

- Full Next.js 16 project with TinyFish SDK for match footage discovery
- TinyFish Search for match report research + YouTube video discovery
- AI agent pipeline with streaming tool calls (tinyfishResearch, tinyfishSearch)
- VideoDB for visual scene indexing and reel compilation
- Instant replay, scheduled briefings, multi-platform inbox (Telegram/Discord/Slack)
- PostgreSQL + Inngest backend, dark mode, free tier
@coderabbitai

coderabbitai Bot commented Jun 26, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 659efa72-0dce-46fb-bc7a-3ca3904c3c91

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Nischay-VideoDB and others added 2 commits June 26, 2026 14:46
… timeline + dark mode + DeepSeek tool args repair

- Mark free runs with mode=free so unauthenticated users can poll status
- Render live agent timeline (text-deltas, tool calls) and status history
  during processing instead of static PROCESSING badge
- Dark mode icons for TimelineView, StatusHistory, and source video
- Repair DeepSeek stringified tool args via experimental_repairToolCall
… selection

Fixes found while running the example end-to-end from a clean checkout:

- Add missing migration 0006 for runs.status_message / status_history.
  These columns existed in schema.ts and the snapshot but no SQL migration
  created them, so a fresh `db:migrate` produced a runs table without them and
  every briefing page 500'd (DrizzleQueryError: column does not exist).

- Make the briefing "Try again" button actually re-run the briefing. It
  previously only dispatched the open-key-modal event and never retried.
  Also guard the briefing fetch so non-OK API responses render the
  not-found state instead of crashing on `run.runId.slice` of undefined.

- Use an LLM (GPT-5.4 mini, configurable via VIDEO_SELECTOR_MODEL) to pick the
  best video from the TinyFish candidates instead of taking the top heuristic
  result. The selector prefers the right match and watchable highlights over
  multi-hour full broadcasts, and surfaces its choice as results[0] so all
  selection call sites benefit. Falls back to heuristic ranking on any error.

- Bump the scene-index wait window (Inngest pipeline 40->80 attempts, ~20m;
  video-pipeline 40->90) since VideoDB indexing can exceed 10 minutes even for
  short clips. Reuse a completed scene index instead of re-indexing on retry.

- Add suppressHydrationWarning to key/search inputs that browser autocomplete
  extensions mutate, removing a noisy hydration mismatch warning.
@pranavjana pranavjana self-requested a review June 27, 2026 05:01
@pranavjana pranavjana merged commit 4c05cff into tinyfish-io:main Jun 27, 2026
3 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