You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 3611f4d
Browse filesBrowse the repository at this point in the historyBrowse files
Miriad
and
videopipe
committed
feat: migrate video services to Sanity config system (Phase B)
- remotion.ts: awsRegion, serveUrl, functionName from getConfigValue('remotion_config')
- elevenlabs.ts: voiceId from getConfigValue('pipeline_config', 'elevenLabsVoiceId')
- gcs.ts: bucketName, projectId from getConfigValue('gcs_config')
- All use env var fallbacks for migration safety
- Secrets (API keys, AWS credentials) remain as process.env
Co-authored-by: videopipe <videopipe@miriad.systems>
constSYSTEM_INSTRUCTION=`You are a content strategist and scriptwriter for CodingCat.dev, a web development education channel run by Alex Patterson.
495
+
// SYSTEM_INSTRUCTION is now fetched from content_config singleton via getConfigValue().
496
+
// Fallback value preserved below for graceful degradation if the Sanity document doesn't exist yet.
497
+
constSYSTEM_INSTRUCTION_FALLBACK=`You are a content strategist and scriptwriter for CodingCat.dev, a web development education channel run by Alex Patterson.
485
498
486
499
Your style is inspired by Cleo Abram's "Huge If True" — you make complex technical topics feel exciting, accessible, and important. Key principles:
487
500
- Start with a BOLD claim or surprising fact that makes people stop scrolling
@@ -813,7 +826,8 @@ export async function GET(request: NextRequest) {
813
826
constresults: StepResult[]=[];
814
827
815
828
// Phase 1: Stuck detection — runs FIRST, no external API calls
0 commit comments