chore: Stack server no longer depends on llama-stack-client (#4094)

This dependency has been bothering folks for a long time (cc @leseb). We
really needed it due to "library client" which is primarily used for our
tests and is not a part of the Stack server. Anyone who needs to use the
library client can certainly install `llama-stack-client` in their
environment to make that work.

Updated the notebook references to install `llama-stack-client`
additionally when setting things up.
This commit is contained in:
Ashwin Bharambe 2025-11-07 09:54:09 -08:00 committed by GitHub
parent 68c976a2d8
commit f49cb0b717
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
23 changed files with 53 additions and 31 deletions

View file

@ -24,13 +24,13 @@ classifiers = [
"Topic :: Scientific/Engineering :: Information Analysis",
]
dependencies = [
"PyYAML>=6.0",
"aiohttp",
"fastapi>=0.115.0,<1.0", # server
"fire", # for MCP in LLS client
"httpx",
"jinja2>=3.1.6",
"jsonschema",
"llama-stack-client>=0.3.0",
"openai>=2.5.0",
"prompt-toolkit",
"python-dotenv",
@ -51,6 +51,11 @@ dependencies = [
"sqlalchemy[asyncio]>=2.0.41", # server - for conversations
]
[project.optional-dependencies]
client = [
"llama-stack-client>=0.3.0", # Optional for library-only usage
]
[dependency-groups]
dev = [
"pytest>=8.4",
@ -96,6 +101,7 @@ type_checking = [
"lm-format-enforcer",
"mcp",
"ollama",
"llama-stack-client>=0.3.0",
]
# These are the dependencies required for running unit tests.
unit = [