Skip to content

Commit 0446650

Browse files
committed
Fix
1 parent 7d3f831 commit 0446650

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/agents-core/src/runState.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,8 @@ const serializedProcessedResponseSchema = z.object({
165165
arguments: z.string().optional(),
166166
status: z.string().optional(),
167167
output: z.string().optional(),
168-
providerData: z.record(z.string(), z.any()),
168+
// this always exists but marked as optional for early version compatibility; when releasing 1.0, we can remove the nullable and optional
169+
providerData: z.record(z.string(), z.any()).nullable().optional(),
169170
}),
170171
}),
171172
// HostedMCPTool

0 commit comments

Comments
 (0)