Shangjie Chen
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
Xiang (Sean) Zhou
2214c1558f
fix: fix the typo in MCPToolset when parsing the errlog argument to MCPSessionManager
...
PiperOrigin-RevId: 759018462
2025-05-15 00:31:18 -07:00
Xiang (Sean) Zhou
4a0751941b
fix: fix application integration toolset
...
PiperOrigin-RevId: 759018346
2025-05-15 00:30:19 -07:00
Liang Wu
22e4210b47
Deprecate BuiltInCodeExecutionTool in favor of BuiltInCodeExecutor.
...
PiperOrigin-RevId: 758713057
2025-05-14 09:22:49 -07:00
Xiang (Sean) Zhou
fc40226ec0
refactor: refactor mcp toolset to hide non-public field
...
PiperOrigin-RevId: 758494601
2025-05-13 21:06:03 -07:00
Xiang (Sean) Zhou
14cf910ce6
refactor: refactor application integration toolset to hide non-public field
...
PiperOrigin-RevId: 758469938
2025-05-13 19:28:01 -07:00
Xiang (Sean) Zhou
00e0035c8a
refactor: refactor google api toolset to hide non-public field
...
PiperOrigin-RevId: 758469484
2025-05-13 19:26:05 -07:00
Wei Sun (Jack)
30947b48b8
feat(memory)!: Uses the new MemoryEntry schema for all memory related components.
...
BREAKING CHANGE. This commit changes all memory related interface to using the newly introduced MemoryEntry class.
PiperOrigin-RevId: 758464887
2025-05-13 19:07:11 -07:00
Xiang (Sean) Zhou
da55b5a943
fix: update google api toolset to remove 'match' for python 3.9 compliant
...
PiperOrigin-RevId: 758438091
2025-05-13 17:21:05 -07:00
Wei Sun (Jack)
d046367826
chore: Removes logging config in tools/google_api_tool/googleapi_to_openapi_converter.py.
...
PiperOrigin-RevId: 758436692
2025-05-13 17:16:03 -07:00
Xiang (Sean) Zhou
9647426500
refactor: refactor openapi toolset and tool parser to hide non public field
...
PiperOrigin-RevId: 758436303
2025-05-13 17:14:20 -07:00
Liang Wu
933f01b89f
fix: Concatenate all text Parts from an AgentTool agent's response.
...
PiperOrigin-RevId: 758424011
2025-05-13 16:38:54 -07:00
Xiang (Sean) Zhou
931fb338f8
rename tool_set to toolset to uniform the naming
...
PiperOrigin-RevId: 758422703
2025-05-13 16:34:23 -07:00
Xiang (Sean) Zhou
f6bdd555fb
refactor apihub toolset to hide non public field
...
PiperOrigin-RevId: 758378396
2025-05-13 14:34:04 -07:00
Yanfei Chen
08c9cf86c3
feat: Add an enterprise web search tool for web grounding.
...
PiperOrigin-RevId: 758206509
2025-05-13 07:15:46 -07:00
Google Team Member
d740b93e03
feat: trigger in ApplicationIntegrationTools is changed to triggers and is a list of strings
...
PiperOrigin-RevId: 758034458
2025-05-12 21:13:27 -07:00
Xiang (Sean) Zhou
2d84b13219
fix toolset codes to make it work with python 3.9
...
PiperOrigin-RevId: 757991503
2025-05-12 18:23:18 -07:00
Xiang (Sean) Zhou
d35b99e6dd
update mcp toolset and sample agent based on new tool_filter definition
...
PiperOrigin-RevId: 757969950
2025-05-12 17:05:24 -07:00
Xiang (Sean) Zhou
57d1315533
adapt application integration toolset to new toolset interface
...
PiperOrigin-RevId: 757960706
2025-05-12 16:36:43 -07:00
Xiang (Sean) Zhou
6a04ff84ba
adapt google api toolset and api hub toolset to new toolset interface
...
PiperOrigin-RevId: 757946541
2025-05-12 15:58:39 -07:00
Selcuk Gun
df0892a7b8
Update import for override decorator in mcp_toolset for python version < 3.12
...
PiperOrigin-RevId: 757934273
2025-05-12 15:24:37 -07:00
Google Team Member
9a8c77e04a
Added filterClause in Update and Delete Request
...
PiperOrigin-RevId: 757013222
2025-05-09 20:50:36 -07:00
Google Team Member
2a0524692b
feat: Typo fixes in a few files.
...
PiperOrigin-RevId: 756921945
2025-05-09 15:10:23 -07:00
Xiang (Sean) Zhou
dc5c23c675
fix predicate class name in MCP toolset
...
PiperOrigin-RevId: 756761193
2025-05-09 07:39:08 -07:00
Xiang (Sean) Zhou
7dffb59096
adapt MCP toolset to the latest Toolset interface
...
PiperOrigin-RevId: 756611140
2025-05-08 22:47:51 -07:00
Xiang (Sean) Zhou
4d7298e4f2
add toolset base class and allow llm agent to accept toolset as tools
...
PiperOrigin-RevId: 756605470
2025-05-08 22:27:52 -07:00
Google Team Member
7f76af4d76
feat: trigger in ApplicationIntegrationTools is changed to triggers and is a list of strings
...
PiperOrigin-RevId: 756111287
2025-05-07 20:04:47 -07:00
Hangfei Lin
a4adb739c0
Create a developer folder and add samples.
...
PiperOrigin-RevId: 755885332
2025-05-07 09:26:19 -07:00
Mrigank Khandelwal
180c2a934b
Copybara import of the project:
...
--
8d5e7f017d975d4ecd5ad6004079fec0f6b417e1 by Mrigank Khandelwal <mrigankkhandelwal300@gmail.com >:
fix: Fixed incorrect difinition of MCP in function docstring
COPYBARA_INTEGRATE_REVIEW=https://github.com/google/adk-python/pull/594 from Mrigankkh:main 0d52a8059a7c3438207a86c03cfd3f25204d4b2e
PiperOrigin-RevId: 755698357
2025-05-06 23:20:07 -07:00
Google Team Member
357143c2aa
feat: trigger in ApplicationIntegrationTools is changed to triggers and is a list of strings
...
PiperOrigin-RevId: 755691136
2025-05-06 22:58:12 -07:00
Shangjie Chen
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
905c20dad6
ADK changes
...
PiperOrigin-RevId: 755201925
2025-05-05 21:58:47 -07:00
Hangfei Lin
a7b4c98253
fix: Handle the case when parameter.required is None and fix tests
...
PiperOrigin-RevId: 754519323
2025-05-03 22:39:28 -07:00
Bart
ad4226b3d8
Copybara import of the project:
...
--
1ca16aba5b7b869afa8e0a0cddaea539acd737f5 by bart.lee(이철민)/kakao <bart.lee@kakaocorp.com >:
chore: Improves session update time validation message
Enhances the error message when a session's last update time is later than the storage update time.
This provides better readability by formatting the timestamps in the error message.
COPYBARA_INTEGRATE_REVIEW=https://github.com/google/adk-python/pull/446 from kakao-bart-lee:main a2a0cff036429b61bd7cf1600fc4c2c0cf50089d
PiperOrigin-RevId: 754452381
2025-05-03 17:07:53 -07:00
Hangfei Lin
6f182821c4
fix: Update operation_parser.py
2025-05-03 14:47:07 -07:00
Hangfei Lin
88fe4c58a0
fix: handle None case
2025-05-03 14:35:40 -07:00
Xiang (Sean) Zhou
5846b24b71
set param required tag to False by default
...
PiperOrigin-RevId: 754382785
2025-05-03 10:31:38 -07:00
Shangjie Chen
bcf1deb582
ADK changes
...
PiperOrigin-RevId: 754131080
2025-05-02 14:19:18 -07:00
hsuyuming
879064343c
Copybara import of the project:
...
--
ad923c2c8c503ba73c62db695e88f1a3ea1aeeea by YU MING HSU <abego452@gmail.com >:
docs: enhance Contribution process within CONTRIBUTING.md
--
8022924fb7e975ac278d38fce3b5fd593d874536 by YU MING HSU <abego452@gmail.com >:
fix: move _maybe_append_user_content from google_llm.py to base_llm.py,
so subclass can get benefit from it, call _maybe_append_user_content
from generate_content_async within lite_llm.py
--
cf891fb1a3bbccaaf9d0055b23f614ce52449977 by YU MING HSU <abego452@gmail.com >:
fix: modify install dependencies cmd, and use pyink to format codebase
COPYBARA_INTEGRATE_REVIEW=https://github.com/google/adk-python/pull/428 from hsuyuming:fix_litellm_error_issue_427 dbec4949798e6399a0410d1b8ba7cc6a7cad7bdd
PiperOrigin-RevId: 754124679
2025-05-02 13:59:50 -07:00
sumant-pangotra
e8fb4ed3fc
Copybara import of the project:
...
--
27b214df3e by Sumant Pangotra <sumantpangotra@gmail.com >:
Fixed Parameter required field and description
COPYBARA_INTEGRATE_REVIEW=https://github.com/google/adk-python/pull/256 from sumant-pangotra:#247-OpenAPIToolSet-Considering-Required-parameters 42f87a9c94
PiperOrigin-RevId: 754050217
2025-05-02 10:23:49 -07:00
Xiang (Sean) Zhou
2ea4315e9f
update the doc comments of requested_auth_configs to make it more precise.
...
PiperOrigin-RevId: 752861847
2025-04-29 13:33:37 -07:00
Paul Lam
4ae8d72a8d
docs: correct typo in conversion_utils.py ( #351 )
...
* docs: correct typo in conversion_utils.py
* docs: edited for conciseness
2025-04-28 19:47:34 -07:00
Ankur Sharma
f872577f68
Currently if a model calls a FunctionTool without all the mandatory parameters, the code will just break. This change basically adds the capability for the FunctionTool to identify if the model is missing required arguments, and in that case, instead of breaking the execution, it provides a error message to the model so it could fix the request and retry.
...
PiperOrigin-RevId: 751023475
2025-04-24 09:31:40 -07:00
Google Team Member
ca993277de
ADK changes
...
PiperOrigin-RevId: 750763037
2025-04-23 16:28:57 -07:00
Xiang (Sean) Zhou
956fb912e8
feat(auth)!: expose access_token and refresh_token at top level of auth credentails
...
BREAKING CHANGE: `token` attribute of OAuth2Auth credentials used to be a dict containing both access_token and refresh_token, given that may cause confusions, now we replace it with access_token and refresh_token at top level of the auth credentials
PiperOrigin-RevId: 750346172
2025-04-22 15:23:21 -07:00
Vignesh Iyer
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
Che Liu
21d2047ddc
ADK changes
...
PiperOrigin-RevId: 749973427
2025-04-21 17:28:53 -07:00
Wei Sun
1e752b1378
chore: Fixes type hints in google_api_tool_set.py.
...
PiperOrigin-RevId: 749844560
2025-04-21 10:42:48 -07:00
Nilanjan De
1664b45562
Copybara import of the project:
...
--
16994cb2d5d646341f5285ca71d72697d81d18fe by Nilanjan De <nilanjan.de@gmail.com >:
chore: fix typos
COPYBARA_INTEGRATE_REVIEW=https://github.com/google/adk-python/pull/272 from n1lanjan:fix-typos a1ab655b08ec08c5dd2da71aab9a2386e3610e84
PiperOrigin-RevId: 749690489
2025-04-20 22:53:15 -07:00
Trần Đặng Trung Đức
e31cd0b5f8
No public description
...
COPYBARA_INTEGRATE_REVIEW=https://github.com/google/adk-python/pull/243 from trandangtrungduc:fix_typos 6e317d69de
PiperOrigin-RevId: 749106557
2025-04-18 12:07:52 -07:00