The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
cli[patch]: Fix Tuple typing problem when create new langchain app (#19141)
Mauricio Cruzfb9ce95184c6
diff --git a/libs/cli/langchain_cli/utils/pyproject.py b/libs/cli/langchain_cli/utils/pyproject.pyindex 6bf85417e7..07ce465e2c 100644--- a/libs/cli/langchain_cli/utils/pyproject.py+++ b/libs/cli/langchain_cli/utils/pyproject.py@@ -1,5 +1,5 @@from pathlib import Path-from typing import Any, Dict, Iterable+from typing import Any, Dict, Iterable, Tuplefrom tomlkit import dump, inline_table, loadfrom tomlkit.items import InlineTable@@ -12,7 +12,7 @@ def _get_dep_inline_table(path: Path) -> InlineTable:def add_dependencies_to_pyproject_toml(- pyproject_toml: Path, local_editable_dependencies: Iterable[tuple[str, Path]]+ pyproject_toml: Path, local_editable_dependencies: Iterable[Tuple[str, Path]]) -> None:"""Add dependencies to pyproject.toml."""with open(pyproject_toml, encoding="utf-8") as f: