Support Claude 4 models
** Please make sure you read the contribution guide and file the issues in the right place. ** Contribution guide.
Is your feature request related to a problem? Please describe. Current agents don't work with Claude 4 models either sonnet or Opus
Describe the solution you'd like A clear and concise description of what you want to happen. I would like to be able to create an LLMAgent and assign it a claude-4 model and for it to work
Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.
Use LiteLLM, or create custom anthropic_llm implementation in my own repo, and load it via LLMRegistry.register supporting claude-4 models
Additional context Add any other context or screenshots about the feature request here. The claude 3 family regex is the only supported models: https://github.com/google/adk-python/blob/main/src/google/adk/models/anthropic_llm.py#L211
@genquan9 are we working on the support for this?
yes, this is in progress.
The head supports claude4 models now, https://github.com/google/adk-python/blob/main/src/google/adk/models/anthropic_llm.py#L211.