处理AI胡乱生成的乱摊子

This commit is contained in:
2025-09-07 20:31:38 +08:00
parent c377a0784d
commit ba513e0827
202 changed files with 11751 additions and 67183 deletions

View File

@@ -27,6 +27,9 @@ type Application struct {
// Config 应用配置
Config *config.Config
// logger 日志组件实例
logger *logs.Logger
}
// NewApplication 创建并返回一个新的核心应用实例
@@ -50,12 +53,11 @@ func NewApplication(cfg *config.Config) *Application {
taskExecutor := task.NewExecutor(5)
return &Application{
Storage: store,
Storage: store,
API: apiInstance,
TaskExecutor: taskExecutor,
Config: cfg,
logger: logger,
logger: logs.NewLogger(),
}
}