Wei Sun (Jack) and Copybara-Service
80d188199b
chore: Fixes a few lint error for tools
...
PiperOrigin-RevId: 797945021
2025-08-21 15:49:21 -07:00
Kacper Jawoszek and Copybara-Service
a30c63c593
fix: aclose all async generators to fix OTel tracing context
...
See https://github.com/google/adk-python/issues/1670#issuecomment-3115891100
PiperOrigin-RevId: 794659547
2025-08-13 11:18:26 -07:00
Google Team Member and Copybara-Service
114db93d70
ADK changes
...
PiperOrigin-RevId: 794403729
2025-08-12 22:29:23 -07:00
Hangfei Lin and Copybara-Service
e2518dc371
fix: Ignore AsyncGenerator return types in function declarations
...
For Vertex model backend, we send response back. This doesn't work for streaming tools that the return type is AsyncGenerator. So the fix here is to ignore the return type when it's AsyncGenerator.
We can't distinguish streaming vs non-streaming tool with AsyncGenerator though as LiveRequestQueue is optional in streaming tool.
Adds an `ignore_response` option to `build_function_declaration` to skip including the return type in the function declaration. This is enabled for tools that return `AsyncGenerator`, as the model does not yet support understanding these return types, while streaming tools can still handle them. Also, removes redundant return statements in `_get_mandatory_params`.
PiperOrigin-RevId: 794392846
2025-08-12 21:45:52 -07:00
Liang Wu and Copybara-Service
ef837015f3
refactor(config): move BaseToolConfig to a separate file
...
PiperOrigin-RevId: 791841562
2025-08-06 14:18:20 -07:00
Liang Wu and Copybara-Service
d5dcef2cf0
fix(config): forbid extra fields in AgentToolConfig
...
PiperOrigin-RevId: 789038376
2025-07-30 14:13:48 -07:00
Liang Wu and Copybara-Service
f1889ae440
feat(config): support ADK built-in and custom tools in config
...
PiperOrigin-RevId: 787735915
2025-07-27 11:14:04 -07:00
Liang Wu and Copybara-Service
5edc493da9
chore: allow "from google.adk.tools import AgentTool"
...
PiperOrigin-RevId: 784606041
2025-07-18 09:30:40 -07:00
Xiang (Sean) Zhou and Copybara-Service
377b5a9b78
fix: Add response schema for agent tool function declaration even when it's return None
...
PiperOrigin-RevId: 784216811
2025-07-17 09:51:34 -07:00
seanzhou1023 and GitHub
c6c6f34429
Update agent_tool.py
2025-07-11 15:34:07 -07:00
Mateusz Czubak
d3b500bd68
feat: expose credential service in readonly context
2025-07-08 11:32:50 +02:00
Google Team Member and Copybara-Service
cb55970969
refactor: Simplify agent_tool.py
...
PiperOrigin-RevId: 771135917
2025-06-13 10:10:31 -07:00
Google Team Member and Copybara-Service
86e15cab89
chore: Make ArtifactService transparent to AgentTools
...
PiperOrigin-RevId: 767225493
2025-06-04 11:35:49 -07:00
Wei Sun (Jack) and Copybara-Service
e0851a1e57
chore: batch organize imports.
...
PiperOrigin-RevId: 761824628
2025-05-21 23:40:47 -07:00
Google Team Member and Copybara-Service
05917cabbd
ADK changes
...
PiperOrigin-RevId: 759259620
2025-05-15 12:46:44 -07:00
Google Team Member and Copybara-Service
1804ca39a6
feat! Update session service interface to be async.
...
Also keep the sync version in the InMemorySessionService as create_session_sync() as a temporary migration option.
PiperOrigin-RevId: 759252188
2025-05-15 12:24:13 -07:00
Shangjie Chen and Copybara-Service
5b3204c356
feat! Update session service interface to be async.
...
Also keep the sync version in the InMemorySessionService as create_session_sync() as a temporary migration option.
PiperOrigin-RevId: 759224250
2025-05-15 11:17:13 -07:00
Liang Wu and Copybara-Service
933f01b89f
fix: Concatenate all text Parts from an AgentTool agent's response.
...
PiperOrigin-RevId: 758424011
2025-05-13 16:38:54 -07:00
Shangjie Chen and Copybara-Service
f96cdc675c
fix: Use await to wait for the full list rather than async for which only works for async iterable.
...
PiperOrigin-RevId: 755541004
2025-05-06 15:10:14 -07:00
Shangjie Chen and Copybara-Service
905c20dad6
ADK changes
...
PiperOrigin-RevId: 755201925
2025-05-05 21:58:47 -07:00
Vignesh Iyer and Copybara-Service
923d806637
Copybara import of the project:
...
--
94c7f9579c56cb20252fd61b5fe568f73d864679 by Vignesh Iyer <vgnshiyer@gmail.com >:
chore: add support for overriding `skip_summarization` in AgentTool
COPYBARA_INTEGRATE_REVIEW=https://github.com/google/adk-python/pull/324 from vgnshiyer:main 94c7f9579c56cb20252fd61b5fe568f73d864679
PiperOrigin-RevId: 750060638
2025-04-21 23:24:25 -07:00
hangfei
9827820143
Agent Development Kit(ADK)
...
An easy-to-use and powerful framework to build AI agents.
2025-04-08 17:25:47 +00:00