diff --git a/README.md b/README.md index 0e9b717de..c8dc54c7d 100644 --- a/README.md +++ b/README.md @@ -125,7 +125,7 @@ impl Calculator { } // sync function - #[tool(description = "Calculate the sum of two numbers")] + #[tool(description = "Calculate the difference of two numbers")] fn sub( &self, #[tool(param)] diff --git a/examples/servers/src/common/calculator.rs b/examples/servers/src/common/calculator.rs index f2de8f670..68beecc0c 100644 --- a/examples/servers/src/common/calculator.rs +++ b/examples/servers/src/common/calculator.rs @@ -20,7 +20,7 @@ impl Calculator { (a + b).to_string() } - #[tool(description = "Calculate the sub of two numbers")] + #[tool(description = "Calculate the difference of two numbers")] fn sub( &self, #[tool(param)]