Function: handleFunctionCallMessage()
handleFunctionCallMessage(
args):Promise<Msg[]>
Handle messages that require calling functions.
Parameters
| Parameter | Type |
|---|---|
args | object |
args.functionCallConcurrency? | number |
args.functions? | AIFunction<ZodObject<any, UnknownKeysParam, ZodTypeAny, object, object>, any>[] |
args.message | Msg |
Returns
Promise<Msg[]>
An array of the new messages from the function calls Note: Does not include args.message in the returned array