Revert "为长任务插件接入后台任务模式"

This reverts commit 0d1362f97e.
This commit is contained in:
Liu
2026-05-01 12:45:34 +08:00
parent 08db0ea07e
commit e75fe04b77
7 changed files with 78 additions and 351 deletions

View File

@@ -36,11 +36,3 @@ legacy_model = "turbo"
[AIGenImage.llm]
scene = "image.generate"
image_endpoint = "images/generations"
[runtime]
# AI 绘图属于长耗时命令:
# 1. 上游模型生成、下载与落盘都可能持续几十秒到数分钟;
# 2. 这里启用 background让它在后台任务池里跑避免长期占住前台消息并发槽位
# 3. 超时时间放宽到 7 分钟,兼容慢模型或高峰期图像生成延迟。
message_dispatch_mode = "background"
plugin_process_timeout_seconds = 420