adk-python/tests/unittests/models
Selcuk Gun b181cbc8bc fix: Handle non-indexed function call chunks with incremental fallback index
This is in response to the litellm v1.71.2 + ollama v0.9.0 sending function call chunks with 0 indices across multiple calls and lacking call ids.

Solutions introduced:
1. increment fallback index when accumulated arg becomes json parsable.
2. tolerate finish reason == stop when tool calls are present
3. fallback to index when tool call id is None

Fixes https://github.com/google/adk-python/issues/294

PiperOrigin-RevId: 766258344
2025-06-02 10:51:56 -07:00
..
__init__.py Support async agent and model callbacks 2025-05-06 15:14:10 -07:00
test_google_llm.py chore: Add agent engine telemetry 2025-05-30 14:49:39 -07:00
test_litellm.py fix: Handle non-indexed function call chunks with incremental fallback index 2025-06-02 10:51:56 -07:00
test_models.py chore: Adding regex for claude-4 models to anthropic_llm and updating tests 2025-05-28 13:39:04 -07:00