Keisuke Oohashi and Copybara-Service
4e765ae2f3
fix: raise ValueError when sessionId and userId are incorrect combination( #1653 )
...
Merge https://github.com/google/adk-python/pull/1655
Fix #1653
When session_id and user_id are incorrect combination on vertex ai session service, it should not return the session.
COPYBARA_INTEGRATE_REVIEW=https://github.com/google/adk-python/pull/1655 from soundTricker:fix/1653-invalid-session 7a3dee2fc75602a2685ea922799cc5f5ba666e97
PiperOrigin-RevId: 776648361
2025-06-27 11:06:15 -07:00
Xiang (Sean) Zhou and Copybara-Service
c13c9875cf
feat: Add remote a2a agent
...
PiperOrigin-RevId: 776643130
2025-06-27 10:52:01 -07:00
Xiang (Sean) Zhou and Copybara-Service
045aea9b15
fix: Support API-Key for MCP Tool authentication
...
PiperOrigin-RevId: 776641474
2025-06-27 10:47:42 -07:00
Xiang (Sean) Zhou and Copybara-Service
20279d9a50
fix: Save output in state via output_key only when the event is authored by current agent
...
PiperOrigin-RevId: 776640671
2025-06-27 10:45:34 -07:00
Xiang (Sean) Zhou and Copybara-Service
09e487df3c
chore: Use context_id as session_id and construct temp user_id from context_id
...
PiperOrigin-RevId: 776639713
2025-06-27 10:42:15 -07:00
Xiang (Sean) Zhou and Copybara-Service
e79651cd86
feat: Add A2A endpoints to fast api server when --a2a option is specified (WIP)
...
PiperOrigin-RevId: 776211580
2025-06-26 11:18:44 -07:00
Xiang (Sean) Zhou and Copybara-Service
5356f20ead
chore: Add a2a log utils for formatting a2a reqeust/response logs
...
PiperOrigin-RevId: 776026554
2025-06-26 01:12:23 -07:00
Xiang (Sean) Zhou and Copybara-Service
630f1674cb
chore: Add a2a agent executor
...
PiperOrigin-RevId: 775983689
2025-06-25 22:32:17 -07:00
Xiang (Sean) Zhou and Copybara-Service
2f55de6ded
chore: Add a2a task result aggregator
...
PiperOrigin-RevId: 775975982
2025-06-25 22:02:28 -07:00
SimonWei and Copybara-Service
3901fade71
fix: converts litellm generate config err
...
Merge https://github.com/google/adk-python/pull/1509
Fixs: #1302
Previous PR: https://github.com/google/adk-python/pull/1450
COPYBARA_INTEGRATE_REVIEW=https://github.com/google/adk-python/pull/1509 from simonwei97:fix/litellm-gen-config-converting-err 3120887f29a21789f1b4a7c54af3ed35eb5055e3
PiperOrigin-RevId: 775903671
2025-06-25 17:40:48 -07:00
Xiang (Sean) Zhou and Copybara-Service
a71dbdf9e2
chore: Enhance a2a event converter
...
a. fix function call long running id matching logic
b. fix error code conversion logic
c. add input required and auth required status conversion logic
d. add a2a Task/Message to ADK event converter
f. set task id and context id from input argument
PiperOrigin-RevId: 775860563
2025-06-25 15:32:17 -07:00
Xiang (Sean) Zhou and Copybara-Service
832a633351
chore: Enhance a2a part converters
...
a. fix binary data conversion
b. support thoughts, code execution result, executable codes conversion
PiperOrigin-RevId: 775827259
2025-06-25 13:58:49 -07:00
Xiang (Sean) Zhou and Copybara-Service
a623467299
chore: Enhance a2a context id parsing and construction logic
...
PiperOrigin-RevId: 775718282
2025-06-25 09:19:16 -07:00
Xiang (Sean) Zhou and Copybara-Service
f54b9b6ad1
chore: Add unit tests for contents.py
...
PiperOrigin-RevId: 775713101
2025-06-25 09:06:01 -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
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
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
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
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