From 78c59f4f28bdc48e3a22cfcc500e78d53d3b282a Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 12 Dec 2025 09:12:34 +0000 Subject: [PATCH] :rotating_light: auto fix by pre-commit hooks --- zhenxun/services/llm/adapters/gemini.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/zhenxun/services/llm/adapters/gemini.py b/zhenxun/services/llm/adapters/gemini.py index 109569d2..720bdbe4 100644 --- a/zhenxun/services/llm/adapters/gemini.py +++ b/zhenxun/services/llm/adapters/gemini.py @@ -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