Google Team Member and Copybara-Service
a5b742b360
feat: introduces a new AgentEngineSandboxCodeExecutor class that supports executes agent generated code
...
The AgentEngineSandboxCodeExecutor uses the Vertex AI Code Execution Sandbox API to execute code
PiperOrigin-RevId: 821197794
2025-10-18 20:24:04 -07:00
Wei Sun (Jack) and Copybara-Service
af74eba695
test: Skips test_langchain_tool.py temporarily after their new 1.0.0 release breaks existings deps of langchain
...
PiperOrigin-RevId: 820875043
2025-10-17 16:53:11 -07:00
Google Team Member and Copybara-Service
dbd818be0b
feat: introduces a new AgentEngineSandboxCodeExecutor class that supports executes agent generated code
...
The AgentEngineSandboxCodeExecutor uses the Vertex AI Code Execution Sandbox API to execute code
PiperOrigin-RevId: 820854185
2025-10-17 15:42:24 -07:00
Xiang (Sean) Zhou and Copybara-Service
a2d9f13fa1
chore: Add span for context caching handling and new cache creation
...
PiperOrigin-RevId: 820852233
2025-10-17 15:37:35 -07:00
Wei Sun (Jack) and Copybara-Service
0df67599c0
chore: Checks gemini version for 2 and above for gemini-builtin tools
...
PiperOrigin-RevId: 820848897
2025-10-17 15:27:47 -07:00
Shangjie Chen and Copybara-Service
8b3ed059c2
chore: Refactor and fix state management in the session service
...
Also refactoring the test cases to focus on the expected behaviors
PiperOrigin-RevId: 820734484
2025-10-17 10:04:36 -07:00
Ankur Sharma and Copybara-Service
cf3403231d
chore: Fix evaluation test cases to only use pytest features
...
PiperOrigin-RevId: 820700378
2025-10-17 08:25:17 -07:00
Shangjie Chen and Copybara-Service
9dce06f9b0
feat: Add rewind_async to support rewinding the session to before a previous invocation
...
PiperOrigin-RevId: 820552460
2025-10-16 23:24:40 -07:00
George Weale and Copybara-Service
307896aece
fix: Exclude additionalProperties from Gemini schemas
...
PiperOrigin-RevId: 820542466
2025-10-16 22:40:43 -07:00
Kathy Wu and Copybara-Service
6dcbb5aca6
feat: Support dynamic per-request headers in MCPToolset
...
Add a header_provider param which is a callable[ReadonlyContext, Dict[str, Any]] for users to build headers in MCPToolset
fix: https://github.com/google/adk-python/issues/3156
PiperOrigin-RevId: 820412372
2025-10-16 15:12:43 -07:00
Xiang (Sean) Zhou and Copybara-Service
2a8fdd94e1
chore: Add computer use sample agent
...
PiperOrigin-RevId: 820407078
2025-10-16 14:59:27 -07:00
Xuan Yang and Copybara-Service
37a153ef94
ci: Fix the logs importing for PR triaging agent
...
PiperOrigin-RevId: 820395414
2025-10-16 14:27:18 -07:00
Giovanni Galloro and Copybara-Service
ce4638651f
docs: Bump models in llms and llms-full to Gemini 2.5
...
Merge https://github.com/google/adk-python/pull/3166
COPYBARA_INTEGRATE_REVIEW=https://github.com/google/adk-python/pull/3166 from ggalloro:model-updates e741c8b266ef8cd7def203f94e8d9f8608c06685
PiperOrigin-RevId: 820381464
2025-10-16 13:53:45 -07:00
Doug Gebert and Copybara-Service
e6e2767c39
chore: Update gemini_llm_connection.py - typo spelling correction
...
Merge https://github.com/google/adk-python/pull/3168
Fixed misspelling on line 228 from:
- logger.info('Redeived session...
To:
- logger.info('Received session...
COPYBARA_INTEGRATE_REVIEW=https://github.com/google/adk-python/pull/3168 from DHHHG:patch-1 90b76d72ba474cd0092b2cc8d955b918c18d05bd
PiperOrigin-RevId: 820369618
2025-10-16 13:23:58 -07:00
Kacper Jawoszek and Copybara-Service
e50f05a9fc
feat(otel): env variable for disabling llm_request and llm_response in spans
...
The default without the variable set is to keep the content in spans to keep backward compatible behavior for existing users.
This allows to enable tracing without potential PII data from request and response. Google GenAI instrumentation lib requires an explicit opt-in to enable request and response content - see https://github.com/open-telemetry/opentelemetry-python-contrib/tree/main/instrumentation-genai/opentelemetry-instrumentation-google-genai#enabling-message-content .
PiperOrigin-RevId: 820351154
2025-10-16 13:07:27 -07:00
Xuan Yang and Copybara-Service
9dc00360e3
ci: Add state info for PR triaging agent
...
PiperOrigin-RevId: 820340584
2025-10-16 13:07:18 -07:00
Google Team Member and Copybara-Service
5a543c00df
feat: implement new methods in in-memory artifact service
...
* save_artifact with custom_metadata
* list_artifact_versions
* get_artifact_version
PiperOrigin-RevId: 820321444
2025-10-16 13:07:09 -07:00
Alexey Guseynov and Copybara-Service
1e1d63f34c
fix: Internal change
...
PiperOrigin-RevId: 820159440
2025-10-16 13:07:00 -07:00
Xuan Yang and Copybara-Service
f51380f9ea
feat: Extend ReflectAndRetryToolPlugin to support hallucinating function calls
...
PiperOrigin-RevId: 820051762
2025-10-16 13:06:51 -07:00
Xuan Yang and Copybara-Service
3734ceaa6c
fix: Use the agent's model when creating Google search agent tool
...
PiperOrigin-RevId: 819980797
2025-10-16 13:06:41 -07:00
Google Team Member and Copybara-Service
86097afe49
feat: Update AgentEvaluator to handle async ADK agent definitions
...
AgentEvaluator should recognize root_agent and get_agent_async as valid structures for ADK agent definitions.
PiperOrigin-RevId: 819976635
2025-10-16 13:06:31 -07:00
Google Team Member and Copybara-Service
a17f3b2e6d
feat: Allow custom request and event converters in A2aAgentExecutor
...
This change introduces type aliases for request and event conversion functions:
- `A2ARequestToADKRunArgsConverter`: For converting A2A `RequestContext` to an `ADKRunArgs` Pydantic model.
- `AdkEventToA2AEventsConverter`: For converting ADK `Event` to a list of A2A `A2AEvent` objects.
The `convert_a2a_request_to_adk_run_args` function now returns a structured `ADKRunArgs` model instead of a generic dictionary, improving type safety.
These converter types can now be provided via the `A2aAgentExecutorConfig` to customize the conversion logic used by the `A2aAgentExecutor`. The executor defaults to the existing `convert_a2a_request_to_adk_run_args` and `convert_event_to_a2a_events` functions if no custom converters are specified.
This allows users to inject their own logic for handling request and event conversions, for example, to add custom metadata or transform data types, without modifying the core executor.
PiperOrigin-RevId: 819934960
2025-10-16 13:06:21 -07:00
Shangjie Chen and Copybara-Service
6ab1498aa0
fix: Add usage_metadata and citation_metadata to DatabaseSessionService
...
PiperOrigin-RevId: 819900773
2025-10-16 13:05:52 -07:00
Google Team Member and Copybara-Service
2424d6a3b1
feat: Reorder create_time and mime_type to ArtifactVersion
...
Before: http://sponge2/ba05f9ac-c13d-43b6-bb8a-3e1b029cc705(failed)
After: http://sponge2/a623ba76-62c1-4d17-b4b6-22044333a801
PiperOrigin-RevId: 819896989
2025-10-15 13:46:12 -07:00
Lin Nikaido and Copybara-Service
36c96ec5b3
fix : #2883 pickle data was truncated error in database session using MySql
...
Merge https://github.com/google/adk-python/pull/2884
closes : #2883
# Fix
When put leage data into event and load it. the _pickle.UnpicklingError was occurred.
The root caurse is `DynamicPickleType` mapping `BLOB` as default in case of MySql, not `LONGBLOB`. And learge data will be able to cut off tail of data. And raise pickle error.
# What todo
Defined `LONFBLOB` as default explicitly.
# Question
Where should we code the test code like this case? I cannot found the test code the DB and table was created expectedly.
COPYBARA_INTEGRATE_REVIEW=https://github.com/google/adk-python/pull/2884 from Lin-Nikaido:fix/#2883-mysql-datatype-fix 2be9b38fc3f5d5083b0b6715a2bf7b4eff5d947b
PiperOrigin-RevId: 819891727
2025-10-15 13:33:22 -07:00