mirror of
https://github.com/EvolutionAPI/adk-python.git
synced 2025-12-11 10:59:34 -06:00
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 |
||
|---|---|---|
| .. | ||
| integration | ||
| unittests | ||
| __init__.py | ||