chore: Mark agent_ids field as deprecated in favor of edges across various schemas and types

This commit is contained in:
Danny Avila 2025-09-03 21:19:24 -04:00
parent 317a5b5310
commit cfffd43184
No known key found for this signature in database
GPG key ID: BF31EEB2C5CA0956
5 changed files with 5 additions and 0 deletions

View file

@ -57,6 +57,7 @@ export const agentBaseSchema = z.object({
avatar: agentAvatarSchema.nullable().optional(),
model_parameters: z.record(z.unknown()).optional(),
tools: z.array(z.string()).optional(),
/** @deprecated Use edges instead */
agent_ids: z.array(z.string()).optional(),
edges: z.array(graphEdgeSchema).optional(),
end_after_tools: z.boolean().optional(),