Repository navigation
chore: sync Comfy API v2 specification and Comfy Router pages (cloud@60df9ab6) - #2486
Conversation
edf82c0 to
ffa5db5
Compare
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
🌐 i18n translation sync checkEnglish docs changed in this PR. 48 files in 4 languages may not be synced yet. The automated translation workflow handles these updates. Expand a language to see the files. Japanese (
|
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
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@60df9ab6.router-openapi.yamlis 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 anopenapi:navigation entry.development/comfy-router/reference.mdxis 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/higgsfield-byok.mdx,development/comfy-router/litellm.mdxanddevelopment/comfy-router/realtime.mdxare 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.mdxis NOT part of this sync: it is GENERATED in this repository bybun run router-pricing:genfromrouter-pricing/metronome-rates.jsonand 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>.jsonare the exactGET /v2/models/{id}/openapi.jsondocuments 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 indexdevelopment/comfy-router/models.mdx, the serving-provider indexdevelopment/comfy-router/providers.mdxand thedocs.jsonentries for them are this repository's OWN derived output: the sync runsbun run code-pages:gen -- --pruneover the documents above and commits the result, socode-pagesis 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, andproviders.mdxexists only while some model publishes anx-comfy-router-alt-providersleg.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_AUTOMERGEvariable istrue,.github/workflows/sync-pr-automerge.ymlsquash-merges it once every check has finished green; otherwise it waits for human review.