github googleapis/python-genai v1.16.0

latest releases: v1.33.0, v1.32.0, v1.31.0...
3 months ago

1.16.0 (2025-05-19)

Features

  • Add time range filter to Google Search Tool (b79c414)
  • Add basic support for async function calling. (6258dad)
  • Add Files module with Files.upload, .get and .delete (f4dd629)
  • Add live proactivity_audio and enable_affective_dialog (778d6a2)
  • Add Lyria Realtime music generation support for Python (e746417)
  • Add Lyria Realtime Music Types (18d2407)
  • Add MCP telemetry usage to Python SDK. (0bc6ab5)
  • Add multi-speaker voice config (1d73827)
  • Add support for lat/long in search. (50ddf98)
  • Add support for MCP in Python SDK. (dcd7819)
  • Add support for MCP in Python SDK. (3f531c3)
  • Add telemetry headers for synchronous calls with MCP (638c7f4)
  • Add Video FPS, and enable start/end_offset for MLDev (bfaa1df)
  • Raises an error when there are duplicate tool names. (301c699)
  • Support customer-managed encryption key in cached content (e951337)
  • Support ephemeral token creation in Python (141d540)
  • Support models.get/delete/update in Java (aeaadf8)
  • Support Url Context Retrieval tool (cbd1ea6)
  • Support using ephemeral token in Live session connection in Python (141d540)

Bug Fixes

  • Clone config when parsing for MCP tools (5feeb60)
  • Fix imports if mcp is not installed (e46eb05)
  • Live tools (032d1fe)
  • Prevent MCP label from being appended multiple times if they already exist (974ba07)
  • Typo in error message. (9a45bfd)
  • Update parse_config_for_mcp_tools to remove the deep copy of the config and filter tools (d4dd2bb)
  • Use inspect.cleandoc on function docstrings in generate_function_declaration. (bc664d9)

Documentation

  • Add docs for enum fields (2634e01)
  • Regenerate docs for 1.15.0 (a3fc532)

Miscellaneous Chores

  • Fix Lyria method name for JS, update parameters type (0a5d68d)
  • Release 1.16.0 (181d5b7)

Don't miss a new python-genai release

NewReleases is sending notifications on new releases.