feat: add tool annotations for build-in tools (#1939)

This commit is contained in:
Yingjie He
2025-03-31 16:46:55 -07:00
committed by GitHub
parent f184449f81
commit 680523297b
23 changed files with 369 additions and 9 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ async fn main() -> Result<()> {
.complete(
"You are a helpful assistant. Please describe any text you see in the image.",
&messages,
&[Tool::new("view_image", "View an image", input_schema)],
&[Tool::new("view_image", "View an image", input_schema, None)],
)
.await?;