-
Notifications
You must be signed in to change notification settings - Fork 54
LCORE-695: updated doc #612
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
Conversation
WalkthroughBumps referenced llama-stack version from 0.2.21 to 0.2.22 across README, docs, examples, OpenAPI artifacts, and model example metadata. Also cleans up newline/formatting in docs/openapi.json. No functional code or control-flow changes. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested reviewers
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing touches
🧪 Generate unit tests
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (8)
🚧 Files skipped from review as they are similar to previous changes (4)
🧰 Additional context used🪛 Checkov (3.2.334)docs/openapi.json[high] 1-3163: Ensure that the global security field has rules defined (CKV_OPENAPI_4) [high] 1-3163: Ensure that security operations is not empty. (CKV_OPENAPI_5) ⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
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.
Actionable comments posted: 2
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (8)
README.md(1 hunks)docs/deployment_guide.md(3 hunks)docs/getting_started.md(1 hunks)docs/openapi.json(3 hunks)docs/openapi.md(1 hunks)docs/output.md(1 hunks)examples/pyproject.llamastack.toml(1 hunks)src/models/responses.py(2 hunks)
🧰 Additional context used
📓 Path-based instructions (4)
src/**/*.py
📄 CodeRabbit inference engine (CLAUDE.md)
Use absolute imports for internal modules (e.g., from auth import get_auth_dependency)
Files:
src/models/responses.py
**/*.py
📄 CodeRabbit inference engine (CLAUDE.md)
**/*.py: All modules start with descriptive module-level docstrings explaining purpose
Use logger = logging.getLogger(name) for module logging after import logging
Define type aliases at module level for clarity
All functions require docstrings with brief descriptions
Provide complete type annotations for all function parameters and return types
Use typing_extensions.Self in model validators where appropriate
Use modern union syntax (str | int) and Optional[T] or T | None consistently
Function names use snake_case with descriptive, action-oriented prefixes (get_, validate_, check_)
Avoid in-place parameter modification; return new data structures instead of mutating arguments
Use appropriate logging levels: debug, info, warning, error with clear messages
All classes require descriptive docstrings explaining purpose
Class names use PascalCase with conventional suffixes (Configuration, Error/Exception, Resolver, Interface)
Abstract base classes should use abc.ABC and @AbstractMethod for interfaces
Provide complete type annotations for all class attributes
Follow Google Python docstring style for modules, classes, and functions, including Args, Returns, Raises, Attributes sections as needed
Files:
src/models/responses.py
src/{models/**/*.py,configuration.py}
📄 CodeRabbit inference engine (CLAUDE.md)
src/{models/**/*.py,configuration.py}: Use @field_validator and @model_validator for custom validation in Pydantic models
Use precise type hints in configuration (e.g., Optional[FilePath], PositiveInt, SecretStr)
Files:
src/models/responses.py
src/models/**/*.py
📄 CodeRabbit inference engine (CLAUDE.md)
src/models/**/*.py: Pydantic models: use BaseModel for data models and extend ConfigurationBase for configuration
Use @model_validator and @field_validator for Pydantic model validation
Files:
src/models/responses.py
🪛 Biome (2.1.2)
docs/openapi.json
[error] 2146-2146: expected , but instead found "0.2.22"
Remove "0.2.22"
(parse)
🪛 GitHub Actions: Integration tests
docs/openapi.json
[error] 2146-2146: JSONDecodeError: Expecting ',' delimiter at line 2146 column 29 while loading OpenAPI specification used by tests (OpenAPI JSON is malformed).
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
- GitHub Check: build-pr
- GitHub Check: e2e_tests
🔇 Additional comments (7)
src/models/responses.py (1)
167-167: LGTM!The constructor example correctly reflects the updated llama-stack version 0.2.22.
README.md (1)
248-248: LGTM!The example dependency version is correctly updated to 0.2.22, consistent with the PR's version bump.
docs/getting_started.md (1)
27-27: LGTM!The installation command correctly reflects the updated llama-stack version 0.2.22.
docs/output.md (1)
1042-1042: LGTM!The InfoResponse example correctly reflects the updated llama-stack version 0.2.22.
examples/pyproject.llamastack.toml (1)
7-7: LGTM!The example dependency version is correctly updated to 0.2.22, consistent with the PR's version bump.
docs/openapi.md (1)
1042-1042: LGTM!The InfoResponse example correctly reflects the updated llama-stack version 0.2.22.
docs/deployment_guide.md (1)
393-393: LGTM!All documentation examples correctly reflect the updated llama-stack version 0.2.22.
Also applies to: 679-679, 1074-1074
101e4f3 to
742638a
Compare
Description
LCORE-695: updated doc
Type of change
Related Tickets & Documents
Summary by CodeRabbit
Documentation
Chores