Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/runner/memoization.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,13 @@ describe('Workflow Memoization (Auto-Hashing)', () => {

// We can check if `executeLlmStep` was called.
let called = false;
const trackingExecute = async (s: any, c: any) => {
// Match signature of executeLlmStep (at least the required args)
const trackingExecute = async (s: any, c: any, _execFn: any, ..._args: any[]) => {
called = true;
return mockExecuteLlmStep(s, c);
};

// Override the executor for runner2 to track calls
// @ts-ignore - hacking private property or constructor option
// Actually we passed it in constructor option.
const runner2Tracked = new WorkflowRunner(workflow, {
dbPath,
Expand Down