Skip to content
Open
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
9 changes: 7 additions & 2 deletions packages/core/src/workflow/context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@ import type { Logger } from "@voltagent/internal";
import type { Agent } from "../agent/agent";
import type { Memory } from "../memory";
import type { WorkflowTraceContext } from "./open-telemetry/trace-context";
import type { WorkflowStateStore, WorkflowStepData, WorkflowStreamWriter } from "./types";
import type {
WorkflowStateStore,
WorkflowStepData,
WorkflowStepHistoryEntry,
WorkflowStreamWriter,
} from "./types";

/**
* Context information for a workflow execution
Expand Down Expand Up @@ -45,7 +50,7 @@ export interface WorkflowExecutionContext {
/**
* Array of completed steps (for tracking)
*/
steps: any[]; // TODO: Type this properly
steps: WorkflowStepHistoryEntry[];
/**
* AbortSignal for cancelling the workflow
*/
Expand Down