Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ dependencies = [
# Used by authentication/k8s integration
"kubernetes>=30.1.0",
# Used to call Llama Stack APIs
"llama-stack==0.2.19",
"llama-stack-client==0.2.19",
"llama-stack==0.2.20",
"llama-stack-client==0.2.20",
# Used by Logger
"rich>=14.0.0",
# Used by JWK token auth handler
Expand All @@ -43,7 +43,7 @@ dependencies = [
"authlib>=1.6.0",
# OpenAPI exporter
"email-validator>=2.2.0",
"openai==1.99.9",
"openai>=1.99.9",
Copy link
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue

Unbounded OpenAI dep can break builds; add an upper bound.

Use a safe range to avoid accidental 2.x upgrades and ensure reproducibility.

Apply:

-    "openai>=1.99.9",
+    "openai>=1.99.9,<2.0.0",
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
"openai>=1.99.9",
"openai>=1.99.9,<2.0.0",
🤖 Prompt for AI Agents
In pyproject.toml around line 46, the OpenAI dependency is unbounded on the
upper side which can allow accidental 2.x upgrades; update the requirement to
include an explicit upper bound (for example constrain it to be <2.0.0) so the
spec reads something like openai>=1.99.9,<2.0.0, then regenerate/update your
lockfile (poetry.lock or equivalent) to ensure reproducible installs.

# Used by database interface
"sqlalchemy>=2.0.42",
# Used by Llama Stack version checker
Expand Down
2 changes: 1 addition & 1 deletion src/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Minimal and maximal supported Llama Stack version
MINIMAL_SUPPORTED_LLAMA_STACK_VERSION = "0.2.17"
MAXIMAL_SUPPORTED_LLAMA_STACK_VERSION = "0.2.19"
MAXIMAL_SUPPORTED_LLAMA_STACK_VERSION = "0.2.20"

UNABLE_TO_PROCESS_RESPONSE = "Unable to process this request"

Expand Down
24 changes: 12 additions & 12 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading