The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
chore(wecom,raft): drop imports left unused by the declines_reconfigure rewrite
teknium1d131988d53c3
diff --git a/plugins/platforms/raft/adapter.py b/plugins/platforms/raft/adapter.pyindex d85c92b1247..d3d45a5c180 100644--- a/plugins/platforms/raft/adapter.py+++ b/plugins/platforms/raft/adapter.py@@ -527,7 +527,7 @@ def _env_enablement() -> Optional[dict]:def interactive_setup() -> None:"""``hermes gateway setup`` flow: persists ``RAFT_PROFILE`` to the Hermes env file.CLI helpers are lazy-imported so the plugin stays importable in gateway runtime and tests."""- from hermes_cli.cli_output import print_header, print_info, print_success, print_warning, prompt, prompt_yes_no+ from hermes_cli.cli_output import print_header, print_info, print_success, print_warning, promptfrom hermes_cli.config import get_env_value, save_env_valuefrom hermes_cli.setup_platforms import declines_reconfigureprint_header("Raft")diff --git a/plugins/platforms/wecom/adapter.py b/plugins/platforms/wecom/adapter.pyindex 98086b483d8..be2cd63a046 100644--- a/plugins/platforms/wecom/adapter.py+++ b/plugins/platforms/wecom/adapter.py@@ -755,9 +755,9 @@ _ACCESS_CHOICES = (def interactive_setup() -> None:- from hermes_cli.config import get_env_value, remove_env_value, save_env_value+ from hermes_cli.config import remove_env_value, save_env_valuefrom hermes_cli.setup import prompt_choice- from hermes_cli.cli_output import prompt, prompt_yes_no, print_header, print_info, print_success, print_warning+ from hermes_cli.cli_output import prompt, print_header, print_info, print_success, print_warningfrom hermes_cli.setup_platforms import declines_reconfigureprint_header("WeCom (Enterprise WeChat)")if declines_reconfigure("WeCom", "Reconfigure WeCom?", "WECOM_BOT_ID"):