Bug Description
I am unable to create sub-directory to hold the custom component.
Reproduction
- Define
.env with LANGFLOW_COMPONENTS_PATH=/home/sarit/codes/ls7-memory/components/
cd /home/sarit/codes/ls7-memory/components
- tree
.
├── __init__.py
└── ls7_memory
├── background_extractor.py
├── converse_custom_component.py
├── debug_merger.py
├── __init__.py
├── kstore_retrieve_components
│ ├── __init__.py
│ └── test.py
├── memory_context.py
└── memory_manager.py
- write
ls7_memory/__init__.py like this
from components.ls7_memory.memory_context import MemoryContextComponent
from components.ls7_memory.memory_manager import MemoryManagerComponent
from components.ls7_memory.background_extractor import BackgroundMemoryExtractorComponent
from components.ls7_memory.converse_custom_component import BedrockStreamingComponent
__all__ = [
"MemoryContextComponent",
"MemoryManagerComponent",
"BackgroundMemoryExtractorComponent",
"BedrockStreamingComponent"
]
- write
kstore_retrieve_components/__init__.py
from .test import sarit
__all__ = [
"sarit"
]
- write
test.py
def sarit():
print("Hello Sarit")
Expected behavior
Expect kstore_retrieve_component show up in the web UI with sub directory.
Who can help?
No response
Operating System
Ubuntu 24.04
Langflow Version
1.9.1
Python Version
3.12
Screenshot
Flow File
No response
Bug Description
I am unable to create sub-directory to hold the custom component.
Reproduction
.envwithLANGFLOW_COMPONENTS_PATH=/home/sarit/codes/ls7-memory/components/cd /home/sarit/codes/ls7-memory/componentsls7_memory/__init__.pylike thiskstore_retrieve_components/__init__.pytest.pyExpected behavior
Expect
kstore_retrieve_componentshow up in the web UI with sub directory.Who can help?
No response
Operating System
Ubuntu 24.04
Langflow Version
1.9.1
Python Version
3.12
Screenshot
Flow File
No response