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.
This commit is contained in:
megastary 2026-05-01 11:34:21 +02:00 committed by kshitij
parent cfd86dcdb8
commit 38adfebe78

View file

@ -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,