fix article generation task status logging

This commit is contained in:
2026-05-05 19:47:04 +08:00
parent 82375cff46
commit 81577b6154
14 changed files with 163 additions and 35 deletions
+2 -2
View File
@@ -54,7 +54,7 @@ func main() {
app.GenerationStreams,
generationCfg,
app.Config().LLM.MaxOutputTokens,
).WithCache(app.Cache).WithConfigProvider(generationProvider)
).WithCache(app.Cache).WithLogger(app.Logger).WithConfigProvider(generationProvider)
promptRuleSvc := tenantapp.NewPromptRuleGenerationService(
app.DB,
@@ -82,7 +82,7 @@ func main() {
app.GenerationStreams,
generationCfg,
app.Config().LLM.MaxOutputTokens,
).WithCache(app.Cache).WithConfigProvider(generationProvider)
).WithCache(app.Cache).WithLogger(app.Logger).WithConfigProvider(generationProvider)
kolWorker := generateworker.NewKolGenerationWorker(
app.DB,