-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Description
Describe the bug
A clear and concise description of what the bug is.
src/google/adk/models/anthropic_llm.py
Using Claude models with ADK, i've observed the following issues:
- No streaming support
- No support for embedded attachments in message part
- No support for function responses that have complex python ARRAY DICTs
To Reproduce
Please share a minimal code and data to reproduce your problem.
Steps to reproduce the behavior:
2 - Add image parts to a user message and send to the ADK agent, it will fail with error.
3 - Add a python FunctionTool which returns a DICT with attributes which are arrays or complex objects. Even though ADK appears to work, Claude does not receive the response/result payload from after the function call happens. THis is different from how Gemini behaves and forces refactoring of FunctionTool to only return simple text responses.
Expected behavior
Claude on ADK supports the same capabilities as Gemini in ADK.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: [e.g. macOS, Linux, Windows]
- Python version(python -V):
- ADK version(pip show google-adk):
Model Information:
- Are you using LiteLLM: Anthropic LLM
- Which model is being used(e.g. gemini-2.5-pro) : Clause 4.5 Sonnet
Additional context
Add any other context about the problem here.