Google ADK Python v2.14.0
Google ADK Python v2.14.0 stabilizes core runtime modules, sandbox environments, and A2A, while adding breaking changes to Enum tool arguments and RunSkillScriptTool.
原始内容为英文;当前页面提供中文导航与来源说明,具体事实请以原文为准。
为什么值得关注
Google ADK Python version 2.14.0 introduces several stability updates, integrations, and breaking changes. Core modules including execution environments (BaseEnvironment, LocalEnvironment, EnvironmentToolset, DaytonaEnvironment, E2BEnvironment), evaluation classes, and A2A have graduated from experimental status. New integrations include TeamsRunner for Microsoft Teams, OpenAIDecisionsClassifier, and vector search/TTL support in MongoDbMemoryService. Chunked file streaming was added across environments, and multi-run evaluation parallelism was introduced alongside ToolArgsMatcher for semantic argument evaluation. Several breaking changes were introduced: FunctionTool parameters typed with Enum now receive Enum member objects rather than raw strings; VertexAiSessionService.create session strictly validates configuration kwargs and raises ValueError on unapproved options; and RunSkillScriptTool removes the free-form 'command' parameter in favor of structured arguments and validated script types (.py, .sh, .bash) to close a prompt-injection vulnerability.
可执行摘要
Google ADK Python 2.14.0 stabilizes execution environments (BaseEnvironment, DaytonaEnvironment, E2BEnvironment) and A2A. Breaking changes require FunctionTool Enum arguments to be handled as Enum members instead of strings, restrict VertexAiSessionService.create session kwargs, and replace free-form 'command' execution in RunSkillScriptTool with structured arguments to prevent arbitrary shell injection.
- Agent 实用度
- 94/100
- 可信度
- 96%
- 机器格式
- JSON + Markdown
开发者应核对什么
- Update FunctionTool implementations expecting raw strings for Enum-annotated arguments to use Enum members, .value, or StrEnum.
- Modify calls, evaluations, or prompts targeting RunSkillScriptTool to pass structured 'args', 'short options', and 'positional args' instead of the deprecated 'command' string.
- Audit calls to VertexAiSessionService.create session to ensure only permitted session config keys are provided, and use 'state=' and 'session id=' explicitly.
- Update WebSocket client logic for '/run live' to handle socket closures (code 1000/1007) and reconnect per run instead of reusing idle connections.