Skip to content

recommend uv run instead of python in rag_guide.md#1302

Merged
tisnik merged 1 commit intolightspeed-core:mainfrom
mwcz:patch-1
Mar 10, 2026
Merged

recommend uv run instead of python in rag_guide.md#1302
tisnik merged 1 commit intolightspeed-core:mainfrom
mwcz:patch-1

Conversation

@mwcz
Copy link
Contributor

@mwcz mwcz commented Mar 10, 2026

Description

Update rag_guide.md to recommend uv run instead of python for running llama_stack_configuration.py, otherwise the dependency on azure will not be loaded.

$ python src/llama_stack_configuration.py -c lightspeed-stack.yaml -i run.yaml -o run_enriched.yaml
Traceback (most recent call last):
  File "/home/user/projects/lightspeed-stack/src/llama_stack_configuration.py", line 14, in <module>
    from azure.core.exceptions import ClientAuthenticationError
ModuleNotFoundError: No module named 'azure'

Type of change

  • Refactor
  • New feature
  • Bug fix
  • CVE fix
  • Optimization
  • Documentation Update
  • Configuration Update
  • Bump-up service version
  • Bump-up dependent library
  • Bump-up library or tool used for development (does not change the final image)
  • CI configuration change
  • Konflux configuration change
  • Unit tests improvement
  • Integration tests improvement
  • End to end tests improvement
  • Benchmarks improvement

Tools used to create PR

Identify any AI code assistants used in this PR (for transparency and review context)

  • Assisted-by: none
  • Generated by: none

Related Tickets & Documents

  • Related Issue #
  • Closes #

Checklist before requesting a review

  • I have performed a self-review of my code.
  • PR has passed all pre-merge test jobs.
  • If it is a core feature, I have added thorough tests.

Testing

  • Please provide detailed steps to perform tests related to this code change.
  • How were the fix/results from this change verified? Please provide relevant screenshots or results.

Summary by CodeRabbit

  • Documentation
    • Updated the RAG guide to reflect the correct command syntax for executing configuration scripts.

…ent script

Update rag_guide.md to recommend `uv run` instead of `python` for running  `llama_stack_configuration.py`, otherwise the dependency on `azure` will not be loaded.
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Mar 10, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 50267176-9d9e-4e2c-9b7e-214c1ab1098f

📥 Commits

Reviewing files that changed from the base of the PR and between 36c2ae2 and d59b6ba.

📒 Files selected for processing (1)
  • docs/rag_guide.md

Walkthrough

Documentation update to the RAG guide that changes the command for executing a configuration script from using python directly to using uv run for dependency and environment management.

Changes

Cohort / File(s) Summary
Documentation
docs/rag_guide.md
Updated command invocation in the "Automatic Configuration Enrichment" example from python src/llama_stack_configuration.py... to uv run src/llama_stack_configuration.py...

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the primary change: recommending uv run over python in the rag_guide.md documentation file.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Tip

Try Coding Plans. Let us write the prompt for your AI agent so you can ship faster (with fewer bugs).
Share your feedback on Discord.


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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Contributor

@tisnik tisnik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tisnik tisnik merged commit be115c9 into lightspeed-core:main Mar 10, 2026
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants