Update utils_image.py

pull/1301/head
foxplaying 2025-10-16 20:38:52 +08:00 committed by GitHub
parent 9b2b2010dd
commit 13008a14be
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -273,7 +273,7 @@ class ImageManager:
prompt = global_config.personality.visual_style
logger.info(f"[VLM调用] 为图片生成新描述 (Hash: {image_hash[:8]}...)")
description, _ = await self.vlm.generate_response_for_image(
prompt, image_base64, image_format, temperature=0.4, max_tokens=300
prompt, image_base64, image_format, temperature=0.4
)
if description is None: