diff --git a/libs/cli/langgraph_cli/cli.py b/libs/cli/langgraph_cli/cli.py index 349021cc5..6a3ddf007 100644 --- a/libs/cli/langgraph_cli/cli.py +++ b/libs/cli/langgraph_cli/cli.py @@ -271,7 +271,7 @@ For production use, requires a license key in env var LANGGRAPH_CLOUD_LICENSE_KE f"""Ready! - API: http://localhost:{port} - Docs: http://localhost:{port}/docs -- LangSmith Debugger: {debugger_origin}/studio/?baseUrl={debugger_base_url_query} +- LangGraph Studio: {debugger_origin}/studio/?baseUrl={debugger_base_url_query} """ ) sys.stdout.flush() @@ -652,17 +652,11 @@ def dockerfile( help="Wait for a debugger client to connect to the debug port before starting the server", default=False, ) -@click.option( - "--debugger-url", - type=str, - default=None, - help="URL of the LangSmith Debugger instance to connect to. Defaults to https://smith.langchain.com", -) @click.option( "--studio-url", type=str, default=None, - help="(Deprecated: use --debugger-url instead) URL of the LangSmith Debugger instance to connect to.", + help="URL of the LangGraph Studio instance to connect to. Defaults to https://smith.langchain.com", ) @click.option( "--allow-blocking", @@ -698,21 +692,12 @@ def dev( no_browser: bool, debug_port: Optional[int], wait_for_client: bool, - debugger_url: Optional[str], studio_url: Optional[str], allow_blocking: bool, tunnel: bool, server_log_level: str, ): """CLI entrypoint for running the LangGraph API server.""" - if studio_url is not None: - click.secho( - "Warning: --studio-url is deprecated and will be removed in a future version. " - "Please use --debugger-url instead.", - fg="yellow", - ) - if debugger_url is None: - debugger_url = studio_url try: from langgraph_api.cli import run_server # type: ignore except ImportError: @@ -776,7 +761,7 @@ def dev( http=config_json.get("http"), ui=config_json.get("ui"), ui_config=config_json.get("ui_config"), - studio_url=debugger_url, + studio_url=studio_url, allow_blocking=allow_blocking, tunnel=tunnel, server_level=server_log_level,