-
Notifications
You must be signed in to change notification settings - Fork 2
remove duplicated tool_started call #881
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
base: main
Are you sure you want to change the base?
Conversation
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
||||||||||||||||||||||||
CI Feedback 🧐A test triggered by this PR failed. Here is an AI-generated analysis of the failure:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||
User description
https://weni.atlassian.net/browse/NEXUS-4078
PR Type
Bug fix
Description
Remove duplicated
tool_startedcall inon_tool_endmethodsEnhance parameter extraction with fallback to tool_calls
Support multiple parameter formats (dict, JSON string)
Change default parameters from dict to list format
Diagram Walkthrough
File Walkthrough
hooks.py
Fix duplicate tool logging and improve parameter extractioninline_agents/backends/openai/hooks.py
await self.tool_started()calls from twoon_tool_endmethods to prevent redundant logging
tool_startedmethod with fallback parameter extraction fromtool_callswhentool_infoparameters are emptystring formats to standardized parameter list format
{}to empty list[]for consistency