9edf773b81
- Introduced filterInitialToolsForDiscoveryAll() to centralize tool filtering when discovery mode is "all", replacing inline logic in createAgentSession. - Added forceActive parameter to ensure tools required by forced tool_choice features (e.g., eager todo) remain active in the request, preventing provider 400 errors. - Updated eager todo enforcement to check active tool set instead of registry, ensuring it respects tool discovery hiding.