remora-monorepo / lib / GenerateWorkflowOptions
Interface: GenerateWorkflowOptions
Defined in: packages/core/src/generator/index.ts:17
Options for generateWorkflow.
Properties
additionalInstructions?
optionaladditionalInstructions:string
Defined in: packages/core/src/generator/index.ts:27
Additional instructions appended to the system prompt to guide workflow generation.
maxRetries?
optionalmaxRetries:number
Defined in: packages/core/src/generator/index.ts:25
Maximum number of generation attempts if the LLM produces invalid workflows. Defaults to 3.
model
model:
LanguageModel
Defined in: packages/core/src/generator/index.ts:19
The language model to use for generating the workflow.
task
task:
string
Defined in: packages/core/src/generator/index.ts:23
Natural language description of the task the workflow should accomplish.
tools
tools:
ToolSet
Defined in: packages/core/src/generator/index.ts:21
Available tools the generated workflow can reference. All tools must have an outputSchema.