Spaces:
Running
Fix timer arg mismatch that wipes alternative agents table; remove OpenHands Sub-agents
The Gradio timer for the alternative agents page fired with 3 inputs mapped to a 4-parameter function (check_and_refresh_data). When show_open_only_checkbox is None the old code omitted that argument, so mark_by_dropdown landed in the show_open_only slot โ a truthy string ("Company") โ causing the handler to return the open-only filtered DataFrame, which is empty for a closed-source-only dataset.
Fix: when show_open_only_checkbox is None, connect the timer to a 3-parameter wrapper (_timer_refresh_no_open) that hardcodes show_open_only=False, matching the actual inputs exactly. gr.State cannot be used here because timer ticks have no session context.
Also removes OpenHands Sub-agents from the alternative agents list and adds an explicit skip for any unlisted agent-type directories.