Skip to content

Upgrade AI Brain to Claude Sonnet 5 and fix YouTube transcripts - #13

Open
snevemoney wants to merge 1 commit into
mainfrom
cursor/ce-ai-youtube-fixes-59dd
Open

Upgrade AI Brain to Claude Sonnet 5 and fix YouTube transcripts#13
snevemoney wants to merge 1 commit into
mainfrom
cursor/ce-ai-youtube-fixes-59dd

Conversation

@snevemoney

Copy link
Copy Markdown
Owner

Summary

  • AI Brain/Agents default model to claude-sonnet-5 (override via ANTHROPIC_BRAIN_MODEL)
  • Remove temperature from Anthropic calls (Sonnet 5 rejects sampling params)
  • Fix YouTube transcript tool in production Docker runner (missing npm packages)
  • Harden captions via Innertube fallback + YOUTUBE_COOKIES for bot-check
  • Add POST /api/youtube/transcripts/retry and Retry-all UI

Test plan

  • App rebuild healthy on VPS
  • Packages present in runner image
  • Public video ingest succeeds via youtube-captions
  • Set YOUTUBE_COOKIES and Retry-all for bot-gated backlog

- Default Brain/Agents model is claude-sonnet-5 (ANTHROPIC_BRAIN_MODEL override)
- Drop temperature from Anthropic calls (Sonnet 5 rejects sampling params)
- Copy youtube-transcript packages into the slim Docker runner image
- Use static imports so Next standalone tracing includes transcript deps
- Harden youtube-captions with Innertube fallback + multi-format timedtext
- Support YOUTUBE_COOKIES for VPS bot-check gated videos
- Add POST /api/youtube/transcripts/retry and Retry-all UI
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