Clone any viral video with AI agents. Not just a script, the whole workflow: swap the face, the words, the B-roll, ship 100 variants in one command, and get your 100M views.
TypeScript agentic-aiaiai-agentsai-videocompilerdslffmpeggenerative-aillmmarkup-languagemonorepoplugin-systemprogramming-languagetext-to-videotypescriptvideovideo-automationvideo-clonevideo-editingvideo-generation
fix: run repository analysis and explain incomplete responses (#279)
kashorin7fb1c9e10a15
diff --git a/.github/automation/analysis.mjs b/.github/automation/analysis.mjsindex a4443944..524f0094 100644--- a/.github/automation/analysis.mjs+++ b/.github/automation/analysis.mjs@@ -80,7 +80,7 @@ export async function analyze(context, { key, model, maxTokens }, request = fetcconst output = await response.json();const choice = output.choices?.[0];if (choice?.finish_reason !== 'stop' || typeof choice.message?.content !== 'string' || !choice.message.content.trim()) {- throw new Error('DeepSeek did not return a complete analysis');+ throw new Error(`DeepSeek did not return a complete analysis (finish_reason: ${choice?.finish_reason ?? 'missing'})`);}return choice.message.content;}diff --git a/.github/workflows/repository-analysis.yml b/.github/workflows/repository-analysis.ymlindex 244f1ed6..80a6fa64 100644--- a/.github/workflows/repository-analysis.yml+++ b/.github/workflows/repository-analysis.yml@@ -23,8 +23,6 @@ jobs:if: github.repository == 'hypit-ai/hypit'runs-on: ubuntu-latesttimeout-minutes: 10- env:- ANALYSIS_CONTEXT: ${{ runner.temp }}/hypit-analysis/context.jsonsteps:- name: Checkout the trusted workflow implementationuses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803@@ -37,10 +35,12 @@ jobs:package-manager-cache: false- name: Read the selected issue or PRenv:+ ANALYSIS_CONTEXT: ${{ runner.temp }}/hypit-analysis/context.jsonGH_TOKEN: ${{ github.token }}run: node .github/automation/analysis.mjs prepare- name: Analyze and write the run summaryenv:+ ANALYSIS_CONTEXT: ${{ runner.temp }}/hypit-analysis/context.jsonDEEPSEEK_API_KEY: ${{ secrets.DEEPSEEK_API_KEY }}ANALYSIS_MODEL: deepseek-flashANALYSIS_MAX_TOKENS: '8192'