feat: mark include_relationships param as legacy in api (#6368)

This commit is contained in:
cthomas
2025-11-24 19:01:54 -08:00
committed by Caren Thomas
parent 7b0bd1cb13
commit b08dc5c4d8
4 changed files with 16 additions and 4 deletions

View File

@@ -4053,9 +4053,11 @@
}
],
"description": "Specify which relational fields (e.g., 'tools', 'sources', 'memory') to include in the response. If not provided, all relationships are loaded by default. Using this can optimize performance by reducing unnecessary joins.This is a legacy parameter, and no longer supported after 1.0.0 SDK versions.",
"deprecated": true,
"title": "Include Relationships"
},
"description": "Specify which relational fields (e.g., 'tools', 'sources', 'memory') to include in the response. If not provided, all relationships are loaded by default. Using this can optimize performance by reducing unnecessary joins.This is a legacy parameter, and no longer supported after 1.0.0 SDK versions."
"description": "Specify which relational fields (e.g., 'tools', 'sources', 'memory') to include in the response. If not provided, all relationships are loaded by default. Using this can optimize performance by reducing unnecessary joins.This is a legacy parameter, and no longer supported after 1.0.0 SDK versions.",
"deprecated": true
},
{
"name": "include",
@@ -4736,9 +4738,11 @@
}
],
"description": "Specify which relational fields (e.g., 'tools', 'sources', 'memory') to include in the response. If not provided, all relationships are loaded by default. Using this can optimize performance by reducing unnecessary joins.This is a legacy parameter, and no longer supported after 1.0.0 SDK versions.",
"deprecated": true,
"title": "Include Relationships"
},
"description": "Specify which relational fields (e.g., 'tools', 'sources', 'memory') to include in the response. If not provided, all relationships are loaded by default. Using this can optimize performance by reducing unnecessary joins.This is a legacy parameter, and no longer supported after 1.0.0 SDK versions."
"description": "Specify which relational fields (e.g., 'tools', 'sources', 'memory') to include in the response. If not provided, all relationships are loaded by default. Using this can optimize performance by reducing unnecessary joins.This is a legacy parameter, and no longer supported after 1.0.0 SDK versions.",
"deprecated": true
},
{
"name": "include",
@@ -10517,9 +10521,11 @@
}
],
"description": "Specify which relational fields (e.g., 'tools', 'sources', 'memory') to include in the response. If not provided, all relationships are loaded by default. Using this can optimize performance by reducing unnecessary joins.This is a legacy parameter, and no longer supported after 1.0.0 SDK versions.",
"deprecated": true,
"title": "Include Relationships"
},
"description": "Specify which relational fields (e.g., 'tools', 'sources', 'memory') to include in the response. If not provided, all relationships are loaded by default. Using this can optimize performance by reducing unnecessary joins.This is a legacy parameter, and no longer supported after 1.0.0 SDK versions."
"description": "Specify which relational fields (e.g., 'tools', 'sources', 'memory') to include in the response. If not provided, all relationships are loaded by default. Using this can optimize performance by reducing unnecessary joins.This is a legacy parameter, and no longer supported after 1.0.0 SDK versions.",
"deprecated": true
},
{
"name": "include",
@@ -12539,9 +12545,11 @@
}
],
"description": "Specify which relational fields (e.g., 'tools', 'sources', 'memory') to include in the response. If not provided, all relationships are loaded by default. Using this can optimize performance by reducing unnecessary joins.This is a legacy parameter, and no longer supported after 1.0.0 SDK versions.",
"deprecated": true,
"title": "Include Relationships"
},
"description": "Specify which relational fields (e.g., 'tools', 'sources', 'memory') to include in the response. If not provided, all relationships are loaded by default. Using this can optimize performance by reducing unnecessary joins.This is a legacy parameter, and no longer supported after 1.0.0 SDK versions."
"description": "Specify which relational fields (e.g., 'tools', 'sources', 'memory') to include in the response. If not provided, all relationships are loaded by default. Using this can optimize performance by reducing unnecessary joins.This is a legacy parameter, and no longer supported after 1.0.0 SDK versions.",
"deprecated": true
},
{
"name": "include",

View File

@@ -101,6 +101,7 @@ async def list_agents(
"Using this can optimize performance by reducing unnecessary joins."
"This is a legacy parameter, and no longer supported after 1.0.0 SDK versions."
),
deprecated=True,
),
include: List[AgentRelationships] = Query(
[],
@@ -815,6 +816,7 @@ async def retrieve_agent(
"Using this can optimize performance by reducing unnecessary joins."
"This is a legacy parameter, and no longer supported after 1.0.0 SDK versions."
),
deprecated=True,
),
include: List[AgentRelationships] = Query(
[],

View File

@@ -186,6 +186,7 @@ async def list_agents_for_block(
"Using this can optimize performance by reducing unnecessary joins."
"This is a legacy parameter, and no longer supported after 1.0.0 SDK versions."
),
deprecated=True,
),
include: List[AgentRelationships] = Query(
[],

View File

@@ -149,6 +149,7 @@ async def list_agents_for_block(
"Using this can optimize performance by reducing unnecessary joins."
"This is a legacy parameter, and no longer supported after 1.0.0 SDK versions."
),
deprecated=True,
),
include: List[str] = Query(
[],