Skip to content

Commit

Permalink
Merge branch 'langchain-ai:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
gitchrisqueen authored Dec 13, 2023
2 parents 3e0febe + 858f4cb commit 332b8a6
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
8 changes: 3 additions & 5 deletions .github/scripts/check_diff.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import json
import sys

ALL_DIRS = {
LANGCHAIN_DIRS = {
"libs/core",
"libs/langchain",
"libs/experimental",
Expand All @@ -23,8 +23,7 @@
".github/scripts/check_diff.py",
)
):
dirs_to_run = ALL_DIRS
break
dirs_to_run.update(LANGCHAIN_DIRS)
elif "libs/community" in file:
dirs_to_run.update(
("libs/community", "libs/langchain", "libs/experimental")
Expand All @@ -39,8 +38,7 @@
elif "libs/experimental" in file:
dirs_to_run.add("libs/experimental")
elif file.startswith("libs/"):
dirs_to_run = ALL_DIRS
break
dirs_to_run.update(LANGCHAIN_DIRS)
else:
pass
print(json.dumps(list(dirs_to_run)))
1 change: 1 addition & 0 deletions .github/workflows/_all_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ jobs:
defaults:
run:
working-directory: ${{ inputs.working-directory }}
if: ${{ ! startsWith(inputs.working-directory, 'libs/partners/') }}
steps:
- uses: actions/checkout@v4

Expand Down
2 changes: 1 addition & 1 deletion libs/cli/langchain_cli/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from langchain_cli.namespaces import template as template_namespace
from langchain_cli.utils.packages import get_langserve_export, get_package_root

__version__ = "0.0.20"
__version__ = "0.0.20rc0"

app = typer.Typer(no_args_is_help=True, add_completion=False)
app.add_typer(
Expand Down
2 changes: 1 addition & 1 deletion libs/cli/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "langchain-cli"
version = "0.0.20"
version = "0.0.20rc0"
description = "CLI for interacting with LangChain"
authors = ["Erick Friis <[email protected]>"]
license = "MIT"
Expand Down

0 comments on commit 332b8a6

Please sign in to comment.