Skip to content

Commit 7d2f4a5

Browse files
fix(sdk-ts): update generated Step children model
1 parent a874446 commit 7d2f4a5

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

  • sdks/typescript/src/generated/models

‎sdks/typescript/src/generated/models/step.ts‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ import { remap as remap$ } from "../lib/primitives.js";
99
* Runtime payload for an agent step invocation.
1010
*/
1111
export type Step = {
12+
/**
13+
* Optional child steps associated with this invocation
14+
*/
15+
children?: Array<Step> | null | undefined;
1216
/**
1317
* Optional context (conversation history, metadata, etc.)
1418
*/
@@ -41,6 +45,7 @@ export type Step = {
4145

4246
/** @internal */
4347
export type Step$Outbound = {
48+
children?: Array<Step$Outbound> | null | undefined;
4449
context?: { [k: string]: any } | null | undefined;
4550
ground_truth?: any | null | undefined;
4651
input: any;
@@ -53,6 +58,9 @@ export type Step$Outbound = {
5358
/** @internal */
5459
export const Step$outboundSchema: z.ZodMiniType<Step$Outbound, Step> = z.pipe(
5560
z.object({
61+
children: z.optional(
62+
z.nullable(z.array(z.lazy(() => Step$outboundSchema))),
63+
),
5664
context: z.optional(z.nullable(z.record(z.string(), z.any()))),
5765
groundTruth: z.optional(z.nullable(z.any())),
5866
input: z.any(),

0 commit comments

Comments
 (0)