mirror of
https://github.com/EvolutionAPI/adk-python.git
synced 2025-07-13 15:14:50 -06:00
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:
parent
0026edc1c9
commit
68de9adc18
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user