Type Alias: StandingInstructionsRefreshFn
ts
type StandingInstructionsRefreshFn = (
ctx: TurnContext,
) => (string | Tokenizable)[] | Promise<(string | Tokenizable)[]>;A function that refreshes and returns the standing instructions for the current turn.
Parameters
| Parameter | Type |
|---|---|
ctx | TurnContext |
Returns
| (string | Tokenizable)[] | Promise<(string | Tokenizable)[]>
Remarks
Called to re-derive standing instructions mid-turn when they may have changed. May be synchronous or asynchronous.