|
1464 | 1464 | } |
1465 | 1465 | ], |
1466 | 1466 | "languageModelTools": [ |
1467 | | - { |
1468 | | - "name": "configure_python_environment", |
1469 | | - "displayName": "Configure Python Environment", |
1470 | | - "modelDescription": "This tool configures a Python environment in the given workspace. ALWAYS Use this tool to set up the user's chosen environment and ALWAYS call this tool before using any other Python related tools.", |
1471 | | - "userDescription": "%python.languageModelTools.configure_python_environment.userDescription%", |
1472 | | - "toolReferenceName": "configurePythonEnvironment", |
1473 | | - "tags": [ |
1474 | | - "ms-python.python" |
1475 | | - ], |
1476 | | - "icon": "$(files)", |
1477 | | - "canBeReferencedInPrompt": true, |
1478 | | - "inputSchema": { |
1479 | | - "type": "object", |
1480 | | - "properties": { |
1481 | | - "resourcePath": { |
1482 | | - "type": "string", |
1483 | | - "description": "The path to the Python file or workspace for which a Python Environment needs to be configured." |
1484 | | - } |
1485 | | - }, |
1486 | | - "required": [] |
1487 | | - }, |
1488 | | - "when": "!pythonEnvExtensionInstalled" |
1489 | | - }, |
1490 | 1467 | { |
1491 | 1468 | "name": "get_python_environment_details", |
1492 | 1469 | "displayName": "Get Python Environment Info", |
|
1562 | 1539 | ] |
1563 | 1540 | }, |
1564 | 1541 | "when": "!pythonEnvExtensionInstalled" |
| 1542 | + }, |
| 1543 | + { |
| 1544 | + "name": "configure_python_environment", |
| 1545 | + "displayName": "Configure Python Environment", |
| 1546 | + "modelDescription": "This tool configures a Python environment in the given workspace. ALWAYS Use this tool to set up the user's chosen environment and ALWAYS call this tool before using any other Python related tools.", |
| 1547 | + "userDescription": "%python.languageModelTools.configure_python_environment.userDescription%", |
| 1548 | + "toolReferenceName": "configurePythonEnvironment", |
| 1549 | + "tags": [ |
| 1550 | + "ms-python.python" |
| 1551 | + ], |
| 1552 | + "icon": "$(files)", |
| 1553 | + "canBeReferencedInPrompt": true, |
| 1554 | + "inputSchema": { |
| 1555 | + "type": "object", |
| 1556 | + "properties": { |
| 1557 | + "resourcePath": { |
| 1558 | + "type": "string", |
| 1559 | + "description": "The path to the Python file or workspace for which a Python Environment needs to be configured." |
| 1560 | + } |
| 1561 | + }, |
| 1562 | + "required": [] |
| 1563 | + }, |
| 1564 | + "when": "!pythonEnvExtensionInstalled" |
1565 | 1565 | } |
1566 | 1566 | ] |
1567 | 1567 | }, |
|
0 commit comments