mirror of
https://github.com/furyhawk/agent_alpha.git
synced 2026-07-21 02:25:34 +00:00
- 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.
22 lines
399 B
Python
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",
|
|
]
|