Skip to content

Conversation

@zhaoshuaibo-china
Copy link
Collaborator

  • Added support for a tool whitelist mode to the --visible-tools parameter, registering only specified tools.

  • Added support for dynamically extending service and API configurations to the --extra-config parameter.

  • Implemented the _register_tools_with_filter function to register tools based on the whitelist and additional configurations.

  • Fixed the mutual exclusion logic between the code_deploy and visible_tools parameters to avoid conflicts.

  • Modified the merging and application of extra_config to service API configurations in normal mode.

  • Added detailed logging of the tool registration and additional configuration merging process.

  • Added extensive unit tests to cover visible_tools, extra_config, and code deployment modes.

  • Added compatibility for parsing extra_config configurations in JSON and Python dict string formats.

  • Optimized tool module loading logic to support mixed registration of static and dynamic API tools.

Change-Id: Ia3a148672783d7142a241d9b26698e1c57b01365
Co-developed-by: Qoder [email protected]

…xtra config

- Added `--visible-tools` parameter to support tool whitelist mode, registering only specified tools.

- Added `--extra-config` parameter to support dynamically extending service and API configurations.

- Implemented the `_register_tools_with_filter` function to register tools based on the whitelist and extra configuration.

- Fixed the mutual exclusion logic between `code_deploy` and `visible_tools` parameters to avoid conflicts.

- Modified the merging and application of `extra_config` to service API configurations in normal mode.

- Added detailed logging of the tool registration and extra configuration merging process.

- Added extensive unit tests to cover `visible_tools`, `extra_config`, and code deployment modes.

- Compatible with JSON and Python dict string formats for parsing `extra_config` configurations.

- Optimized tool module loading logic to support mixed registration of static and dynamic API tools.
Change-Id: I86b467b612cd6b1d4c2cdce03af028eced523a14
Co-developed-by: Qoder <[email protected]>
@zhaoshuaibo-china zhaoshuaibo-china force-pushed the config_support_click_option branch from d32f410 to e6d2690 Compare January 29, 2026 02:23
Change-Id: I1cd9d5f42e44a3af1c178eb44a55107ea2f25dca
@zhaoshuaibo-china zhaoshuaibo-china merged commit 9fc18fc into master Jan 29, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants