Skip to content

anthropic_llm - bugs/missing support #3250

@marcfong

Description

@marcfong

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:

  1. No streaming support
  2. No support for embedded attachments in message part
  3. 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.

Metadata

Metadata

Labels

models[Component] Issues related to model support

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions