Skip to content

Commit 523ca60

Browse files
fix(ui): import hierarchical session store from correct module
Agent-Logs-Url: https://github.com/MervinPraison/PraisonAI/sessions/2391890c-5d2f-4a45-b424-67a3861f5484 Co-authored-by: MervinPraison <454862+MervinPraison@users.noreply.github.com>
1 parent 065f72a commit 523ca60

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/praisonai/praisonai/ui/_aiui_datastore.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class BaseDataStore:
1717

1818
try:
1919
from praisonaiagents.session import SessionStoreProtocol
20-
from praisonaiagents.session.stores import get_hierarchical_session_store
20+
from praisonaiagents.session import get_hierarchical_session_store
2121
except ImportError:
2222
# Fallback when praisonaiagents not available
2323
SessionStoreProtocol = None
@@ -97,4 +97,4 @@ async def get_messages(self, session_id: str) -> list[dict[str, Any]]:
9797
try:
9898
return self._store.get_chat_history(session_id) or []
9999
except Exception:
100-
return []
100+
return []

0 commit comments

Comments
 (0)