Xiang (Sean) Zhou and Copybara-Service
917a8a19f7
chore: Adapt oauth calendar agent to use authenticated tool
...
PiperOrigin-RevId: 775433950
2025-06-24 16:46:20 -07:00
Aditya Mulik and Copybara-Service
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 and Copybara-Service
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 and Copybara-Service
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 and Copybara-Service
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 and Copybara-Service
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 and Copybara-Service
ed7a21e189
chore: Update google-genai package and related deps to latest
...
PiperOrigin-RevId: 775394737
2025-06-24 14:57:56 -07:00
Liang Wu and Copybara-Service
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 and Copybara-Service
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 and Copybara-Service
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 and Copybara-Service
00cc8cd643
feat: Add Vertex Express mode compatibility for VertexAiSessionService
...
PiperOrigin-RevId: 775317848
2025-06-24 11:33:37 -07:00
Joseph Pagadora and Copybara-Service
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 and Copybara-Service
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 and Copybara-Service
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 and Copybara-Service
29cd183aa1
chore: Add credential service backed by session state
...
PiperOrigin-RevId: 774878336
2025-06-23 12:16:03 -07:00
avidelatm and Copybara-Service
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 and Copybara-Service
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 and Copybara-Service
f033e405c1
chore: Clarify the behavior of Event.invocation_id
...
PiperOrigin-RevId: 774827874
2025-06-23 10:12:16 -07:00
bck-ob-gh and Copybara-Service
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
Xiang (Sean) Zhou and Copybara-Service
7c670f638b
chore: Send user message to the agent that returned a corresponding function call if user message is a function response
...
PiperOrigin-RevId: 773895971
2025-06-20 17:15:29 -07:00
Xiang (Sean) Zhou and Copybara-Service
fb13963ded
chore: Add request converter to convert a2a request to ADK request
...
PiperOrigin-RevId: 773894462
2025-06-20 17:09:05 -07:00
Shangjie Chen and Copybara-Service
2fd8feb65d
chore: Support allow_origins in cloud_run deployment
...
Also reorganize the fast_api_common_options. This resolves https://github.com/google/adk-python/issues/1444 .
PiperOrigin-RevId: 773890111
2025-06-20 16:54:08 -07:00
Shangjie Chen and Copybara-Service
8677d5c8dc
chore: bump version number to 1.4.2
...
PiperOrigin-RevId: 773867075
v1.4.2
2025-06-20 15:41:50 -07:00
Shangjie Chen and Copybara-Service
4d72d31b13
fix: Add type checking to handle different response type of genai API client
...
Fixes https://github.com/google/adk-python/issues/1514
PiperOrigin-RevId: 773838035
2025-06-20 14:12:55 -07:00
Xiang (Sean) Zhou and Copybara-Service
742478fdb7
chore: Add event converters to convert adk event to a2a event (WIP)
...
PiperOrigin-RevId: 773795427
2025-06-20 12:14:12 -07:00