create Action
abstract fun createAction(method: Method, instance: Any, toolCallbacksOnInstance: List<<Error class: unknown class>>): Action
Create an Action from a method
Parameters
method
the method to create an action from
instance
instance of Agent or AgentCapabilities-annotated class
tool Callbacks On Instance
tool callbacks to use from instance level