Skip to content

Commit 2a08b46

Browse files
Luboslav Yordanovclaude
authored andcommitted
fix: Replace langchain_classic with langchain_community
Fixed incorrect import in generate_code_node.py that was causing ModuleNotFoundError. langchain_classic doesn't exist, should be langchain_community. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 0bb372e commit 2a08b46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scrapegraphai/nodes/generate_code_node.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from bs4 import BeautifulSoup
1313
from jsonschema import ValidationError as JSONSchemaValidationError
1414
from jsonschema import validate
15-
from langchain_classic.output_parsers.structured import (
15+
from langchain_community.output_parsers.structured import (
1616
ResponseSchema,
1717
StructuredOutputParser,
1818
)

0 commit comments

Comments
 (0)