ActionMethodManager

Creates and invokes actions from annotated methods.

Properties

Link copied to clipboard

Strategies for resolving action method parameters into argument values Handles core types such as Ai and OperationContext, but can be extended to support custom parameter types.

Functions

Link copied to clipboard
abstract fun createAction(method: Method, instance: Any, toolCallbacksOnInstance: List<<Error class: unknown class>>, costMethods: Map<String, CostMethodInfo> = emptyMap()): Action

Create an Action from a method

Link copied to clipboard
abstract fun <O> invokeActionMethod(method: Method, instance: Any, actionContext: TransformationActionContext<List<Any>, O>): O

Invoke the action method on the given instance.