DelegatingAIFunction constructor

DelegatingAIFunction(
  1. AIFunction innerFunction
)

Creates a new DelegatingAIFunction wrapping innerFunction.

Implementation

DelegatingAIFunction(this.innerFunction)
    : super(
        name: innerFunction.name,
        description: innerFunction.description,
        parametersSchema: innerFunction.parametersSchema,
        returnSchema: innerFunction.returnSchema,
        isStrict: innerFunction.isStrict,
      );