Selcuk Gun and Copybara-Service
41b33d4a0a
Move public_utils to utils in tests
...
Renamed conflicting utils.py as testing_utils.py
PiperOrigin-RevId: 761715808
2025-05-21 16:35:11 -07:00
Xiang (Sean) Zhou and Copybara-Service
09cb128cf9
fix: fix function tool name parsing
...
to fix https://github.com/google/adk-python/issues/824
PiperOrigin-RevId: 761703269
2025-05-21 16:00:09 -07:00
Selcuk Gun and Copybara-Service
c5a0437745
Provide inject_session_state as public util method
...
This is useful for injecting artifacts and session state variable into instruction template typically in instruction providers.
PiperOrigin-RevId: 761595473
2025-05-21 11:15:20 -07:00
Xiang (Sean) Zhou and Copybara-Service
cbdb5fc507
chore: fix ut for fast api server
...
PiperOrigin-RevId: 761350248
2025-05-20 21:17:39 -07:00
Amulya Bhatia and Copybara-Service
98727b4698
test: unit tests for code_executor_context.py
...
Copybara import of the project:
--
9e51865a6dd4de4d20088e8a7ac9f3a75501aa6b by Amulya Bhatia <amulya.bhatia@t-online.de >:
test: unit tests for code_executor_context.py
COPYBARA_INTEGRATE_REVIEW=https://github.com/google/adk-python/pull/780 from iamulya:test-code-executor-context 907b1712e43b8ce90cd8786780bef863adfcc167
PiperOrigin-RevId: 761294975
2025-05-20 17:40:33 -07:00
Shangjie Chen and Copybara-Service
53b14325ce
fix: Use sync request method in VertexAiSessionService. The api_client has it own event loop management.
...
PiperOrigin-RevId: 761250268
2025-05-20 15:20:21 -07:00
Xiang (Sean) Zhou and Copybara-Service
f67ccf32c3
fix: support Callable that has __call__ as coroutine function in FunctionTool
...
PiperOrigin-RevId: 760913537
2025-05-19 22:09:44 -07:00
Xiang (Sean) Zhou and Copybara-Service
3f117391a5
refactor: remote remote agent as there is no use case and it's not implemented properly
...
PiperOrigin-RevId: 760652423
2025-05-19 09:24:37 -07:00
Wei Sun (Jack) and Copybara-Service
9324801b75
chore: Fixes test_fast_api.py (part I for circular deps).
...
It still fails due to signal used not in main thread. It will be fixed later.
PiperOrigin-RevId: 760050504
2025-05-17 12:22:04 -07:00
Wei Sun (Jack) and Copybara-Service
57de9634de
chore: Fixes unittests/tools/application_integration_tool/test_application_integration_toolset.py
...
PiperOrigin-RevId: 760019822
2025-05-17 09:49:35 -07:00
Wei Sun (Jack) and Copybara-Service
729001fc0b
chore: logger = logging.getLogger(__name__) --> logger = logging.getLogger('google_adk.' + __name__)
...
PiperOrigin-RevId: 760019467
2025-05-17 09:47:55 -07:00
Liang Wu and Copybara-Service
a1ddf0b6cc
feat!: add --adk_version arg to adk deploy cloud_run.
...
The default version for Cloud Run deployment is changed to the version in the dev environment instead of the latest version.
PiperOrigin-RevId: 759767654
2025-05-16 15:01:23 -07:00
Jack Wotherspoon and Copybara-Service
66a6f94fbc
Copybara import of the project:
...
--
aa863ca851d4c689fbdb431d91189d5ebbc59932 by Jack Wotherspoon <jackwoth@google.com >:
chore: fix variable name in test
COPYBARA_INTEGRATE_REVIEW=https://github.com/google/adk-python/pull/769 from jackwotherspoon:test-fix aa863ca851d4c689fbdb431d91189d5ebbc59932
PiperOrigin-RevId: 759731577
2025-05-16 13:20:57 -07:00
Selcuk Gun and Copybara-Service
9e9dfa7472
Prevent session state injection for provider supplied instructions
...
When the user provides instruction provider, we assume that they will inject the session state parameters if needed. This assumption allows users to return code snippets in the instruction provider without any template replacement.
PiperOrigin-RevId: 759705471
2025-05-16 12:09:48 -07:00
Google Team Member and Copybara-Service
6e0ea01fcb
Added support for dynamic auth in integration connector tool
...
PiperOrigin-RevId: 759676602
2025-05-16 10:53:53 -07:00
Selcuk Gun and Copybara-Service
509db3f9fb
Add token usage to gemini (streaming), litellm and anthropic
...
Also included a token_usage sample that showcases the token usage of subagents with different models under a parent agent.
PiperOrigin-RevId: 759347015
2025-05-15 16:22:36 -07:00
Ankur Sharma and Copybara-Service
1c23556225
Updated test cases to use the new EvalSet schema to store test data. Also, added a utility to help migrate existing tests files to the new schema.
...
Also, migrated existing test files to the new schema and deleted test session files as they are no longer needed.
PiperOrigin-RevId: 759318735
2025-05-15 15:10:06 -07:00
Shangjie Chen and Copybara-Service
a71d9ea9a1
fix: fix broken tests.
...
PiperOrigin-RevId: 759312577
2025-05-15 14:57:04 -07:00
Ankur Sharma and Copybara-Service
4c6820e78c
Update AgentEvaluator to new new EvalSchema
...
PiperOrigin-RevId: 759293759
2025-05-15 14:09:23 -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
Xiang (Sean) Zhou and Copybara-Service
4a0751941b
fix: fix application integration toolset
...
PiperOrigin-RevId: 759018346
2025-05-15 00:30:19 -07:00
Ankur Sharma and Copybara-Service
3686608f8d
Fixes test_cli_eval_success_path test.
...
PiperOrigin-RevId: 758981214
2025-05-14 22:20:59 -07:00
Xiang (Sean) Zhou and Copybara-Service
14cf910ce6
refactor: refactor application integration toolset to hide non-public field
...
PiperOrigin-RevId: 758469938
2025-05-13 19:28:01 -07:00