diff --git a/src/uipath_langchain/_cli/_templates/langgraph.json.template b/src/uipath_langchain/_cli/_templates/langgraph.json.template index 4d52ccaa..40840576 100644 --- a/src/uipath_langchain/_cli/_templates/langgraph.json.template +++ b/src/uipath_langchain/_cli/_templates/langgraph.json.template @@ -1,7 +1,5 @@ { - "dependencies": ["."], "graphs": { "agent": "./main.py:graph" - }, - "env": ".env" - } + } +} diff --git a/src/uipath_langchain/_cli/cli_new.py b/src/uipath_langchain/_cli/cli_new.py index db05fa2e..5f819aa4 100644 --- a/src/uipath_langchain/_cli/cli_new.py +++ b/src/uipath_langchain/_cli/cli_new.py @@ -31,7 +31,7 @@ def generate_pyproject(target_directory, project_name): description = "{project_name}" authors = [{{ name = "John Doe", email = "john.doe@myemail.com" }}] dependencies = [ - "uipath-langchain>=0.1.0", + "uipath-langchain>=0.2.0", ] requires-python = ">=3.11" """ @@ -47,7 +47,6 @@ def langgraph_new_middleware(name: str) -> MiddlewareResult: try: with console.spinner(f"Creating new agent {name} in current directory ..."): - generate_pyproject(directory, name) generate_script(directory) console.success("Created 'main.py' file.") console.success("Created 'langgraph.json' file.")