diff --git a/libs/cli/langgraph_cli/deploy.py b/libs/cli/langgraph_cli/deploy.py index 97d339759..a6e8403e6 100644 --- a/libs/cli/langgraph_cli/deploy.py +++ b/libs/cli/langgraph_cli/deploy.py @@ -1607,7 +1607,7 @@ def _deploy_cmd( message = ( "We couldn't find a langgraph.json file. Run `langgraph deploy` from " "the root of a LangSmith Deployment project. To get started, visit " - "https://docs.langchain.com/langsmith/application-structure." + "https://docs.langchain.com/langsmith/deployment-quickstart." ) if json_output: em.error(message) diff --git a/libs/cli/tests/unit_tests/cli/test_cli.py b/libs/cli/tests/unit_tests/cli/test_cli.py index fe2b77ed0..ca0ec7a04 100644 --- a/libs/cli/tests/unit_tests/cli/test_cli.py +++ b/libs/cli/tests/unit_tests/cli/test_cli.py @@ -329,7 +329,7 @@ def test_deploy_missing_config_shows_actionable_error(tmp_path, monkeypatch) -> assert result.exit_code == 1 assert "We couldn't find a langgraph.json file." in result.output assert "Run `langgraph deploy` from the root" in result.output - assert "https://docs.langchain.com/langsmith/application-structure" in result.output + assert "https://docs.langchain.com/langsmith/deployment-quickstart" in result.output assert "Traceback" not in result.output