Skip to content

Commit 8e8fac1

Browse files
author
elliottconnor
committed
Adjusting tool call response for models that expect an iterable
1 parent 089c1e6 commit 8e8fac1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/google/adk/models/lite_llm.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ def _content_to_message_param(
179179
return ChatCompletionAssistantMessage(
180180
role=role,
181181
content=_get_content(content.parts),
182-
tool_calls=tool_calls or None,
182+
tool_calls=tool_calls or [],
183183
)
184184

185185

0 commit comments

Comments
 (0)