fix: always send tool config fields regardless of enable_as_tool state#213
fix: always send tool config fields regardless of enable_as_tool state#213amirasaran merged 1 commit intodevelopmentfrom
Conversation
- Remove conditional clearing of tool_function_name and tool_description when enable_as_tool is false - Backend now handles empty string values appropriately when tool is disabled
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 |
||||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||
User description
PR Type
Bug fix
Description
Remove conditional clearing of tool config fields in API requests
Always send
tool_function_nameandtool_descriptionvaluesBackend now handles empty strings when tool is disabled
Diagram Walkthrough
File Walkthrough
useAgentToolConfig.ts
Remove conditional field clearing in tool config savefrontend/src/hooks/useAgentToolConfig.ts
tool_function_nameandtool_descriptionwhenenableAsToolis falseenabled state