You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"modelDescription": "This tool will retrieve the details of the Python Environment for the specified file or workspace. The details returned include the 1. Type of Environment (conda, venv, etec), 2. Version of Python, 3. this tool gets details about the Python environment including environment type, Python version, command used to execute Python, and a list of all installed packages with their versions. Use this tool to determine the correct command for executing Python in a terminal.",
"modelDescription": "This tool will retrieve the details of the Python Environment for the specified file or workspace. The details returned include the 1. Type of Environment (conda, venv, etec), 2. Version of Python, 3. List of all installed packages with their versions. ",
1472
1472
"toolReferenceName": "pythonGetEnvironmentInfo",
1473
1473
"tags": [
1474
1474
"ms-python.python"
@@ -1486,8 +1486,7 @@
1486
1486
"required": [
1487
1487
"resourcePath"
1488
1488
]
1489
-
},
1490
-
"when": "false"
1489
+
}
1491
1490
},
1492
1491
{
1493
1492
"name": "get_python_executable",
@@ -1509,8 +1508,7 @@
1509
1508
},
1510
1509
"description": "The path to the Python file or workspace to get the executable information for. If not provided, the current workspace will be used. Where possible pass the path to the file or workspace.",
1511
1510
"required": []
1512
-
},
1513
-
"when": "!pythonEnvExtensionInstalled"
1511
+
}
1514
1512
},
1515
1513
{
1516
1514
"name": "list_python_packages",
@@ -1533,7 +1531,7 @@
1533
1531
"description": "The path to the Python file or workspace to list the packages. If not provided, the current workspace will be used. Where possible pass the path to the file or workspace.",
"python.languageModelTools.python_environment.userDescription": "Get Python Environment info for a file or path, including version, packages, and the command to run it.",
3
+
"python.languageModelTools.get_python_environment_info.userDescription": "Get information for a Python Environment, such as Type, Version, Packages, and more.",
4
4
"python.languageModelTools.python_install_package.userDescription": "Installs Python packages in a Python Environment.",
5
5
"python.languageModelTools.get_python_executable.userDescription": "Get executable info for a Python Environment",
6
6
"python.languageModelTools.list_python_packages.userDescription": "Get a list of all installed packages in a Python Environment.",
// Create a formatted string that looks like JSON but preserves comments
131
-
constenvTypeDescriptor: string=`This environment is managed by ${envInfo.type} environment manager. Use the install tool to install packages into this environment.`;
// Installed Python packages, each in the format <name> or <name> (<version>). The version may be omitted if unknown. Returns an empty array if no packages are installed.
0 commit comments