Hafiy Zakaria
40bd6d4709
fix: honor agent.disabled_toolsets in gateway sessions
...
Previously, agent.disabled_toolsets in config.yaml only worked for CLI
mode (run_agent.py --disabled_toolsets). The gateway always passed
enabled_toolsets to AIAgent, and get_tool_definitions() ignored
disabled_toolsets when enabled_toolsets was set.
Fix: _get_platform_tools() now reads agent.disabled_toolsets from config
and excludes those toolsets from the returned set. This runs last so it
overrides everything above.
Added 3 tests covering cross-platform suppression, explicit platform
config override, and empty/missing config no-op behavior.
2026-04-28 01:23:16 -07:00
..
2026-04-23 15:31:59 -07:00
2026-04-24 05:20:38 -07:00
2026-04-27 11:17:59 -07:00
2026-04-25 18:48:43 -07:00
2026-04-27 06:43:52 -07:00
2026-04-23 23:28:34 -07:00
2026-04-14 16:11:37 -07:00
2026-04-22 18:15:27 -07:00
2026-04-13 16:32:04 -07:00
2026-04-11 13:14:32 -05:00
2026-04-23 13:32:43 -07:00
2026-03-30 17:07:21 -07:00
2026-04-27 05:31:47 -07:00
2026-04-14 10:45:42 -07:00
2026-04-28 01:17:17 -07:00
2026-04-24 05:09:08 -07:00
2026-04-24 05:07:01 -07:00
2026-04-16 12:36:49 -07:00
2026-04-27 00:36:33 -07:00
2026-03-26 01:34:27 -07:00
2026-04-17 05:08:07 -07:00
2026-04-27 11:17:59 -07:00
2026-04-24 05:35:17 -07:00
2026-04-22 05:51:44 -07:00
2026-04-26 06:19:04 -07:00
2026-04-26 18:50:49 -07:00
2026-04-25 22:13:12 -07:00
2026-04-11 17:23:36 -07:00
2026-04-28 01:17:58 -07:00
2026-04-16 21:57:10 -07:00
2026-04-15 14:25:40 -07:00
2026-04-26 05:46:43 -07:00
2026-04-24 05:24:54 -07:00
2026-04-25 18:47:53 -07:00
2026-04-28 01:18:09 -07:00
2026-04-26 19:02:55 -07:00
2026-04-25 08:55:36 -07:00
2026-04-23 02:34:11 -07:00
2026-04-26 18:50:49 -07:00
2026-04-20 04:46:45 -07:00
2026-04-27 20:08:33 -07:00
2026-04-23 03:02:34 -07:00
2026-04-27 11:17:59 -07:00
2026-04-24 12:07:46 -04:00
2026-04-28 01:14:35 -07:00
2026-04-26 18:50:49 -07:00
2026-04-13 16:32:04 -07:00
2026-04-26 20:57:10 -07:00
2026-04-22 13:20:02 -07:00
2026-04-26 11:38:32 -07:00
2026-04-26 18:50:49 -07:00
2026-04-26 20:48:20 -07:00
2026-04-26 18:21:29 -07:00
2026-04-28 01:23:16 -07:00
2026-04-18 19:18:13 -07:00
2026-04-23 16:18:15 -07:00
2026-04-26 21:34:31 -05:00
2026-04-19 05:18:19 -07:00