40 lines
794 B
Python
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

"""
核心功能模块包
提供项目的核心功能和基础架构
"""
# 版本信息
__version__ = '1.0.0'
# 导出主要类和函数方便直接从core包导入
from .config import (
get_config_manager,
ConfigManager,
AIModelConfig,
PosterConfig,
ContentConfig,
ResourceConfig,
SystemConfig,
GenerateTopicConfig
)
from .ai import AIAgent
from .exception import TravelContentCreatorError, retry_on_failure, handle_exceptions
__all__ = [
# config
"get_config_manager",
"ConfigManager",
"AIModelConfig",
"PosterConfig",
"ContentConfig",
"ResourceConfig",
"SystemConfig",
"GenerateTopicConfig",
# ai
"AIAgent",
# exception
"TravelContentCreatorError",
"retry_on_failure",
"handle_exceptions",
]