File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
agents/agents-tools/src/jvmTest/java/ai/koog/agents/tools Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 77public class JavaToolbox {
88
99 // primitives
10- public static int add (@ LLMDescription ( description = "a" ) int a , @ LLMDescription ( description = "b" ) int b ) {
10+ public static int add (int a , int b ) {
1111 return a + b ;
1212 }
1313
1414 // boxed types and strings
15- public static String concat (@ LLMDescription ( description = "a" ) String a , @ LLMDescription ( description = "b" ) String b ) {
15+ public static String concat (String a , String b ) {
1616 return (a == null ? "" : a ) + (b == null ? "" : b );
1717 }
1818
@@ -22,12 +22,12 @@ public static String ping() {
2222 }
2323
2424 // serializable data class
25- public static Payload echo (@ LLMDescription ( description = "p" ) Payload p ) {
25+ public static Payload echo (Payload p ) {
2626 return p ;
2727 }
2828
2929 // instance method with primitive
30- public int inc (@ LLMDescription ( description = "x" ) int x ) {
30+ public int inc (int x ) {
3131 return x + 1 ;
3232 }
3333}
You can’t perform that action at this time.
0 commit comments