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

@ -68,6 +68,7 @@ const agentSchema = new Schema<IAgent>(
end_after_tools: {
type: Boolean,
},
/** @deprecated Use edges instead */
agent_ids: {
type: [String],
},

View file

@ -28,6 +28,7 @@ export interface IAgent extends Omit<Document, 'model'> {
authorName?: string;
hide_sequential_outputs?: boolean;
end_after_tools?: boolean;
/** @deprecated Use edges instead */
agent_ids?: string[];
edges?: GraphEdge[];
/** @deprecated Use ACL permissions instead */