Skip to content

Commit 3b498cf

Browse files
committed
add disclaimer
1 parent c0d2ee4 commit 3b498cf

File tree

1 file changed

+4
-1
lines changed
  • src/aks-preview/azext_aks_preview/agent

1 file changed

+4
-1
lines changed

src/aks-preview/azext_aks_preview/agent/agent.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
from pathlib import Path
1212

1313
from 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(

0 commit comments

Comments
 (0)