Hey, could it be that ToolSet is no longer availab...
# koog-agentic-framework
e
Hey, could it be that ToolSet is no longer available in koog 0.4.1?
k
@Eduardo Ruesta, If you mean ai.koog.agents.core.tools.reflect.ToolSet - then it's here https://github.com/JetBrains/koog/blob/0.4.1/agents/agents-tools/src/jvmMain/kotlin/ai/koog/agents/core/tools/reflect/ToolSet.kt
e
k
I updated Koog version in the example, plus refreshed some other dependencies) and it still works on my machine :)
e
Mmm let me see again
Thanks
a
Using Tool annotation and ToolSet is only available on the JVM platform, because it uses reflection to create tools from functions. On Multiplatform, you have to define your tools as classes https://docs.koog.ai/class-based-tools/. And yes, you can refer to the demo app in examples, it uses class based tools.
e
Thanks Andrey. I used that and it worked 🫶🏽