agent2: Add now, grep, and web search tools (#35974)

Release Notes:

- N/A

---------

Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>
Co-authored-by: Antonio Scandurra <me@as-cii.com>
This commit is contained in:
Ben Brandt 2025-08-11 15:34:34 +02:00 committed by GitHub
parent ebcce8730d
commit 8dbded46d8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 1390 additions and 4 deletions

View file

@ -263,12 +263,12 @@ pub struct WebSearchBody {
pub query: String,
}
#[derive(Serialize, Deserialize, Clone)]
#[derive(Debug, Serialize, Deserialize, Clone)]
pub struct WebSearchResponse {
pub results: Vec<WebSearchResult>,
}
#[derive(Serialize, Deserialize, Clone)]
#[derive(Debug, Serialize, Deserialize, Clone)]
pub struct WebSearchResult {
pub title: String,
pub url: String,