- Reorganize imports and remove unused dependencies across memory agent controllers - Extract config validation logic into dedicated validators module - Create new memory_config_model and memory_config_schema for configuration management - Implement memory_config_service for centralized config handling - Add embedder_utils module for embedding model utilities - Refactor memory agent service to use new config validation framework - Clean up configuration files (remove config.json, testdata.json, dbrun.json) - Remove deprecated hybrid_chatbot.py and config overrides - Update logging configuration and error handling across memory modules - Consolidate LLM and embedding model validation into validators - Improve code organization and reduce duplication in memory storage services - Enhance type classification and verification tools with better error handling
40 lines
1007 B
Python
40 lines
1007 B
Python
# -*- coding: utf-8 -*-
|
|
"""Memory Configuration Model - Backward Compatibility
|
|
|
|
This module provides backward compatibility for imports.
|
|
All classes have been moved to app.schemas.memory_config_schema.
|
|
|
|
DEPRECATED: Import from app.schemas.memory_config_schema instead.
|
|
"""
|
|
|
|
# Re-export for backward compatibility
|
|
from app.schemas.memory_config_schema import (
|
|
ConfigurationError,
|
|
InvalidConfigError,
|
|
MemoryConfig,
|
|
MemoryConfigValidation,
|
|
ModelInactiveError,
|
|
ModelNotFoundError,
|
|
ModelValidation,
|
|
WorkspaceNotFoundError,
|
|
WorkspaceValidation,
|
|
validate_memory_config_data,
|
|
validate_model_data,
|
|
validate_workspace_data,
|
|
)
|
|
|
|
__all__ = [
|
|
"ConfigurationError",
|
|
"InvalidConfigError",
|
|
"MemoryConfig",
|
|
"MemoryConfigValidation",
|
|
"ModelInactiveError",
|
|
"ModelNotFoundError",
|
|
"ModelValidation",
|
|
"WorkspaceNotFoundError",
|
|
"WorkspaceValidation",
|
|
"validate_memory_config_data",
|
|
"validate_model_data",
|
|
"validate_workspace_data",
|
|
]
|