Hangfei Lin and Copybara-Service
84f2f417f7
fix: Rollback compaction handling from _get_contents
...
The sorting may cause problems in complex cases so rolling it back. Will implement it with a non-sorting approach.
PiperOrigin-RevId: 816420710
2025-10-07 16:11:36 -07:00
Google Team Member and Copybara-Service
8110e41b36
fix: VertexSessionService with adding base_url override to base api override without removing initialized http_options
...
PiperOrigin-RevId: 816409410
2025-10-07 15:43:17 -07:00
Xuan Yang and Copybara-Service
b0f0698ec2
chore: Add a sample agent to demonstrate that built-in google search tool and VertexAiSearchTool can be used together with other tools
...
PiperOrigin-RevId: 816396360
2025-10-07 15:08:53 -07:00
Xinran (Sherry) Tang and Copybara-Service
db41f54e7b
chore: When processing pending tool confirmation requests, only look at events in the same branch
...
PiperOrigin-RevId: 816387687
2025-10-07 14:48:19 -07:00
Shangjie Chen and Copybara-Service
636def3687
fix: Add AuthConfig json serialization in vertex ai session service
...
Resolves https://github.com/google/adk-python/issues/2035
PiperOrigin-RevId: 816387628
2025-10-07 14:47:28 -07:00
Xiang (Sean) Zhou and Copybara-Service
3f86760e0b
chore: Remove unnecessary check tool type and tool attribute
...
tool in config.tools cann't be ToolDict and must have computer_use attr
PiperOrigin-RevId: 816368064
2025-10-07 14:01:53 -07:00
Yifan Wang and Copybara-Service
5ac446d947
chore: add invocation_id to AgentRunRequest for resuming long running functions
...
PiperOrigin-RevId: 816362937
2025-10-07 13:49:50 -07:00
Xuan Yang and Copybara-Service
2699ad7aff
chore: fix the test_llm_agent_fields.py by adding a mock for google.auth.default
...
PiperOrigin-RevId: 816319357
2025-10-07 12:05:48 -07:00
Xuan Yang and Copybara-Service
4485379a04
ADK changes
...
PiperOrigin-RevId: 816288113
2025-10-07 10:59:19 -07:00
Xiang (Sean) Zhou and Copybara-Service
0989d64688
chore: Remove unnecessary check tool type and tool attribute
...
tool in config.tools cann't be ToolDict and must have computer_use attr
PiperOrigin-RevId: 816283438
2025-10-07 10:48:48 -07:00
Shangjie Chen and Copybara-Service
90d4c19c51
feat: Migrate vertex ai session service to use agent engine sdk
...
PiperOrigin-RevId: 816259798
2025-10-07 09:58:27 -07:00
Xiang (Sean) Zhou and Copybara-Service
3be9cd844c
chore: Let tools to handle root directory resolvement and model only knows the project name and always use relative path
...
PiperOrigin-RevId: 816213558
2025-10-07 08:11:06 -07:00
Hangfei Lin and Copybara-Service
3f4bd67b49
fix: Make compactor optional in EventsCompactionConfig and add a default
...
If `EventsCompactionConfig` is provided without a `compactor`, a `SlidingWindowCompactor` is now automatically instantiated using the `root_agent`'s LLM. This simplifies configuration by providing a sensible default.
PiperOrigin-RevId: 816038579
2025-10-06 22:20:49 -07:00
Bo Yang and Copybara-Service
238472d083
fix: Updates the load_artifacts tool so that the model can reliability call it for follow up questions about the same artifact
...
PiperOrigin-RevId: 816025399
2025-10-06 21:34:51 -07:00
Hangfei Lin and Copybara-Service
f1abdb1938
fix: Rename SlidingWindowCompactor to LlmEventSummarizer and refine its docstring
...
The class is now named `LlmEventSummarizer` to better reflect that its primary function is to use an LLM to summarize events. The docstring has been updated to clarify that this class is responsible *only* for the LLM-based summarization of a given set of events, while the logic for determining *when* and *which* events form the sliding window is handled by an external component, such as an ADK Runner.
PiperOrigin-RevId: 815976264
2025-10-06 18:54:20 -07:00
Hangfei Lin and Copybara-Service
68402bda49
fix: Set default response modality to AUDIO in run_session
...
Some native audio models require the modality to be set, so we default to AUDIO if not specified in `RunConfig`.
PiperOrigin-RevId: 815952039
2025-10-06 17:37:10 -07:00
Xiang (Sean) Zhou and Copybara-Service
90e1e3e10c
chore: Add sample agent for testing oatuh2 client credentials grant type
...
PiperOrigin-RevId: 815863131
2025-10-06 13:34:09 -07:00
Haoming Chen and Copybara-Service
4bb089d386
feat: Add BigQuery analyze_contribution tool
...
This change introduces a new `analyze_contribution` function in `query_tool.py` which uses BigQuery ML's `CREATE MODEL` with `CONTRIBUTION_ANALYSIS` type and `ML.GET_INSIGHTS` to analyze the contribution of different dimensions to a given metric. The new function is also added to the `bigquery_toolset`.
PiperOrigin-RevId: 815849281
2025-10-06 12:59:09 -07:00
Xiang (Sean) Zhou and Copybara-Service
5c6cdcd197
feat: Support Oauth2 client credentials grant type
...
PiperOrigin-RevId: 815813477
2025-10-06 11:28:17 -07:00
George Weale and Copybara-Service
46d73be41a
chore: Add more info to "Session not found" error message in ADK runners for differently named app and folder
...
PiperOrigin-RevId: 815795412
2025-10-06 10:48:28 -07:00
Hangfei Lin and Copybara-Service
e0dd06ff04
feat: implementation of LLM context compaction
...
Provide a more efficient way to compact LLM context for better agentic performance.
PiperOrigin-RevId: 815785898
2025-10-06 10:28:46 -07:00
Xiang (Sean) Zhou and Copybara-Service
ca6a4340f4
chore: Move adk knowledge agent out of adk agent builder folder
...
PiperOrigin-RevId: 815771308
2025-10-06 09:57:21 -07:00
George Weale and Copybara-Service
86de3ef7e3
chore: google.genai instead of `google.generativeai'
...
PiperOrigin-RevId: 815759570
2025-10-06 09:27:13 -07:00
Max Ind and Copybara-Service
bd76b46ce2
feat(otel): Switch CloudTraceSpanExporter to telemetry.googleapis.com
...
PiperOrigin-RevId: 815675872
2025-10-06 05:14:32 -07:00
Xiang (Sean) Zhou and Copybara-Service
4b47a0a552
chore: Add instructions for callback signatures
...
PiperOrigin-RevId: 815549924
2025-10-05 21:47:53 -07:00