Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: google/adk-python
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.15.0
Choose a base ref
...
head repository: google/adk-python
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.15.1
Choose a head ref
  • 5 commits
  • 32 files changed
  • 4 contributors

Commits on Nov 23, 2026

  1. fix: report Apigee tool calls whose arguments are not a JSON object

    ApigeeLlm did not check that tool call arguments from a chat completions API were a JSON object. Arguments that did not parse raised ValueError, and an array, string, number or null raised TypeError or ValueError on a non-streaming request and, on a streaming one, was handed to the tool as its arguments. Such a call is now left out of the response, which keeps its text and its other calls and reports MALFORMED_FUNCTION_CALL so a retry policy can act on it; a response stopped by a content filter or the token limit keeps that finish reason.
    
    Close #7740
    
    Co-authored-by: George Weale <[email protected]>
    PiperOrigin-RevId: 1025647049
    GWeale authored and adk-bot committed Nov 23, 2026
    Configuration menu
    Copy the full SHA
    6a4ba6a View commit details
    Browse the repository at this point in the history
  2. fix(a2a): revert persisting streamed RemoteA2aAgent output without la…

    …st_chunk
    
    Reverts the change that made `RemoteA2aAgent` emit an aggregated non-partial event after streamed artifact chunks. An integration that forwards both the partial events and the new non-partial event to its client displays the streamed answer twice.
    
    With this revert, a streamed answer that is not closed with `last_chunk` is again not persisted to the session. A follow-up will re-land the fix behind a setting.
    
    Reopens #7255
    
    Co-authored-by: Ayush Pandey <[email protected]>
    PiperOrigin-RevId: 1025737193
    ayupandey-eng authored and adk-bot committed Nov 23, 2026
    Configuration menu
    Copy the full SHA
    c4bdc84 View commit details
    Browse the repository at this point in the history

Commits on Nov 24, 2026

  1. fix: track transient instructions and gate dynamic instruction routing

    With dynamic instruction routing enabled by default, user-role tool instructions cause live sessions to speak unprompted or drop tool context on resume, reject tool-to-user or consecutive user turns on strict LiteLLM providers (such as Mistral, Perplexity, and DeepSeek reasoner), re-send routed instructions as persisted user input steps on every Interactions API turn, suppress continuation prompts, and mislead ModelArmorPlugin, ContextFilterPlugin, and MultimodalToolResultsPlugin. Routes tool dynamic instructions back to system instructions for live sessions, Interactions API, and non-allowlisted LiteLLM providers, and tracks transient user contents on LlmRequest so continuation prompts, prompt cache breakpoints, and built-in plugins ignore them.
    
    Close #8217
    
    Co-authored-by: George Weale <[email protected]>
    PiperOrigin-RevId: 1028576850
    GWeale authored and haranrk committed Nov 24, 2026
    Configuration menu
    Copy the full SHA
    347dca6 View commit details
    Browse the repository at this point in the history
  2. fix(models): handle Claude sampling settings on anthropic 1.x and 2.x

    Since anthropic 1.0 removed temperature, top_p and top_k from messages.create(), every AnthropicLlm or Claude request that sets one of them fails with a TypeError, streaming or not. In addition, anthropic 2.0 switched both the direct API header and Vertex AI's request body to API version 2026-10-21, which rejects sampling parameters with HTTP 400 even when sent through extra_body.
    
    The adapter now omits sampling settings with a UserWarning when targeting API version 2026-10-21 or later (anthropic 2.x by default, unless an AsyncAnthropic client pins an earlier anthropic-version header such as 2023-06-01), and sends them through extra_body on earlier API versions so anthropic 0.78 through 1.x keep working without a TypeError.
    
    Co-authored-by: George Weale <[email protected]>
    PiperOrigin-RevId: 1029080642
    GWeale authored and adk-bot committed Nov 24, 2026
    Configuration menu
    Copy the full SHA
    debf43d View commit details
    Browse the repository at this point in the history
  3. chore(release/candidate): release 2.15.1

    Co-authored-by: adk-bot <[email protected]>
    adk-bot and adk-bot authored Nov 24, 2026
    Configuration menu
    Copy the full SHA
    4798b7f View commit details
    Browse the repository at this point in the history
Loading