Merge pull request #2179 from Molecule-AI/fix/agent-capabilities-state-transition-history
fix: drop state_transition_history (removed in a2a-sdk 1.x)
This commit is contained in:
commit
11e149f05c
@ -188,7 +188,12 @@ async def main(): # pragma: no cover
|
||||
capabilities=AgentCapabilities(
|
||||
streaming=config.a2a.streaming,
|
||||
push_notifications=config.a2a.push_notifications,
|
||||
state_transition_history=True,
|
||||
# Note: state_transition_history (a 0.x capability flag) was
|
||||
# removed in a2a-sdk 1.0. Per the SDK's own
|
||||
# a2a/compat/v0_3/conversions.py: "No longer supported in
|
||||
# v1.0". The capability is now universal — Task.history is
|
||||
# always available and tasks/get accepts historyLength via
|
||||
# apply_history_length(). Don't add this kwarg back.
|
||||
),
|
||||
skills=[
|
||||
AgentSkill(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user