From 77ccb4b1cff092e1308ce002dd06e50ec0d70328 Mon Sep 17 00:00:00 2001 From: Eugene Yurtsev Date: Sat, 14 Sep 2024 14:40:35 -0400 Subject: [PATCH] cli[patch]: Update the migration script message (#26490) Update the migration script message --- libs/cli/langchain_cli/namespaces/migrate/main.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libs/cli/langchain_cli/namespaces/migrate/main.py b/libs/cli/langchain_cli/namespaces/migrate/main.py index b4d8e69a2d7..019366878c6 100644 --- a/libs/cli/langchain_cli/namespaces/migrate/main.py +++ b/libs/cli/langchain_cli/namespaces/migrate/main.py @@ -21,9 +21,11 @@ def migrate( Any undocumented arguments will be passed to the Grit CLI. """ rich.print( - "✈️ This script will help you migrate to a recent version LangChain. " + "✈️ This script will help you migrate to a LangChain 0.3. " "This migration script will attempt to replace old imports in the code " - "with new ones.\n\n" + "with new ones. " + "If you need to migrate to LangChain 0.2, please downgrade to version 0.0.29 " + "of the langchain-cli.\n\n" "🔄 You will need to run the migration script TWICE to migrate (e.g., " "to update llms import from langchain, the script will first move them to " "corresponding imports from the community package, and on the second "