项目AI生成时不携带附件

This commit is contained in:
2026-06-04 17:48:37 +08:00
parent ca560e977b
commit fd9a259917
7 changed files with 112 additions and 24 deletions
+7 -1
View File
@@ -207,7 +207,13 @@ class TaskQueue:
try:
engine = await get_active_image_engine(db)
poll_result = await asyncio.to_thread(submit_image_task, db, engine, record)
poll_result = await asyncio.to_thread(
submit_image_task,
db,
engine,
record,
include_media_references=False,
)
if poll_result["error"] == "":
remote_url = poll_result.get("image_url")