Skip to content

@saflib/workflows


Interface: UpdateTemplateFileComposerOptions<C>

Options for the updateTemplateComposer function.

Extends

Type Parameters

Type Parameter
C extends WorkflowContext

Properties

filePath

filePath: string | (context) => string

Path to the file to update. Can be a string or a function that returns a string. The string is expected to be resolved


nextStateName

nextStateName: string

Inherited from

ComposerFunctionOptions.nextStateName


promptMessage

promptMessage: string | (context) => string

Message to prompt the agent with.


stateName

stateName: string

Inherited from

ComposerFunctionOptions.stateName