Selcuk Gun and Copybara-Service
00798af881
Add usage_metadata for sse response with finish_reason
...
This is needed for covering the generation what ends with finish reason during streaming.
PiperOrigin-RevId: 761144245
2025-05-20 10:47:08 -07:00
Google Team Member and Copybara-Service
7d809eb9d9
Minor typo and grammar correction.
...
PiperOrigin-RevId: 761119061
2025-05-20 09:42:19 -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
Wei Sun (Jack) and Copybara-Service
5115474f2b
chore!: bump version to 1.0.0, updated changelog.md and removed src/google/adk/tools/built_in_code_execution_tool.py
...
Mark src/google/adk/tools/_built_in_code_execution_tool.py as private and will be fully removed soon.
PiperOrigin-RevId: 760889060
2025-05-19 20:31:27 -07:00
Xiang (Sean) Zhou and Copybara-Service
de7c9c6509
enhance toolbox toolset:
...
1. use async client
2. expose add headers and bind parameters functionality of toolbox tool
PiperOrigin-RevId: 760845486
2025-05-19 18:08:02 -07:00
Yifan Wang and Copybara-Service
1bfc7590b4
update minified files to include the latest eval detail changes (only UI)
...
PiperOrigin-RevId: 760770101
2025-05-19 14:26:28 -07:00
Xiang (Sean) Zhou and Copybara-Service
74454170a3
refactor: refactor and refine LangChainTool
...
PiperOrigin-RevId: 760726719
2025-05-19 12:29:44 -07:00
Wei Sun (Jack) and Copybara-Service
ae7d19a4c6
chore: Moves toolbox-core to extensions extra dependency.
...
PiperOrigin-RevId: 760722343
2025-05-19 12:15:55 -07:00
Hangfei Lin and Copybara-Service
171b1145ee
fix:Makes TranscriptionEntry.role optional
...
For function call or response, the role is None for now.
PiperOrigin-RevId: 760692876
2025-05-19 11:02:08 -07:00
Wei Sun (Jack) and Copybara-Service
9932015f3b
chore: Makes --host backward compatible for cloud_run deploy. --host only available after 0.5.0.
...
PiperOrigin-RevId: 760681697
2025-05-19 10:35:05 -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
Shangjie Chen and Copybara-Service
0497fc578c
fix: fix return type of get_session.
...
PiperOrigin-RevId: 760638917
2025-05-19 08:46:54 -07:00
Xiang (Sean) Zhou and Copybara-Service
2ad1f79422
refactor: replace logger.warn which is deprecated with logger.warning
...
PiperOrigin-RevId: 760311574
2025-05-18 10:25:29 -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
f592de4cc0
chore: constructor shouldn't have return type hint.
...
PiperOrigin-RevId: 760021373
2025-05-17 09:57:30 -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
Wei Sun (Jack) and Copybara-Service
0d7d7918b6
chore: logger = logging.getLogger(__name__) --> logger = logging.getLogger('google_adk.' + __name__)
...
PiperOrigin-RevId: 759894901
2025-05-16 23:04:02 -07:00
Wei Sun (Jack) and Copybara-Service
482099c925
chore!: Sets up google_adk for top level logger namespace. Removes --log_to_tmp option in adk web and adk api_server for the same reason.
...
Context: google-auth commit [1] broke adk log, because it disables the top level logger named "google", which is also adk's top level logger. We establish a separate top level logger with a different name `google_adk` to prevent this in the future.
This commit only changes google_llm.py. All other files will be changed in later commits.
[1] https://github.com/googleapis/google-auth-library-python/commit/77ad53eb00c74b3badc486c8207a16dbc49f37e5#diff-e386c2b2c39b4d746c1e257f503acecbde49b1746b1a34f53b57083ed6094161
PiperOrigin-RevId: 759872317
2025-05-16 21:28:33 -07:00
Wei Sun (Jack) and Copybara-Service
021aaddf32
chore: Allows BaseAgent in the constructor of InMemoryRunner.
...
PiperOrigin-RevId: 759818175
2025-05-16 17:42:58 -07:00
Google Team Member and Copybara-Service
74b8841e62
ADK changes
...
PiperOrigin-RevId: 759809705
2025-05-16 17:11:03 -07:00
Wei Sun (Jack) and Copybara-Service
186b5de826
chore: formats google_llm.py.
...
PiperOrigin-RevId: 759803357
2025-05-16 16:49:45 -07:00
Wei Sun (Jack) and Copybara-Service
03f167c1d3
chore: Adds toolbox-core to deps and fixes toolbox code error.
...
PiperOrigin-RevId: 759802478
2025-05-16 16:46:11 -07:00
Google Team Member and Copybara-Service
93e8f020ed
ADK changes
...
PiperOrigin-RevId: 759775958
2025-05-16 15:24:40 -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
Google Team Member and Copybara-Service
801549f734
ADK changes
...
PiperOrigin-RevId: 759758769
2025-05-16 14:35:37 -07:00