🐛 Fix LLM hints success key access

Fixed incorrect access to result['success'] instead of
result['summary']['success'] in environment_info LLM hints section.
This resolves the critical 'success' key error.
This commit is contained in:
Ryan Malloy 2025-06-23 16:17:26 -06:00
parent 7f8a45f236
commit 072bef5989

View File

@ -2447,7 +2447,7 @@ class EnvironmentProcessManagement(MCPMixin):
llm_hints = result["llm_hints"] llm_hints = result["llm_hints"]
# Suggest next actions based on what was found # Suggest next actions based on what was found
if result["success"]: if result["summary"]["success"]:
if "python" in result["sections_data"]: if "python" in result["sections_data"]:
python_info = result["sections_data"]["python"] python_info = result["sections_data"]["python"]
if python_info["in_virtualenv"]: if python_info["in_virtualenv"]: