mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-09-28 20:45:05 +02:00
cli: rename langgraph.json to langsmith.json
Rename the default config filename from `langgraph.json` to `langsmith.json` as part of the "LangGraph Platform" to "LangSmith Deployment" rebranding. Backward compatibility is preserved: the CLI falls back to `langgraph.json` with a deprecation warning when `langsmith.json` is not found. A new `_resolve_config` callback handles the resolution logic for all `--config` click options. Changes span libs/cli (core logic, examples, tests), libs/sdk-py (docstrings), libs/langgraph (Makefile), and .github CI scripts. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
ae76f33c6d
commit
a99d733bb5
@@ -48,7 +48,7 @@ def test_warn_non_wolfi_distro_with_debian(capsys):
|
||||
in captured.out
|
||||
)
|
||||
assert (
|
||||
'To switch, add \'"image_distro": "wolfi"\' to your langgraph.json config file.'
|
||||
'To switch, add \'"image_distro": "wolfi"\' to your langsmith.json config file.'
|
||||
in captured.out
|
||||
)
|
||||
|
||||
@@ -69,7 +69,7 @@ def test_warn_non_wolfi_distro_with_default_debian(capsys):
|
||||
in captured.out
|
||||
)
|
||||
assert (
|
||||
'To switch, add \'"image_distro": "wolfi"\' to your langgraph.json config file.'
|
||||
'To switch, add \'"image_distro": "wolfi"\' to your langsmith.json config file.'
|
||||
in captured.out
|
||||
)
|
||||
|
||||
@@ -100,7 +100,7 @@ def test_warn_non_wolfi_distro_with_other_distro(capsys):
|
||||
in captured.out
|
||||
)
|
||||
assert (
|
||||
'To switch, add \'"image_distro": "wolfi"\' to your langgraph.json config file.'
|
||||
'To switch, add \'"image_distro": "wolfi"\' to your langsmith.json config file.'
|
||||
in captured.out
|
||||
)
|
||||
|
||||
@@ -128,7 +128,7 @@ def test_warn_non_wolfi_distro_output_formatting():
|
||||
),
|
||||
(
|
||||
(
|
||||
' To switch, add \'"image_distro": "wolfi"\' to your langgraph.json config file.',
|
||||
' To switch, add \'"image_distro": "wolfi"\' to your langsmith.json config file.',
|
||||
),
|
||||
{"fg": "yellow"},
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user