-
Notifications
You must be signed in to change notification settings - Fork 54
LCORE-324: add check for config file run.yaml existence
#266
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
LCORE-324: add check for config file run.yaml existence
#266
Conversation
|
""" WalkthroughThe changes introduce a file existence and readability check for the Changes
Sequence Diagram(s)sequenceDiagram
participant Tester
participant LlamaStackConfiguration
participant checks
Tester->>LlamaStackConfiguration: Instantiate with use_as_library_client=True and config path
LlamaStackConfiguration->>checks: file_check(library_client_config_path)
checks-->>LlamaStackConfiguration: Return success or raise error
LlamaStackConfiguration-->>Tester: Instance created or InvalidConfigurationError raised
Estimated code review effort2 (~15 minutes) Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (4)
🧬 Code Graph Analysis (2)src/models/config.py (1)
tests/unit/models/test_config.py (2)
🧰 Additional context used🧬 Code Graph Analysis (2)src/models/config.py (1)
tests/unit/models/test_config.py (2)
🔇 Additional comments (7)
✨ Finishing Touches
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
87a9f7e to
91c956f
Compare
|
@coderabbitai full review |
✅ Actions performedFull review triggered. |
Docstrings generation was requested by @tisnik. * #266 (comment) The following files were modified: * `src/models/config.py` * `tests/unit/models/test_config.py` * `tests/unit/utils/test_common.py`
|
Note Generated docstrings for this pull request at #267 |
Description
LCORE-324: add check for config file
run.yamlexistenceType of change
Related Tickets & Documents
Summary by CodeRabbit
Bug Fixes
Tests