File tree 3 files changed +6
-6
lines changed
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -18,14 +18,14 @@ impl Calculator {
18
18
( a + b) . to_string ( )
19
19
}
20
20
21
- #[ tool( description = "Calculate the sum of two numbers" ) ]
21
+ #[ tool( description = "Calculate the sub of two numbers" ) ]
22
22
fn sub (
23
23
& self ,
24
24
#[ tool( param) ]
25
25
#[ schemars( description = "the left hand side number" ) ]
26
26
a : i32 ,
27
27
#[ tool( param) ]
28
- #[ schemars( description = "the left hand side number" ) ]
28
+ #[ schemars( description = "the right hand side number" ) ]
29
29
b : i32 ,
30
30
) -> String {
31
31
( a - b) . to_string ( )
Original file line number Diff line number Diff line change @@ -14,14 +14,14 @@ impl Calculator {
14
14
( a + b) . to_string ( )
15
15
}
16
16
17
- #[ tool( description = "Calculate the sum of two numbers" ) ]
17
+ #[ tool( description = "Calculate the sub of two numbers" ) ]
18
18
fn sub (
19
19
& self ,
20
20
#[ tool( param) ]
21
21
#[ schemars( description = "the left hand side number" ) ]
22
22
a : i32 ,
23
23
#[ tool( param) ]
24
- #[ schemars( description = "the left hand side number" ) ]
24
+ #[ schemars( description = "the right hand side number" ) ]
25
25
b : i32 ,
26
26
) -> String {
27
27
( a - b) . to_string ( )
Original file line number Diff line number Diff line change @@ -18,14 +18,14 @@ impl Calculator {
18
18
( a + b) . to_string ( )
19
19
}
20
20
21
- #[ tool( description = "Calculate the sum of two numbers" ) ]
21
+ #[ tool( description = "Calculate the sub of two numbers" ) ]
22
22
fn sub (
23
23
& self ,
24
24
#[ tool( param) ]
25
25
#[ schemars( description = "the left hand side number" ) ]
26
26
a : i32 ,
27
27
#[ tool( param) ]
28
- #[ schemars( description = "the left hand side number" ) ]
28
+ #[ schemars( description = "the right hand side number" ) ]
29
29
b : i32 ,
30
30
) -> String {
31
31
( a - b) . to_string ( )
You can’t perform that action at this time.
0 commit comments