🚨 auto fix by pre-commit hooks

This commit is contained in:
pre-commit-ci[bot] 2025-12-09 03:23:02 +00:00
parent 3afedc8e3c
commit 5bc5feca78
2 changed files with 1 additions and 3 deletions

View File

@ -119,8 +119,7 @@ class GeminiAdapter(BaseAdapter):
system_instruction_parts = [{"text": msg.content}]
elif isinstance(msg.content, list):
system_instruction_parts = [
await converter.convert_part(part)
for part in msg.content
await converter.convert_part(part) for part in msg.content
]
continue

View File

@ -302,7 +302,6 @@ async def _generate_image_from_message(
messages = await normalize_to_llm_messages(message)
async with await get_model_instance(model) as model_instance:
response = await model_instance.generate_response(messages, config=config)
if not response.images: