Skip to content

Commit

Permalink
templates, cli: more security deps (#19006)
Browse files Browse the repository at this point in the history
  • Loading branch information
efriis committed Mar 13, 2024
1 parent 9052d05 commit 74b2c0a
Show file tree
Hide file tree
Showing 87 changed files with 1,733 additions and 1,508 deletions.
3 changes: 3 additions & 0 deletions .github/scripts/check_diff.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@
found = True
if found:
dirs_to_run["extended-test"].add(dir_)
elif file.startswith("libs/cli"):
# todo: add cli makefile
pass
elif file.startswith("libs/partners"):
partner_dir = file.split("/")[2]
if os.path.isdir(f"libs/partners/{partner_dir}") and [
Expand Down
1,495 changes: 875 additions & 620 deletions libs/cli/poetry.lock

Large diffs are not rendered by default.

40 changes: 20 additions & 20 deletions templates/basic-critique-revise/poetry.lock

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

2 changes: 1 addition & 1 deletion templates/basic-critique-revise/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ openai = "<2"

[tool.poetry.group.dev.dependencies]
langchain-cli = ">=0.0.21"
fastapi = "^0.104.0"
fastapi = ">=0.104.0,<1"
sse-starlette = "^1.6.5"

[tool.langserve]
Expand Down
40 changes: 20 additions & 20 deletions templates/chain-of-note-wiki/poetry.lock

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

2 changes: 1 addition & 1 deletion templates/chain-of-note-wiki/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ langchainhub = "^0.1.14"

[tool.poetry.group.dev.dependencies]
langchain-cli = ">=0.0.21"
fastapi = "^0.104.0"
fastapi = ">=0.104.0,<1"
sse-starlette = "^1.6.5"

[tool.langserve]
Expand Down
40 changes: 20 additions & 20 deletions templates/chat-bot-feedback/poetry.lock

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

6 changes: 2 additions & 4 deletions templates/chat-bot-feedback/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ langchainhub = ">=0.1.13"

[tool.poetry.group.dev.dependencies]
langchain-cli = ">=0.0.21"
fastapi = "^0.104.0"
fastapi = ">=0.104.0,<1"
sse-starlette = "^1.6.5"

[tool.langserve]
Expand All @@ -28,7 +28,5 @@ integrations = ["OpenAI", "LangSmith"]
tags = ["langsmith"]

[build-system]
requires = [
"poetry-core",
]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

0 comments on commit 74b2c0a

Please sign in to comment.