Skip to content

Commit 08c96f7

Browse files
declan-scaleclaude
andcommitted
docs(sdk): document server version requirement and deployment-path gap for the card filter
Adds the minimum-server note to metadata_filters (older servers ignore the unknown query parameter and return the full agent list) and syncs the generated agent_card_metadata docstrings with the updated OpenAPI description from scaleapi/scale-agentex#411. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent ecd6e32 commit 08c96f7

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎src/agentex/lib/utils/metadata_filters.py‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@
1313
client.agents.list(
1414
agent_card_metadata=encode_metadata_filter({"permits_capable": True}),
1515
)
16+
17+
The ``agent_card_metadata`` filter requires an Agentex server that includes
18+
scaleapi/scale-agentex#411. Older servers ignore the unknown query parameter
19+
and return the full unfiltered agent list rather than erroring, and the SDK's
20+
startup backend-contract check does not guard against this.
1621
"""
1722

1823
from __future__ import annotations

0 commit comments

Comments
 (0)