Update StateServiceFactory to use InMemoryStateService

This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-03-28 09:57:52 -03:00
commit b54e8352fa

View file

@ -5,7 +5,7 @@ from langflow.services.state.service import InMemoryStateService
class StateServiceFactory(ServiceFactory): class StateServiceFactory(ServiceFactory):
def __init__(self): def __init__(self):
super().__init__() super().__init__(InMemoryStateService)
def create(self, settings_service: SettingsService): def create(self, settings_service: SettingsService):
return InMemoryStateService( return InMemoryStateService(