adk-python/tests/unittests/models
Selcuk Gun eaee49bc89 fix: Simplify content for ollama provider
Even though litellm type definitions and openai API specifies content as list of dictionaries (with type and relevant attributes potentially to allow multimodal inputs/outputs in addition to text), ollama has been demonstrating marshal errors. As a workaround this change simplifies the content as string when there is no more than one content part.

Fixes #642, #928, #376

PiperOrigin-RevId: 766890141
2025-06-03 17:37:43 -07:00
..
__init__.py Support async agent and model callbacks 2025-05-06 15:14:10 -07:00
test_anthropic_llm.py feat: Update for anthropic models 2025-06-03 16:55:34 -07:00
test_google_llm.py chore: Add agent engine telemetry 2025-05-30 14:49:39 -07:00
test_litellm.py fix: Simplify content for ollama provider 2025-06-03 17:37:43 -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