Skip to content

Commit b1347be

Browse files
authored
Merge pull request #38 from ReWrite94/fix/resolve-module-engine-passthrough
2 parents 0efd997 + c76cdc1 commit b1347be

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/workflows/utils/resolvers/module.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ export function resolveModule(id: string, overrides: ModuleOverrides = {}): Work
4242
const promptPath = overrides.promptPath ?? moduleEntry.promptPath;
4343
const model = overrides.model ?? moduleEntry.model;
4444
const modelReasoningEffort = overrides.modelReasoningEffort ?? moduleEntry.modelReasoningEffort;
45+
const engine = overrides.engine ?? moduleEntry.engine;
4546

4647
if (typeof promptPath !== 'string' || !promptPath.trim()) {
4748
throw new Error(`Module ${id} is missing a promptPath configuration.`);
@@ -56,6 +57,7 @@ export function resolveModule(id: string, overrides: ModuleOverrides = {}): Work
5657
promptPath,
5758
model,
5859
modelReasoningEffort,
60+
engine,
5961
module: {
6062
id: moduleEntry.id,
6163
behavior,

0 commit comments

Comments
 (0)