mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2025-12-14 21:52:56 +08:00
🚨 auto fix by pre-commit hooks
This commit is contained in:
parent
de5c77407d
commit
78c59f4f28
@ -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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user