Wiktoria Walczak and Copybara-Service
62fa4e513c
feat(cli): add otel_to_cloud flag to adk deploy cloud_run and adk deploy gke command
...
Co-authored-by: Wiktoria Walczak <wwalczak@google.com >
PiperOrigin-RevId: 854087382
2026-01-09 01:43:22 -08:00
Xiang (Sean) Zhou and Copybara-Service
4dd5434847
chore: Make live request queue required
...
Co-authored-by: Xiang (Sean) Zhou <seanzhougoogle@google.com >
PiperOrigin-RevId: 854058723
2026-01-09 00:05:14 -08:00
Xiang (Sean) Zhou and Copybara-Service
d6c964e05e
fix: Create a new session resumption config if it's None
...
Co-authored-by: Xiang (Sean) Zhou <seanzhougoogle@google.com >
PiperOrigin-RevId: 853933839
2026-01-08 16:49:52 -08:00
Kathy Wu and Copybara-Service
23d330eef1
feat: Include model ID with token usage for live events
...
This allows users to track token usage data per model and fixes https://github.com/google/adk-python/issues/4084 .
Co-authored-by: Kathy Wu <wukathy@google.com >
PiperOrigin-RevId: 853925212
2026-01-08 16:22:56 -08:00
George Weale and Copybara-Service
b8917bc80e
fix: Handle SQLite URLs in SqliteSessionService
...
The SqliteSessionService now accepts database paths in the form of SQLite URLs (e.g., "sqlite:///./sessions.db", "sqlite+aiosqlite:////absolute.db")
Close #4077
Co-authored-by: George Weale <gweale@google.com >
PiperOrigin-RevId: 853922433
2026-01-08 16:14:07 -08:00
Sasha Sobran and Copybara-Service
3c51ee7f48
fix: fix SSRF vulnerability in load_web_page by disabling automatic redirects
...
Co-authored-by: Sasha Sobran <asobran@google.com >
PiperOrigin-RevId: 853901476
2026-01-08 15:13:27 -08:00
Kathy Wu and Copybara-Service
f1ccc0cfca
feat: Support page token in API Registry
...
API registry uses a nextPageToken for pagination, so we should loop through all the pages by sending the received nextPageToken to subsequent requests until no token is returned. The first page contains 1P MCP servers, and later pages contain 3P customer servers.
Co-authored-by: Kathy Wu <wukathy@google.com >
PiperOrigin-RevId: 853880449
2026-01-08 14:15:02 -08:00
Xiang (Sean) Zhou and Copybara-Service
8e41f7f6c8
chore: Annotate the type of transcription parameter in _has_non_empty_transcription_text
...
Co-authored-by: Xiang (Sean) Zhou <seanzhougoogle@google.com >
PiperOrigin-RevId: 853880336
2026-01-08 14:14:05 -08:00
Joseph Pagadora and Copybara-Service
da2c933b53
feat: Filter invocation and eval case rubrics by type when running rubric based evaluators
...
Co-authored-by: Joseph Pagadora <jcpagadora@google.com >
PiperOrigin-RevId: 853841204
2026-01-08 12:23:33 -08:00
Kathy Wu and Copybara-Service
226e873b0f
fix: Ensure consistent ADC quota project override in ADK
...
Fix discovery engine search tool, bigquery agent analytics plugin, and application integration tool to correctly handle the ADC quota project override -- the x-goog-user-project should be set based on the ADC quota project, per gcloud auth team's requirements.
Co-authored-by: Kathy Wu <wukathy@google.com >
PiperOrigin-RevId: 853841124
2026-01-08 12:22:45 -08:00
Joseph Pagadora and Copybara-Service
8afb99a078
feat: Support per-eval case and per-invocation rubrics in rubric-based evaluators
...
Co-authored-by: Joseph Pagadora <jcpagadora@google.com >
PiperOrigin-RevId: 853820099
2026-01-08 11:26:06 -08:00
Liang Wu and Copybara-Service
688791396a
chore: Bumps version to v1.22.0 and updates CHANGELOG.md
...
Co-authored-by: Liang Wu <wuliang@google.com >
PiperOrigin-RevId: 853816883
2026-01-08 11:18:10 -08:00
George Weale and Copybara-Service
6c67b6c0f4
fix: map LiteLLM thought parts to reasoning_content
...
- Treat Part(thought=True) as reasoning_content when building assistant messages.
- Add unit tests for thought-only and thought+text cases.
Close #4069
Co-authored-by: George Weale <gweale@google.com >
PiperOrigin-RevId: 853790274
v1.22.0
2026-01-08 10:10:13 -08:00
Xiang (Sean) Zhou and Copybara-Service
9b2bd411dd
chore: Put user_id in the error message when session is not found
...
Co-authored-by: Xiang (Sean) Zhou <seanzhougoogle@google.com >
PiperOrigin-RevId: 853771033
2026-01-08 09:19:31 -08:00
Xiang (Sean) Zhou and Copybara-Service
392dda1e0c
chore: Update live multi agent sample with latest live models
...
Co-authored-by: Xiang (Sean) Zhou <seanzhougoogle@google.com >
PiperOrigin-RevId: 853769664
2026-01-08 09:14:45 -08:00
Google Team Member and Copybara-Service
a0b2aac108
fix: Add google-cloud-geminidataanalytics to dependencies
...
PiperOrigin-RevId: 853515315
2026-01-07 19:57:53 -08:00
Google Team Member and Copybara-Service
3cd3d56176
fix: Add google-cloud-geminidataanalytics to dependencies
...
PiperOrigin-RevId: 853504915
2026-01-07 19:19:24 -08:00
Google Team Member and Copybara-Service
c34feb4c0e
feat: add new conversational analytics api tool set
...
PiperOrigin-RevId: 853489874
2026-01-07 18:26:05 -08:00
Google Team Member and Copybara-Service
aaf76a6a51
feat: add new conversational analytics api tool set
...
PiperOrigin-RevId: 853434500
2026-01-07 15:23:43 -08:00
Yifan Wang and Copybara-Service
45a25d780b
chore: update adk web to match main branch
...
Co-authored-by: Yifan Wang <wanyif@google.com >
PiperOrigin-RevId: 853331843
2026-01-07 10:58:37 -08:00
George Weale and Copybara-Service
5912835c97
fix: Add checks for event content and parts before accessing
...
Close #3769
Co-authored-by: George Weale <gweale@google.com >
PiperOrigin-RevId: 853327479
2026-01-07 10:48:14 -08:00
George Weale and Copybara-Service
b30c2f4e13
fix: avoid local .adk storage in Cloud Run/GKE
...
Default session and artifact services to in-memory when running in Cloud Run/Kubernetes (or when agents_dir isn’t writable) to prevent startup failures from attempting to create .adk under read-only/unwritable container paths (e.g. /app/agents/.adk). Local development defaults are unchanged.
- ADK_FORCE_LOCAL_STORAGE=1 to always use .adk defaults
- ADK_DISABLE_LOCAL_STORAGE=1 to always avoid local storage
If local artifact initialization raises PermissionError, fall back to in-memory and log a warning
Close #3907
Co-authored-by: George Weale <gweale@google.com >
PiperOrigin-RevId: 853315459
2026-01-07 10:18:11 -08:00
Xiang (Sean) Zhou and Copybara-Service
d5bd8d939e
chore: Clean up the invocation context initialization logic for LIVE
...
1. Removed dead code: The if not run_config.response_modalities: branch was never executed since run_live already sets the default (https://github.com/google/adk-python/blob/19de45b3250d09b9ec16c45788e7d472b3e588c2/src/google/adk/runners.py#L947-L948 ).
2. Simplified condition: Changed from checking 'TEXT' not in ... to 'AUDIO' in ...
Co-authored-by: Xiang (Sean) Zhou <seanzhougoogle@google.com >
PiperOrigin-RevId: 853274401
2026-01-07 08:31:01 -08:00
Sasha Sobran and Copybara-Service
96c5db5a07
fix: use mode='json' in model_dump to serialize bytes correctly when using telemetry
...
fixes #4043
Co-authored-by: Sasha Sobran <asobran@google.com >
PiperOrigin-RevId: 853256045
2026-01-07 07:38:18 -08:00
Xuan Yang and Copybara-Service
10bdc078a4
chore: Add docstring for StreamingMode
...
Related: #3705
Co-authored-by: Xuan Yang <xygoogle@google.com >
PiperOrigin-RevId: 853116282
2026-01-07 00:15:12 -08:00