You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove custom <Steps> wrapper tags around example sections and replace step lists with plain headings (e.g., "Create src/workflow.ts", "Create src/agent.ts", "Replace src/index.ts"). Normalize fenced code block indentation and clean up surrounding whitespace for more consistent MDX rendering.
<Detailsheader="Why separate steps for LLM and tools?">
339
336
340
337
Each `step.do()` creates a checkpoint. If your Workflow crashes or the Worker restarts:
@@ -354,8 +351,7 @@ This is especially important for:
354
351
355
352
The Agent handles HTTP requests, WebSocket connections, and Workflow lifecycle events. It triggers a workflow instance `runWorkflow()` and receives progress updates via callbacks.
The Worker routes requests to the Agent, which manages workflow lifecycle. Use `routeAgentRequest()` for WebSocket connections and `getAgentByName()` for server-side RPC calls.
0 commit comments