docs: clarify LLM slot bootstrap condition - #2798
Conversation
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughUpdated the ChangesResolve-slots comment synchronization
Estimated code review effort: 1 (Trivial) | ~2 minutes Possibly related PRs
Suggested labels: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Pull request overview
This PR clarifies the documented “fail-closed” / emergency-bootstrap behavior for LLM slot resolution in the canonical LLM registry helper, and mirrors the same clarification into the synchronized consumer template to prevent drift.
Changes:
- Updates the
resolve_slots()inline comment to state the runtime override bootstrap is only used when no slot allowlist is configured. - Applies the same comment update in
templates/consumer-repo/to keep consumer templates aligned.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| tools/llm_registry.py | Adjusts the inline documentation describing the bootstrap condition for slot resolution. |
| templates/consumer-repo/tools/llm_registry.py | Mirrors the same documentation change into the consumer template copy to avoid drift. |
| # Preserve an explicit runtime override as an emergency bootstrap only when | ||
| # no slot allowlist is configured. Empty models are never invoked directly; |
| # Preserve an explicit runtime override as an emergency bootstrap only when | ||
| # no slot allowlist is configured. Empty models are never invoked directly; |
97a2f6b to
016f73e
Compare
Workflow source neededPR #2798 needs either a linked GitHub issue or one valid non-issue Workflow Source before PR metadata automation can manage it safely. Please do one of:
Once a valid source is present, this warning will not be reposted. |
Automated Status SummaryHead SHA: efdd2c3
Coverage Overview
Coverage Trend
Top Coverage Hotspots (lowest coverage)
Low Coverage Files (<50.0%)
Updated automatically; will refresh on subsequent CI/Docker completions. Keepalive checklistScopeNo scope information available Tasks
Acceptance criteria
|
Clarifies the fail-closed bootstrap condition in the canonical registry and synchronized consumer template.\n\nValidation:
python -m pytest tests/tools/test_langchain_client.py tests/tools/test_llm_registry_selection.py -q(82 passed);python scripts/validate_template_sync.py.Summary by CodeRabbit