- 
                Notifications
    You must be signed in to change notification settings 
- Fork 486
fix: empty a2a message #2163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: empty a2a message #2163
Conversation
| Code Review - PR #2163: Fix empty A2A messageThank you for addressing the empty message issue in A2A! I've reviewed the changes and have the following feedback: ✅ Strengths
 🔍 Observations & Suggestions1. agent_executor.py - Task construction (Lines 38-46)The manual Task construction duplicates logic that likely exists in the  
 2. client_utils.py - Logic change (Lines 132-135)While the refactoring looks cleaner, there's a subtle potential behavioral change: Before: config_tools = config.get("tools", [])
client_tools = client_config.get("tools", [])
if config_tools or client_tools:
    if "functions" not in full_config:
        full_config["tools"] = config_tools + client_toolsAfter: tools = config.get("tools", []) + client_config.get("tools", [])
if tools and "functions" not in full_config:
    full_config["tools"] = toolsThe logic appears equivalent, but the key difference is the condition evaluation: 
 This should be functionally identical for lists, but wanted to call this out for verification. The new version is more Pythonic. 3. Test coverage for client_utils.pyThe  
 4. Missing documentation checkboxThe PR description has the documentation checkbox unchecked. While this change might not require user-facing documentation, consider whether: 
 🔒 Security & Performance
 📋 Minor Nits
 SummaryThe core fix is solid and addresses the reported issue effectively. The main recommendation is to add tests for  Recommendation: ✅ Approve with minor suggestions | 
| Pull Request Review: Fix Empty A2A MessageSummaryThis PR addresses an important bug where A2A (Agent-to-Agent) messages with empty content were causing  Code Quality & Best Practices✅ Strengths
 🔍 Observations & Suggestions1. Manual Task Construction ( | 
| @marklysze can we merge this one? Bassil told, that everything fine now | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks @Lancetnik
| Codecov Report❌ Patch coverage is  
 
 ... and 20 files with indirect coverage changes 🚀 New features to boost your workflow:
 | 
Related issue number
Bassils' report about A2A empty message
We should fix it. Empty-content messages are fine for our framework. We are using message metadata to pass info about context and tools using, so the body can be empty.
Checks