Copybara import of the project:

--
004eb36c16b042ba2d8be0cca39b739c0c8ca6c1 by sudu <teric@outlook.com>:

Update tools.yaml

When search hotels with some LLM, the date format shows as bellow
```
**Check-in Date:** April 23, 2024
```
So i update the SQL in tools.yaml to be compatible with following instruction:
```sql
update checkin date to 'April 24,2024' and checkout date to 'April 26,2024' of Best Western Bern
```
--
1300688ee1407212658d57712c1ad6ee61b052fe by qidu <qidu@outlook.com>:

Fix the tools of `ToolboxToolset` initialization bugs for
`samples/toolbox_agent`

COPYBARA_INTEGRATE_REVIEW=https://github.com/google/adk-python/pull/794 from qidu:main 5b3199da564efdd07915e24e75659055a17dad82
PiperOrigin-RevId: 762259287
This commit is contained in:
sudu 2025-05-22 21:55:43 -07:00 committed by Copybara-Service
parent 0026edc1c9
commit 68de9adc18

View File

@ -61,8 +61,8 @@ tools:
type: string type: string
description: The new check-out date of the hotel. description: The new check-out date of the hotel.
statement: >- statement: >-
UPDATE hotels SET checkin_date = CAST($2 as date), checkout_date = CAST($3 UPDATE hotels SET checkin_date = strftime('%Y-%m-%d', replace($2, ',', '')), checkout_date = strftime('%Y-%m-%d', replace($3
as date) WHERE id = $1; ',', '')) WHERE id = $1;
cancel-hotel: cancel-hotel:
kind: sqlite-sql kind: sqlite-sql
source: my-sqlite-db source: my-sqlite-db