Xiang (Sean) Zhou
832a633351
chore: Enhance a2a part converters
...
a. fix binary data conversion
b. support thoughts, code execution result, executable codes conversion
PiperOrigin-RevId: 775827259
v1.5.0
2025-06-25 13:58:49 -07:00
Xuan Yang
738d1a8b84
chore: create an agent to check issue format and content for bugs and feature requests
...
This agent will pose a comment to ask for more information according to the template if necessary.
PiperOrigin-RevId: 775742256
2025-06-25 10:20:45 -07:00
Hangfei Lin
5306ddad4d
chore: Release 1.5.0
...
PiperOrigin-RevId: 775742049
2025-06-25 10:19:20 -07:00
Xiang (Sean) Zhou
a623467299
chore: Enhance a2a context id parsing and construction logic
...
PiperOrigin-RevId: 775718282
2025-06-25 09:19:16 -07:00
Xiang (Sean) Zhou
f54b9b6ad1
chore: Add unit tests for contents.py
...
PiperOrigin-RevId: 775713101
2025-06-25 09:06:01 -07:00
Google Team Member
6729edd08e
refactor: Rename the Google API based bigquery sample agent
...
This change renames the sample agent based on the Google API based tools to reflect the larger purpose and avoid confusion with the built-in BigQuery tools. In addition, it also renames the root agent in the BigQuery sample agent to "bigquery_agent"
PiperOrigin-RevId: 775655226
2025-06-25 06:05:32 -07:00
Xiang (Sean) Zhou
917a8a19f7
chore: Adapt oauth calendar agent to use authenticated tool
...
PiperOrigin-RevId: 775433950
2025-06-24 16:46:20 -07:00
Aditya Mulik
ef3c745d65
fix: typo fix in sample agent instruction
...
Merge https://github.com/google/adk-python/pull/1623
fix: minor typo fix in the agent instruction
COPYBARA_INTEGRATE_REVIEW=https://github.com/google/adk-python/pull/1623 from adityamulik:minor_typo_fix 12ea09ae397b5c5e2a9ada48017cd1ca14add72e
PiperOrigin-RevId: 775433411
2025-06-24 16:44:34 -07:00
Shangjie Chen
88a4402d14
chore: Do not send api request when session does not have events
...
PiperOrigin-RevId: 775423356
2025-06-24 16:15:23 -07:00
Dave Bunten
09f1269bf7
ci(tests): leverage official uv action for install
...
Merge https://github.com/google/adk-python/pull/1547
This PR replaces the `curl`-based installation of `uv` to instead use the [official GitHub Action from Astral](https://github.com/astral-sh/setup-uv ).
Closes #1545
COPYBARA_INTEGRATE_REVIEW=https://github.com/google/adk-python/pull/1547 from d33bs:use-uv-action 05ab7a138cbb5babee30ea81e83f26064e041529
PiperOrigin-RevId: 775402484
2025-06-24 15:18:18 -07:00
Google Team Member
9e473e0abd
fix: Include current turn context when include_contents='none'
...
The intended behavior for include_contents='none' is to:
- Exclude conversation history from previous turns
- Still include current turn context (user input, tool calls/responses within current turn)
https://google.github.io/adk-docs/agents/llm-agents/#managing-context-include_contents
This resolves https://github.com/google/adk-python/issues/1124
PiperOrigin-RevId: 775400036
2025-06-24 15:11:33 -07:00
Xiang (Sean) Zhou
acbdca0d84
fix: Make raw_auth_credential and exchanged_auth_credential optional given their default value is None
...
PiperOrigin-RevId: 775397286
2025-06-24 15:03:54 -07:00
Google Team Member
ed7a21e189
chore: Update google-genai package and related deps to latest
...
PiperOrigin-RevId: 775394737
2025-06-24 14:57:56 -07:00
Liang Wu
a1e1441115
fix: update contributing links
...
Merge https://github.com/google/adk-python/pull/1528
COPYBARA_INTEGRATE_REVIEW=https://github.com/google/adk-python/pull/1528 from google:doc ec8325e126aba7257de73ab26d8d3a30064859b4
PiperOrigin-RevId: 775383121
2025-06-24 14:27:25 -07:00
Genquan Duan
f33e0903b2
feat: Add ADK examples for litellm with add_function_to_prompt
...
Add examples for for https://github.com/google/adk-python/issues/1273
PiperOrigin-RevId: 775352677
2025-06-24 13:08:44 -07:00
Shangjie Chen
abc89d2c81
feat: Add implementation of VertexAiMemoryBankService and support in FastAPI endpoint
...
PiperOrigin-RevId: 775327151
2025-06-24 11:57:03 -07:00
Google Team Member
00cc8cd643
feat: Add Vertex Express mode compatibility for VertexAiSessionService
...
PiperOrigin-RevId: 775317848
2025-06-24 11:33:37 -07:00
Joseph Pagadora
9597a446fd
feat: Add rouge_score library to ADK eval dependencies, and implement RougeEvaluator that is computes ROUGE-1 for "response_match_score" metric
...
PiperOrigin-RevId: 774949712
2025-06-23 15:31:03 -07:00
Joseph Pagadora
fa025d7559
feat: Add a new option eval_storage_uri in adk web & adk eval to specify GCS bucket to store eval data
...
PiperOrigin-RevId: 774947795
2025-06-23 15:24:57 -07:00
Xiang (Sean) Zhou
120cbabeb2
refactor: Rename long util function name in runner.py and move it to functions.py
...
PiperOrigin-RevId: 774880990
2025-06-23 12:24:10 -07:00
Xiang (Sean) Zhou
29cd183aa1
chore: Add credential service backed by session state
...
PiperOrigin-RevId: 774878336
2025-06-23 12:16:03 -07:00
avidelatm
bd67e8480f
fix: make LiteLLM streaming truly asynchronous
...
Merge https://github.com/google/adk-python/pull/1451
## Description
Fixes https://github.com/google/adk-python/issues/1306 by using `async for` with `await self.llm_client.acompletion()` instead of synchronous `for` loop.
## Changes
- Updated test mocks to properly handle async streaming by creating an async generator
- Ensured proper parameter handling to avoid duplicate stream parameter
## Testing Plan
- All unit tests now pass with the async streaming implementation
- Verified with `pytest tests/unittests/models/test_litellm.py` that all streaming tests pass
- Manually tested with a sample agent using LiteLLM to confirm streaming works properly
# Test Evidence:
https://youtu.be/hSp3otI79DM
Let me know if you need anything else from me for this PR
COPYBARA_INTEGRATE_REVIEW=https://github.com/google/adk-python/pull/1451 from avidelatm:fix/litellm-async-streaming d35b9dc90b2fd6fad44c3869de0fda2514e50055
PiperOrigin-RevId: 774835130
2025-06-23 10:30:12 -07:00
Keisuke Oohashi
ea69c9093a
feat: add usage span attributes to telemetry ( #356 )
...
Merge https://github.com/google/adk-python/pull/1079
Fixes part of #356
Add usage attributes to span.
Note: Since the handling of GenAI event bodies in OpenTelemetry has not yet been determined, I have temporarily added only attributes related to usage.
COPYBARA_INTEGRATE_REVIEW=https://github.com/google/adk-python/pull/1079 from soundTricker:feature/356-support-more-opentelemetry-semantics 99a9d0352b4bca165baa645440e39ce7199f072b
PiperOrigin-RevId: 774834279
2025-06-23 10:28:14 -07:00
Shangjie Chen
f033e405c1
chore: Clarify the behavior of Event.invocation_id
...
PiperOrigin-RevId: 774827874
2025-06-23 10:12:16 -07:00
bck-ob-gh
3b1d9a8a3e
fix: Use starred tuple unpacking on GCS artifact blob names
...
Merges https://github.com/google/adk-python/pull/1471
Fixes google#1436
COPYBARA_INTEGRATE_REVIEW=https://github.com/google/adk-python/pull/1471 from bck-ob-gh:main 4c4f2b66ab1e6fde8b1a9d2b914dcb24040db144
PiperOrigin-RevId: 774809270
2025-06-23 09:24:31 -07:00