mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-07 02:51:50 +00:00
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:
parent
cfd86dcdb8
commit
38adfebe78
1 changed files with 2 additions and 0 deletions
|
|
@ -592,6 +592,8 @@ def interactive_setup() -> None:
|
||||||
from hermes_cli.config import (
|
from hermes_cli.config import (
|
||||||
get_env_value,
|
get_env_value,
|
||||||
save_env_value,
|
save_env_value,
|
||||||
|
)
|
||||||
|
from hermes_cli.cli_output import (
|
||||||
prompt,
|
prompt,
|
||||||
prompt_yes_no,
|
prompt_yes_no,
|
||||||
print_info,
|
print_info,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue