🤖 自动格式化代码 [skip ci]

This commit is contained in:
github-actions[bot]
2025-06-02 13:15:04 +00:00
parent 20d68a7896
commit 243d5184e6
8 changed files with 30 additions and 34 deletions

View File

@@ -184,9 +184,7 @@ class ImageManager:
return f"[图片:{cached_description}]"
# 调用AI获取描述
prompt = (
"请用中文描述这张图片的内容。如果有文字请把文字都描述出来请留意其主题直观感受以及是否有擦边色情内容。最多100个字。"
)
prompt = "请用中文描述这张图片的内容。如果有文字请把文字都描述出来请留意其主题直观感受以及是否有擦边色情内容。最多100个字。"
description, _ = await self._llm.generate_response_for_image(prompt, image_base64, image_format)
if description is None: