File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
src/aks-preview/azext_aks_preview/agent Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 1111from pathlib import Path
1212
1313from azext_aks_preview ._consts import (
14- CONST_AGENT_CONFIG_FILE_NAME ,
1514 CONST_AGENT_CONFIG_PATH_DIR_ENV_KEY ,
1615 CONST_AGENT_NAME ,
1716 CONST_AGENT_NAME_ENV_KEY ,
@@ -95,6 +94,7 @@ def aks_agent(
9594
9695 os .environ [CONST_AGENT_CONFIG_PATH_DIR_ENV_KEY ] = get_config_dir ()
9796 # Holmes library allows the user to specify the agent name through environment variable before loading the library.
97+
9898 os .environ [CONST_AGENT_NAME_ENV_KEY ] = CONST_AGENT_NAME
9999
100100 from holmes .config import Config
@@ -134,6 +134,9 @@ def aks_agent(
134134 dal = None ,
135135 refresh_toolsets = refresh_toolsets ,
136136 )
137+ console .print (
138+ "[bold yellow]This tool uses AI to generate responses and may not always be accurate[bold yellow]"
139+ )
137140
138141 if not prompt and not interactive and not piped_data :
139142 raise CLIError (
You can’t perform that action at this time.
0 commit comments