Type Aliases

ActKey<M>

Type Alias: ActKey<M>

ActKey<M> = M extends `${infer Head}-${infer Tail}` ? `${Head}${Capitalize<Tail>}` : M

Defined in: src/core/agent/moments.ts:52

The .act() key that governs a moment: the moment's name, camel-cased.

'before-tool'beforeTool. Purely mechanical, so there is no list of pairs anywhere for the two spellings to drift apart in.

Type Parameters

M

M extends LoopMoment = LoopMoment

On this page