Files
agent_alpha/backend/repositories/__init__.py
T
furyhawk 1c203b6bdb Refactor authentication and chat services to use Redis for token management and message storage
- Introduced `auth_token_repo` for handling auth token operations in Redis.
- Created `chat_repo` for managing chat sessions and messages in Redis.
- Implemented `ChatService` and `AuthService` to encapsulate business logic for chat and authentication.
- Updated routes to utilize new service and repository layers, removing direct database calls.
- Enhanced user management with `UserService` for CRUD operations and user authentication.
- Revised architecture documentation to reflect the new service-repository pattern.
2026-06-14 19:24:12 +08:00

22 lines
399 B
Python

"""Repository module — async CRUD helpers for DB models."""
from backend.repositories import (
auth_token_repo,
chat_file_repo,
chat_repo,
rag_document_repo,
sync_log_repo,
sync_source_repo,
user_repo,
)
__all__ = [
"auth_token_repo",
"chat_file_repo",
"chat_repo",
"rag_document_repo",
"sync_log_repo",
"sync_source_repo",
"user_repo",
]