-
Notifications
You must be signed in to change notification settings - Fork 4
Fix make ty #29
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
base: main
Are you sure you want to change the base?
Fix make ty #29
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -71,6 +71,9 @@ source .venv/bin/activate | |
| We have provided a custom run.yaml file to specify the required providers. Use the following command to run the Llama Stack with the custom configuration file. | ||
|
|
||
| ``` | ||
| cp pyproject.llama-stack.toml pyproject.toml | ||
| uv sync | ||
| source .venv/bin/activate | ||
| uv run llama stack run run.yaml | ||
| ``` | ||
|
|
||
|
|
@@ -117,6 +120,9 @@ uv run llama-stack-client configure --endpoint http://localhost:8321 --api-key n | |
| ## Run the application Code | ||
|
|
||
| ```bash | ||
| cp pyproject.orig.toml pyproject.toml | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. SHould we delete the pyproject.toml from main? Because it is still present in the repo.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yeah I wasn't sure @maysunfaisal .... I suspect it is better to have one in place just in case, so that the compiling etc. of the python project is viable out of the box I also considered creating a "run llama stack" sub directory, and just move that pyproject.toml there, and then change the directions to cd into that directory, do the other stuff, etc. WDYT ... maybe I should pivot to the subdirectory ? Any other ideas on how to better manager this? |
||
| uv sync | ||
| source .venv/bin/activate | ||
| uv run streamlit run streamlit_app.py | ||
| ``` | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,38 @@ | ||
| [project] | ||
| name = "llama-stack-agentic-sample" | ||
| version = "0.1.0" | ||
| description = "Llama-Stack LangGraph Customer Service Example" | ||
| readme = "README.md" | ||
| requires-python = ">=3.12" | ||
| dependencies = [ | ||
| "docling>=2.63.0", | ||
| "llama-stack-client>=0.3.1", | ||
| "llama-stack>=0.3.1", | ||
| "pygithub>=2.8.1", | ||
| "pyyaml>=6.0.3", | ||
| "langgraph>=1.0.4", | ||
| "ollama>=0.6.1", | ||
| "mcp>=1.23.1", | ||
| "chardet>=5.2.0", | ||
| "streamlit>=1.52.1", | ||
| "grandalf>=0.8", | ||
| ] | ||
|
|
||
| [tool.setuptools.packages.find] | ||
| where = ["src"] | ||
|
|
||
| [dependency-groups] | ||
| dev = ["ruff>=0.8.0", "pytest>=7.4.0", "pre-commit>=3.5.0"] | ||
|
|
||
| [tool.ruff] | ||
| line-length = 88 | ||
| target-version = "py312" | ||
| exclude = ["tests", "*.pyi"] | ||
| include = ["src/**/*.py", "streamlit_app.py"] | ||
|
|
||
| [tool.ruff.lint] | ||
| select = ["E", "F", "I"] | ||
| ignore = [] | ||
|
|
||
| [tool.ruff.lint.isort] | ||
| known-first-party = ["src"] |
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.
1. Readme dirties dependency files
🐞 Bug⚙ MaintainabilityAgent Prompt
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools