From 84cbc1201c864299cd826bdded93ef3471b46e7a Mon Sep 17 00:00:00 2001 From: Alex Date: Mon, 24 Feb 2025 22:30:09 +0000 Subject: [PATCH] fix: googles update --- application/llm/google_ai.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/llm/google_ai.py b/application/llm/google_ai.py index 31943601..48254349 100644 --- a/application/llm/google_ai.py +++ b/application/llm/google_ai.py @@ -22,7 +22,7 @@ class GoogleLLM(BaseLLM): parts = [] if role and content is not None: if isinstance(content, str): - parts = [types.Part.from_text(content)] + parts = [types.Part.from_text(text=content)] elif isinstance(content, list): for item in content: if "text" in item: