feat: add tool annotations for build-in tools (#1939)
This commit is contained in:
@@ -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?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user