| masked_parameter_map = {} | masked_parameter_map = {} | ||||
| tool_map = {} | tool_map = {} | ||||
| for tool in agent_mode.get('tools') or []: | for tool in agent_mode.get('tools') or []: | ||||
| if not isinstance(tool, dict) or len(tool.keys()) <= 3: | |||||
| continue | |||||
| agent_tool_entity = AgentToolEntity(**tool) | agent_tool_entity = AgentToolEntity(**tool) | ||||
| # get tool | # get tool | ||||
| try: | try: |