feat(compose): update Docker Model Runner syntax support - #2148
Conversation
- Warn on `context_size` and `runtime_flags` in model definitions (Docker Model Runner-only parameters, not applicable to cloud deployments) - Deprecate `provider: type: model` beta syntax with a warning pointing to the top-level `models:` form; behavior is preserved for compatibility - Add `withmodelvar` fixture to cover the untested `model_var` override path in wireDependentServices Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (6)
📝 WalkthroughWalkthroughRefactors ChangesModel fixup warnings and model_var test coverage
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 golangci-lint (2.12.2)level=warning msg="The linter 'gomodguard' is deprecated (since v2.12.0) due to: new major version. Replaced by gomodguard_v2." Comment |
context_sizeandruntime_flagsin model definitions (Docker Model Runner-only parameters, not applicable to cloud deployments)provider: type: modelbeta syntax with a warning pointing to the top-levelmodels:form; behavior is preserved for compatibilitywithmodelvarfixture to cover the untestedmodel_varoverride path in wireDependentServicesDescription
Linked Issues
Checklist
Summary by CodeRabbit
Bug Fixes
context_size,runtime_flags) in cloud deployments.Refactor
Tests