From 38adfebe78fb210921ece43c62c46cd966279c5b Mon Sep 17 00:00:00 2001 From: megastary <25355950+megastary@users.noreply.github.com> Date: Fri, 1 May 2026 11:34:21 +0200 Subject: [PATCH] fix(teams): import prompt/print helpers from cli_output, not config The Teams adapter's interactive_setup() tried to import prompt, prompt_yes_no, print_info, print_success, and print_warning from hermes_cli.config, but those helpers live in hermes_cli.cli_output. Only get_env_value/save_env_value live in hermes_cli.config. This caused 'hermes setup' to crash with ImportError as soon as the user picked Teams in the messaging-platforms wizard. Split the import accordingly. --- plugins/platforms/teams/adapter.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/platforms/teams/adapter.py b/plugins/platforms/teams/adapter.py index 945ffa0795..d0a2b7adbc 100644 --- a/plugins/platforms/teams/adapter.py +++ b/plugins/platforms/teams/adapter.py @@ -592,6 +592,8 @@ def interactive_setup() -> None: from hermes_cli.config import ( get_env_value, save_env_value, + ) + from hermes_cli.cli_output import ( prompt, prompt_yes_no, print_info,