Repository navigation
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 |
…core#266: MCP resolution unification) a5b30eb -> a110214, picking up the harness-uie-demo-1 branch's two commits (both already on upstream main): - b3021fe: docs-only (architecture visualization rewrite) - a110214: unify MCP server resolution across spawn modes via the new mcp_resolver, plus inline step-level MCP configs. Behavior change to note: steps that declare no mcp_servers now resolve to None instead of inheriting the run-level catalog -- workflow steps relying on catalog inheritance must declare mcp_servers explicitly. Verified per the pin-bump rule (make demo-agents-workflows-all on the full local stack): all 7 scenarios green, agent-ephemeral still makes real MCP tool calls. The known resume-interpolation flake is unchanged (same-template comparison this run: spawn:none expanded, spawn:ephemeral literal -- upstream cloud-agents issue, orthogonal to this bump).
Description
LCORE-324: add check for config file
run.yamlexistenceType of change
Related Tickets & Documents
Summary by CodeRabbit
Bug Fixes
Tests