mirror of
https://github.com/Comfy-Org/comfy-python-sdk.git
synced 2026-11-04 23:37:47 +00:00
[PR #211] docs(router): clarify the ModelNotFound docstring #210
Labels
No labels
audit:ai-readiness
audit:community
audit:github
audit:health-scoring
audit:policy
audit:release
audit:supply-chain
effort:medium
effort:small
effort:small
effort:trivial
priority:nice-to-have
priority:nice-to-have
priority:recommended
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/comfy-python-sdk#210
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Comfy-Org/comfy-python-sdk/pull/211
Author: @mattmillerai
Created: 10/9/2026
Status: 🔄 Open
Base:
main← Head:matt/land-router-spec-sync-9794097📝 Commits (3)
d1ab5f0chore: sync vendored Comfy Router spec from cloud@9794097954ef65fix(router): re-bless ModelNotFound against the cloud@9794097 Router specd999259Merge branch 'main' into matt/land-router-spec-sync-9794097📊 Changes
1 file changed (+12 additions, -9 deletions)
View changed files
📝
src/comfy_sdk/router_exceptions.py(+12 -9)📄 Description
ELI5
This rewrites the help text for the "model not found" error so it explains more clearly when a model counts as gone, when you are pointed at a replacement, and when you get suggestions instead. It changes wording only. The SDK behaves exactly as before.
Summary
Rewords the
ModelNotFounddocstring insrc/comfy_sdk/router_exceptions.py. That 12-line docstring is the PR's whole diff againstmain.detail(retirement date, plus a successor when one is visible) replaces the suggestion list._spec_meaning_digest(6c0e0e327e4d) is unchanged. It already matches the vendored Router spec.History. This PR originally carried the cloud@9794097 Router spec sync and the
ModelNotFoundread-marker re-bless. Both have since landed onmainvia #209. After a merge frommain(no rebase, no force-push), only this branch's docstring wording is left. Merging it lands the clearer wording. Closing it instead loses only that wording.Provenance
Verified:
mainis theModelNotFounddocstring only. Spec, generated models and digest are all unchanged.d999259, the local gates passed:ruff check,ruff format --check,mypy src,pytest(1265 passed, 9 skipped),scripts/check_drift.pyand the public-repo hygiene script.d999259is green: Test py3.10 to 3.13, codegen drift, build-check, public-repo-hygiene.Deviations:
main.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.