Skip to content

Automate Replicate node generation via setup workflow#36

Draft
Copilot wants to merge 7 commits intocopilot/extend-replicate-nodesfrom
copilot/add-recent-models-code-generation
Draft

Automate Replicate node generation via setup workflow#36
Copilot wants to merge 7 commits intocopilot/extend-replicate-nodesfrom
copilot/add-recent-models-code-generation

Conversation

Copy link
Contributor

Copilot AI commented Feb 7, 2026

23 new Replicate model definitions were added but not generated into Python classes due to firewall blocking replicate.com during agent sessions.

Changes

  • Modified .github/workflows/copilot-setup-steps.yml to run code generation before firewall activation

    • Executes gencode.py, nodetool package scan, and nodetool codegen
    • Uses REPLICATE_API_TOKEN secret for API access
    • Generated files available in next agent session environment
  • Added CODE_GENERATION_STATUS.md documenting the solution and tracking 23 pending models:

    • 3D: InstantMesh, SplatterImage, Flux_3D (new image.3d namespace)
    • Image: AnimateDiff, InstructPix2Pix, ControlNet_Scribble, SAM_HQ, etc.
    • Video: StableVideoDiffusion, VideoToVideo (new video.enhance namespace)
    • Audio: MusicGen_Melody
    • Code: CodeLlama_13B, CodeLlama_34B
    • Face: FaceToAll, LivePortrait

Result

Code generation happens automatically during setup phase with network access, then agent session has generated node classes ready for commit. Total model count: 182 (+23).

Original prompt

Pull Request: #31

add more recent models and run code generation


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 6 commits February 7, 2026 10:10
Co-authored-by: georgi <19498+georgi@users.noreply.github.com>
Co-authored-by: georgi <19498+georgi@users.noreply.github.com>
Co-authored-by: georgi <19498+georgi@users.noreply.github.com>
Co-authored-by: georgi <19498+georgi@users.noreply.github.com>
… param

Co-authored-by: georgi <19498+georgi@users.noreply.github.com>
Co-authored-by: georgi <19498+georgi@users.noreply.github.com>
Copilot AI changed the title [WIP] Add more recent models and run code generation Automate Replicate node generation via setup workflow Feb 7, 2026
Copilot AI requested a review from georgi February 7, 2026 10:17
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