Revert "Refactor state management to use Zustand, migrate components to CustomComponent and other fixes"
This commit is contained in:
parent
642e57d21e
commit
f3b3d2cf68
239 changed files with 28527 additions and 15390 deletions
|
|
@ -16,7 +16,7 @@ from langflow.interface.custom.custom_component import CustomComponent
|
|||
from langchain.llms.base import BaseLLM
|
||||
from langchain.chains import LLMChain
|
||||
from langchain.prompts import PromptTemplate
|
||||
from langchain_core.documents import Document
|
||||
from langchain.schema import Document
|
||||
|
||||
import requests
|
||||
|
||||
|
|
@ -224,7 +224,7 @@ def test_custom_component_get_function_entrypoint_return_type():
|
|||
Test the get_function_entrypoint_return_type
|
||||
property of the CustomComponent class.
|
||||
"""
|
||||
from langchain_core.documents import Document
|
||||
from langchain.schema import Document
|
||||
|
||||
custom_component = CustomComponent(code=code_default, function_entrypoint_name="build")
|
||||
return_type = custom_component.get_function_entrypoint_return_type
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue