You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: Ensure agent wakes up on A2A task completion (#384)
Enabled A2A monitoring in config and fixed agent event channel
integration. Agent now properly receives wake-up events when A2A tasks
complete. Fixed task state handling with case-insensitive comparisons
and prevented premature agent exit.
## Changes Made:
1. **Enabled A2A monitoring** in `.infer/config.yaml`
2. **Fixed import ordering** in multiple files for consistency
3. **Added agent event channel integration** to wake up the agent when
A2A tasks complete
4. **Fixed A2A task state handling** with case-insensitive state
comparisons
5. **Prevented agent from exiting** while A2A tasks are pending in idle
state
## Key Benefits:
- A2A monitoring is now enabled by default
- Agent stays alive while A2A tasks are pending
- Proper event notification when tasks complete
- Robust state handling for various task status formats
- Improved reliability of A2A task execution
0 commit comments