We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d9a7e7 commit f70eeb3Copy full SHA for f70eeb3
src/google/adk/models/anthropic_llm.py
@@ -142,7 +142,7 @@ def content_to_message_param(
142
message_block = []
143
for part in content.parts or []:
144
# Image data is not supported in Claude for model turns.
145
- if _is_image_part(part):
+ if content.role != "user" and _is_image_part(part):
146
logger.warning("Image data is not supported in Claude for model turns.")
147
continue
148
0 commit comments