-
Notifications
You must be signed in to change notification settings - Fork 153
fix(knowledge): check an oss pick's weights before recommending it (BE-8974) #874
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -80,6 +80,15 @@ rather than an answer to anything. Five rules: | |
| it resolves to. A row flagged this way also pulls in `picks[]` for the | ||
| capabilities that rank it, so the highest-ranked entry *without* the flag is | ||
| the runnable alternative. Say what is missing, then name that alternative. | ||
| The flag never looks at model files. When routing is local, run | ||
| `comfy --json templates check <template>` on an `oss` pick's `template` | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🟠 High — The There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🟢 Low — Scoping the check to |
||
| before recommending it. On `missing-models` the pick is still the answer: | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🟡 Medium — The procedure branches only on |
||
| name it, say it is not installed, and list `models.missing[]` with each | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🟡 Medium — |
||
| file's `directory`. Any other result that is not `runnable`, including a | ||
| `template_not_found` error, means that pick is not confirmed to run here. | ||
| Either way, check the next `oss` pick down and name the first `runnable` one | ||
| as what works today, or say that none is. Ask before downloading anything. A | ||
| pick with no `template` has nothing to check. | ||
| 3. **Verify before denying.** A missing `knowledge` key or a `nudge` means | ||
| nothing is curated for that query, not that it is unsupported. A `nudge` on | ||
| a block that still carries rows means your search term matched nothing | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🟡 Medium — The step is unconditional, but
templates checklists/models/<folder>on the local server whenever the template declares models, so it hard-fails withserver_not_running(exit 1) on the very common "installed but not launched" machine — local routing means no cloud credentials, not a running server. Give the rule a branch for the server being down, and note thattemplates checkhas no--whereflag, so the global error-code table's "switch to--where cloud" advice does not apply here. Raised by 2 of 6 reviewers (claude-opus-5-thinking-max adversarial, claude-opus-5-thinking-max edge-case).