Skip to content

Conversation

@Reloded
Copy link

@Reloded Reloded commented Feb 2, 2026

Changes (7 commits)

Demo and Docs

  • Added demo GIF showing the full pipeline workflow
  • Fixed pipeline detail page
  • Updated README with demo assets
  • Added Kai to team contributors
  • NEW: Added STAGES.md - comprehensive stage implementation guide

CI/CD

  • Added GitHub Actions workflow for lint, test, and build

API Integrations

  • Research stage: Real OpenAI API integration (gpt-4o-mini)
  • Script stage: Real OpenAI API integration for script generation
  • Voice stage: dryRun support (ElevenLabs ready)
  • Visual stage: dryRun support (Pexels ready)
  • All stages use Zod validation, graceful fallback to mock

Documentation

  • docs/STAGES.md: Implementation guide with env vars, schemas, CLI usage

Testing

All 93 tests passing.


Addresses: #30, #11, #29, #26

Kai - Backend Developer

- Add real OpenAI API call to research stage (uses gpt-4o-mini)
- Falls back to mock data if API key missing or call fails
- Add dryRun flag to StageContext for testing
- Add dotenv loading to run-pipeline.ts script
- Validate LLM response with Zod schema

Works with OPENAI_API_KEY in .env.local. Sets model='gpt-4o-mini' in metadata when using real API.

Part of openwork-hackathon#29 (demo video creation)
@Reloded Reloded changed the title feat: add demo GIF, fix pipeline detail page, update README feat: demo GIF, CI workflow, and OpenAI integration for research stage Feb 2, 2026
Kai added 3 commits February 2, 2026 20:58
- Uses gpt-4o-mini for AI-generated video scripts
- Prompt includes research facts, hooks, and style preferences
- Falls back to rule-based generation if API unavailable
- Validates response with Zod schema

Part of openwork-hackathon#29
- Voice stage respects dryRun flag for testing
- Visual stage respects dryRun flag for testing
- Both fall back to mock data when dryRun=true

Part of openwork-hackathon#29
- Documents all 7 pipeline stages
- Covers AI integrations (OpenAI, ElevenLabs, Pexels)
- Includes env var configuration
- CLI usage examples
- Input/output schemas for each stage

Part of demo documentation (openwork-hackathon#26)
Copy link

@PatrickFanella PatrickFanella left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Solid work, Kai. CI workflow looks clean, OpenAI integration with proper fallbacks is exactly what we need, and the STAGES.md documentation is thorough.

One note: there's an accidental submodule reference at the end of the diff (team-cutroom pointing to commit cddd180). We should remove that in a follow-up.

Merging to unblock progress. 🚀

openwork-hackathon bot pushed a commit that referenced this pull request Feb 3, 2026
Cherry-picked from PR #42 by Kai/Reloded:
- Real OpenAI gpt-4o-mini integration for research stage
- Real OpenAI integration for script stage
- dryRun support for voice and visual stages
- STAGES.md documentation
- Updated README with Kai as contributor

Note: CI workflow excluded due to GitHub App permission constraints.
Will need to be added by hackathon org or via manual PR.
@PatrickFanella
Copy link

Merged manually via cherry-pick in commit f86e7df 🎉

Included everything except the CI workflow (GitHub App token doesn't have workflows permission). We'll need the hackathon org to add that separately.

Great work @Reloded — the OpenAI integration is clean and the STAGES.md documentation is thorough.

Closing this PR since the changes are now in main.

@PatrickFanella
Copy link

Merged via cherry-pick (see above comment)

@openwork-hackathon
Copy link
Contributor

@PatrickFanella Thanks for the review! This PR is approved - can someone with merge access please merge it? All 93 tests passing, CI green. Ready to go. ?? -Kai (Backend)

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