Skip to content

Commit b662540

Browse files
committed
bump holmesgpt
1 parent 5e59070 commit b662540

File tree

4 files changed

+31
-10
lines changed

4 files changed

+31
-10
lines changed

src/aks-agent/HISTORY.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,16 @@ To release a new version, please select a new version number (usually plus 1 to
1212
Pending
1313
+++++++
1414

15+
1.0.0b5
16+
+++++++
17+
* Bump holmesgpt to 0.14.3 - Enhanced AI debugging experience and bug fixes
18+
* Added TODO list feature to allows holmes to reliably answers questions it wasn’t able to answer before due to early-stopping
19+
* Fixed mcp server http connection fails when using socks proxy by adding the missing socks dependency
20+
* Fixed gpt-5 temperature bug by upgrading litellm and dropping non-1 values for temperature
21+
* Improved the installation time by removing unnecessary dependencies and move test dependencies to dev dependency group
22+
* Added Feedback slash command Feature to allow users to provide feedback on their experience with the agent performance
23+
24+
1525
1.0.0b4
1626
+++++++
1727
* Fix the --aks-mcp flag to allow true/false values.

src/aks-agent/azext_aks_agent/_consts.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,21 @@
33
# Licensed under the MIT License. See License.txt in the project root for license information.
44
# --------------------------------------------------------------------------------------------
55

6-
# aks agent constants
6+
# Constants to customized holmesgpt
77
CONST_AGENT_CONFIG_PATH_DIR_ENV_KEY = "HOLMES_CONFIGPATH_DIR"
88
CONST_AGENT_NAME = "AKS AGENT"
99
CONST_AGENT_NAME_ENV_KEY = "AGENT_NAME"
1010
CONST_AGENT_CONFIG_FILE_NAME = "aksAgent.yaml"
1111
CONST_PRIVACY_NOTICE_BANNER_ENV_KEY = "PRIVACY_NOTICE_BANNER"
1212
# Privacy Notice Banner displayed in the format of rich.Console
1313
CONST_PRIVACY_NOTICE_BANNER = (
14-
"When you send us this feedback, you agree we may combine this information, which might include other diagnostic data, to help improve Microsoft products and services.\n"
14+
"When you send Microsoft this feedback, you agree we may combine this information, which might include other diagnostic data, to help improve Microsoft products and services. "
1515
"Processing of feedback data is governed by the Microsoft Products and Services Data Protection Addendum between your organization and Microsoft, and the feedback you submit is considered Personal Data under that addendum. [link=https://go.microsoft.com/fwlink/?LinkId=521839]Privacy Statement[/link]"
1616
)
17+
# Holmesgpt leverages prometheus_api_client for prometheus toolsets and introduces bz2 library.
18+
# Before libbz2-dev is bundled into azure cli python by https://github.com/Azure/azure-cli/pull/32163,
19+
# we ignore loading prometheus toolset to avoid loading error of bz2 module.
20+
CONST_DISABLE_PROMETHEUS_TOOLSET_ENV_KEY = "DISABLE_PROMETHEUS_TOOLSET"
1721

1822
# MCP Integration Constants (ported from previous change)
1923
CONST_MCP_BINARY_NAME = "aks-mcp"

src/aks-agent/azext_aks_agent/agent/agent.py

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
CONST_AGENT_CONFIG_PATH_DIR_ENV_KEY,
1212
CONST_AGENT_NAME,
1313
CONST_AGENT_NAME_ENV_KEY,
14+
CONST_DISABLE_PROMETHEUS_TOOLSET_ENV_KEY,
1415
CONST_PRIVACY_NOTICE_BANNER,
1516
CONST_PRIVACY_NOTICE_BANNER_ENV_KEY,
1617
)
@@ -23,6 +24,14 @@
2324
from .telemetry import CLITelemetryClient
2425

2526

27+
# NOTE(mainred): environment variables to disable prometheus toolset loading should be set before importing holmes.
28+
def customize_holmesgpt():
29+
os.environ[CONST_DISABLE_PROMETHEUS_TOOLSET_ENV_KEY] = "true"
30+
os.environ[CONST_AGENT_CONFIG_PATH_DIR_ENV_KEY] = get_config_dir()
31+
os.environ[CONST_AGENT_NAME_ENV_KEY] = CONST_AGENT_NAME
32+
os.environ[CONST_PRIVACY_NOTICE_BANNER_ENV_KEY] = CONST_PRIVACY_NOTICE_BANNER
33+
34+
2635
# NOTE(mainred): holmes leverage the log handler RichHandler to provide colorful, readable and well-formatted logs
2736
# making the interactive mode more user-friendly.
2837
# And we removed exising log handlers to avoid duplicate logs.
@@ -158,17 +167,14 @@ def aks_agent(
158167
raise CLIError(
159168
"Please upgrade the python version to 3.10 or above to use aks agent."
160169
)
170+
# customizing holmesgpt should called before importing holmes
171+
customize_holmesgpt()
161172

162173
# Initialize variables
163174
interactive = not no_interactive
164175
echo = not no_echo_request
165176
console = init_log()
166177

167-
# Set environment variables for Holmes
168-
os.environ[CONST_AGENT_CONFIG_PATH_DIR_ENV_KEY] = get_config_dir()
169-
os.environ[CONST_AGENT_NAME_ENV_KEY] = CONST_AGENT_NAME
170-
os.environ[CONST_PRIVACY_NOTICE_BANNER_ENV_KEY] = CONST_PRIVACY_NOTICE_BANNER
171-
172178
# Detect and read piped input
173179
piped_data = None
174180
if not sys.stdin.isatty():
@@ -747,3 +753,4 @@ def _setup_traditional_mode_sync(config_file: str, model: str, api_key: str,
747753
os.unlink(temp_config_path)
748754
except OSError:
749755
pass
756+
pass

src/aks-agent/setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
from setuptools import find_packages, setup
1111

12-
VERSION = "1.0.0b4"
12+
VERSION = "1.0.0b5"
1313

1414
CLASSIFIERS = [
1515
"Development Status :: 4 - Beta",
@@ -24,8 +24,8 @@
2424
]
2525

2626
DEPENDENCIES = [
27-
"holmesgpt==0.12.6; python_version >= '3.10'",
28-
"pytest-asyncio>=1.1.0",
27+
"holmesgpt @ git+ssh://[email protected]/robusta-dev/holmesgpt@master",
28+
# "holmesgpt==0.14.3; python_version >= '3.10'",
2929
]
3030

3131
with open1("README.rst", "r", encoding="utf-8") as f:

0 commit comments

Comments
 (0)