← Back to Pull requests

chore: sync Comfy API v2 specification and Comfy Router pages (cloud@891e5504) #2656

Merged
cloud-code-bot[bot] merged 11 files (336 lines) on Dec 03, 2026 13:48 UTC
View on GitHub
cloud-code-bot[bot] cloud-code-bot[bot] commented on Dec 03, 2026 13:32 UTC
Author

Automated sync of the public Comfy API v2 and Comfy Router specifications used by the generated API references, and of the Comfy Router API pages generated from the Comfy API contract. Source: cloud@891e5504.

router-openapi.yaml is the public Comfy Router contract, projected from the same upstream contract the Router pages are generated from and the same projection the Router SDKs vendor (the Python and Swift copies byte-for-byte; the TypeScript SDK reformats its copy with oxfmt). It is GENERATED - edit the upstream contract, not this copy. If this is the first sync that carries it, it renders nothing until this repository gives it an openapi: navigation entry.

development/comfy-router/reference.mdx is GENERATED - edit the upstream contract, not this copy. It is regenerated on every sync and an edit made here is overwritten by the next one.

development/comfy-router/quickstart.mdx, development/comfy-router/limitations.mdx, development/comfy-router/litellm.mdx and development/comfy-router/realtime.mdx are hand-written upstream and published verbatim. They are likewise overwritten on every sync, so edit them upstream. If this is the first sync that carries one of them, it also needs a navigation entry in this repository before it renders.

development/comfy-router/pricing.mdx is NOT part of this sync: it is GENERATED in this repository by bun run router-pricing:gen from router-pricing/metronome-rates.json and the model pages, and this sync refuses to change it. To change the page, edit its generator or rate snapshot here.

router-schemas/<provider>/<model>.json are the exact GET /v2/models/{id}/openapi.json documents for every model with an authored schema; the docs generator (.github/scripts/snippets/gen-code-pages.ts) reads them. They are GENERATED and the directory is MIRRORED on every sync, so a document removed upstream is removed here too - edit the upstream contract, not these copies.

development/comfy-router/models/**/code.mdx, the model index development/comfy-router/models.mdx, the serving-provider index development/comfy-router/providers.mdx and the docs.json entries for them are this repository's OWN derived output: the sync runs bun run code-pages:gen -- --prune over the documents above and commits the result, so code-pages is green as opened and no regen commit is needed on this branch. They are GENERATED and PRUNED - a page whose model left the catalog is deleted here too, and providers.mdx exists only while some model publishes an x-comfy-router-alt-providers leg.

This is the single rolling sync pull request for the published Comfy API v2 specification and Comfy Router pages. It lives on chore/sync-comfy-api-v2-spec, and every later upstream change force-updates that branch and refreshes this description with the new source commit — so there is only ever one open sync pull request here, and its diff is always the current one. Please do not push commits to this branch; the next sync would overwrite them (it checks first and fails rather than doing so silently).

The projection strips internal operations and non-public source annotations, and fails before this pull request can be created if a known internal marker survives. When this repository's DOCS_SYNC_AUTOMERGE variable is true, .github/workflows/sync-pr-automerge.yml squash-merges it once every check has finished green; otherwise it waits for human review.

Diff: 336 lines (+327 / -9) across 11 files Reviewer: github-actions[bot] Review duration: 16m
All Vouch review confidence checks passed
Residual risk 0.18 = Change Risk (0.57) × (1 − Review Confidence (0.69)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.57 · 336 lines diff across 11 files
0.57
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.56 · 3 substantive comment(s)
0.56
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
68%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size diff_size
0.348
Ai Authored ai_authored
0.050
Real PR Conversation Timeline
4 items
coderabbitai[bot] coderabbitai[bot] commented on Dec 03, 2026 13:32 UTC
Bot

<!-- coderabbit-ai-generated:v1 -->

<!-- This is an auto-generated comment: summarize by coderabbit.ai -->
<!-- This is an auto-generated comment: skip review by coderabbit.ai -->

[!IMPORTANT]

## Review skipped

> Bot user detected.

> To trigger a single review, invoke the @coderabbitai review command.

> <details>

<summary><strong><picture><source media="(prefers-color-scheme: dark)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/cog-dark.svg"><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/cog.svg" width="16" height="16" align="absmiddle" alt=""></picture> Run configuration</strong></summary>

<dl>

<dd>

<br>

> - Source mode: Auto

- Repository: Unavailable

- Branch: Unavailable

- File: No configuration file from this repository applied

- Commit: Unavailable

- Layers: Organization UI

- Review profile: ASSERTIVE

- Plan: Advanced

- Run ID: 5ec19cc2-666b-4563-99a2-53e26f84e305

> </dd>

</dl>

</details>

> You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

> Use the checkbox below for a quick retry:

- [ ] <!-- {"checkboxId":"e9bb8d72-00e8-4f67-9cb2-caf3b22574fe"} --> Trigger review

<!-- end of auto-generated comment: skip review by coderabbit.ai -->

<!-- autopilot:start -->

  • <!-- {"checkboxId":"2708ad07-9f24-4260-9c11-7dc76a49f2e3"} --> <strong title="Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts">Autofix</strong> · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

  • <!-- autopilot:end -->
    <!-- tips_start -->

    Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

    <details>
    <summary><strong>Share</strong></summary>
    <dl>
    <dd>
    <br>

  • X

  • Mastodon

  • Reddit

  • LinkedIn
  • </dd>
    </dl>
    </details>

    <!-- tips_end -->

    github-actions[bot] github-actions[bot] commented on Dec 03, 2026 13:33 UTC
    Bot

    🌐 i18n translation sync check

    English docs changed in this PR. 35 files in 5 languages may not be synced yet. The automated translation workflow handles these updates. Expand a language to see the files.

    <details>
    <summary>Japanese (<code>ja</code>): 7 files</summary>

  • <code>ja/development/comfy-router/limitations.mdx</code>

  • <code>ja/development/comfy-router/models.mdx</code>

  • <code>ja/development/comfy-router/models/gemini-interactions/gemini-omni-1-1-flash/code.mdx</code>

  • <code>ja/development/comfy-router/models/gemini-interactions/gemini-omni-1-2-flash/code.mdx</code>

  • <code>ja/development/comfy-router/models/gemini-interactions/gemini-omni-flash-preview/code.mdx</code>

  • <code>ja/development/comfy-router/models/gemini-interactions/lyria-3-5/code.mdx</code>

  • <code>ja/development/comfy-router/models/gemini-interactions/lyria-3-5/code.mdx</code>
  • </details>

    <details>
    <summary>Simplified Chinese (<code>zh</code>): 7 files</summary>

  • <code>zh/development/comfy-router/limitations.mdx</code>

  • <code>zh/development/comfy-router/models.mdx</code>

  • <code>zh/development/comfy-router/models/gemini-interactions/gemini-omni-1-1-flash/code.mdx</code>

  • <code>zh/development/comfy-router/models/gemini-interactions/gemini-omni-1-2-flash/code.mdx</code>

  • <code>zh/development/comfy-router/models/gemini-interactions/gemini-omni-flash-preview/code.mdx</code>

  • <code>zh/development/comfy-router/models/gemini-interactions/lyria-3-5/code.mdx</code>

  • <code>zh/development/comfy-router/models/gemini-interactions/lyria-3-5/code.mdx</code>
  • </details>

    <details>
    <summary>Korean (<code>ko</code>): 7 files</summary>

  • <code>ko/development/comfy-router/limitations.mdx</code>

  • <code>ko/development/comfy-router/models.mdx</code>

  • <code>ko/development/comfy-router/models/gemini-interactions/gemini-omni-1-1-flash/code.mdx</code>

  • <code>ko/development/comfy-router/models/gemini-interactions/gemini-omni-1-2-flash/code.mdx</code>

  • <code>ko/development/comfy-router/models/gemini-interactions/gemini-omni-flash-preview/code.mdx</code>

  • <code>ko/development/comfy-router/models/gemini-interactions/lyria-3-5/code.mdx</code>

  • <code>ko/development/comfy-router/models/gemini-interactions/lyria-3-5/code.mdx</code>
  • </details>

    <details>
    <summary>Spanish (<code>es</code>): 7 files</summary>

  • <code>es/development/comfy-router/limitations.mdx</code>

  • <code>es/development/comfy-router/models.mdx</code>

  • <code>es/development/comfy-router/models/gemini-interactions/gemini-omni-1-1-flash/code.mdx</code>

  • <code>es/development/comfy-router/models/gemini-interactions/gemini-omni-1-2-flash/code.mdx</code>

  • <code>es/development/comfy-router/models/gemini-interactions/gemini-omni-flash-preview/code.mdx</code>

  • <code>es/development/comfy-router/models/gemini-interactions/lyria-3-5/code.mdx</code>

  • <code>es/development/comfy-router/models/gemini-interactions/lyria-3-5/code.mdx</code>
  • </details>

    <details>
    <summary>Russian (<code>ru</code>): 7 files</summary>

  • <code>ru/development/comfy-router/limitations.mdx</code>

  • <code>ru/development/comfy-router/models.mdx</code>

  • <code>ru/development/comfy-router/models/gemini-interactions/gemini-omni-1-1-flash/code.mdx</code>

  • <code>ru/development/comfy-router/models/gemini-interactions/gemini-omni-1-2-flash/code.mdx</code>

  • <code>ru/development/comfy-router/models/gemini-interactions/gemini-omni-flash-preview/code.mdx</code>

  • <code>ru/development/comfy-router/models/gemini-interactions/lyria-3-5/code.mdx</code>

  • <code>ru/development/comfy-router/models/gemini-interactions/lyria-3-5/code.mdx</code>
  • </details>

    ---

    Local sync: npm run translate (see README: Automated translation)

    <!-- i18n-sync-check -->

    mintlify[bot] mintlify[bot] commented on Dec 03, 2026 13:37 UTC
    Bot

    <!-- mintlify-preview-comment -->
    Preview deployment for your docs. Learn more about Mintlify Previews.

    | Project | Status | Preview | Updated |
    |---------|--------|---------|---------------|
    | comfy | 🟢 Ready | View Preview | <relative-time datetime="2026-12-03T13:37:31.399Z">Dec 3, 2026, 1:37 PM</relative-time> <!-- mintlify-preview-row dripart-chore-sync-comfy-api-v2-spec tip --> |

    💡 Tip: Enable Automations to automatically generate PRs for you.

    Assignees
    cloud-code-bot[bot] cloud-code-bot[bot]
    Labels
    risk: low confidence: 68.6% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 57.5% (MEDIUM) · Higher = larger blast radius
    57.5%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 68.6% · Lower = rushed or shallow review
    68.6%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 18.1% · Safe to merge
    18.1%
    Repository