agent2: Clean up tool descriptions (#36619)
schemars was passing along the newlines from the doc comments. This should make these closer to the markdown file versions we had in the old agent. Release Notes: - N/A
This commit is contained in:
parent
13a5598008
commit
e9a1404329
12 changed files with 25 additions and 58 deletions
|
@ -14,7 +14,7 @@ use ui::prelude::*;
|
|||
use web_search::WebSearchRegistry;
|
||||
|
||||
/// Search the web for information using your query.
|
||||
/// Use this when you need real-time information, facts, or data that might not be in your training. \
|
||||
/// Use this when you need real-time information, facts, or data that might not be in your training.
|
||||
/// Results will include snippets and links from relevant web pages.
|
||||
#[derive(Debug, Serialize, Deserialize, JsonSchema)]
|
||||
pub struct WebSearchToolInput {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue