Description
EventEncoder._encode_sse uses module_dump_json to return data. When the event type is AgentResponseUpdate, AgentResponseUpdate fails to serialize/export.
Error Message:
AttributeError: 'AgentResponseUpdate' object has no attribute 'model_dump_json'
Code Sample
Error Messages / Stack Traces
Package Versions
agent-framework-ag-ui=1.0.0b260311
Python Version
3.13
Additional Context
No response