mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-21 13:50:20 +08:00
AgentTools.get_tool_categories iterates toolbox.tools() and reads tool.get_panel_section()[1] on every visible tool. get_panel_section was not on the LazyTool stub surface, so under the permissive default that sweep materialised the entire toolbox to build the category list (and under LAZY_TOOL_STRICT=1 it would now raise). The populator already stamps panel_section_id / panel_section_name onto ToolIndexEntry, so forward the call off the entry — matching the (section_id, section_name) / (None, None) contract of Tool.get_panel_section — and keep the walk lazy. Claude-Session: https://claude.ai/code/session_018L7ZmCv2ubKA3JNeSL8Pkr