-
Notifications
You must be signed in to change notification settings - Fork 31
Updates to display rich and localized tool messages #407
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -514,7 +514,9 @@ | |
| "displayName": "Get Python Environment Information", | ||
| "modelDescription": "Provides details about the Python environment for a specified file or workspace, including environment type, Python version, run command, and installed packages with their versions. Use this tool to determine the correct command for executing Python code in this workspace.", | ||
| "toolReferenceName": "pythonGetEnvironmentInfo", | ||
| "tags": [], | ||
| "tags": [ | ||
| "ms-python.python" | ||
| ], | ||
| "icon": "$(files)", | ||
| "canBeReferencedInPrompt": true, | ||
| "inputSchema": { | ||
|
|
@@ -533,9 +535,12 @@ | |
| { | ||
| "name": "python_install_package", | ||
| "displayName": "Install Python Package", | ||
| "userDescription": "Installs Python packages in the given workspace", | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. wonder if its worth clarifying that it isn't the workspace but instead installed in the environment connected to the resource provided as an arg? Or do we think that will be too confusing? (also noticing the modelDescription is similar so this is likely a mistake I made earlier
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We don't do that for the model? hence not sure how useful it would be. As for user, I'm not sure it will make much sense to the user. I'm assuming the user would expect that behaviour out of the box. |
||
| "modelDescription": "Installs Python packages in the given workspace. Use this tool to install packages in the user's chosen environment.", | ||
| "toolReferenceName": "pythonInstallPackage", | ||
| "tags": [], | ||
| "tags": [ | ||
| "ms-python.python" | ||
| ], | ||
| "icon": "$(package)", | ||
| "canBeReferencedInPrompt": true, | ||
| "inputSchema": { | ||
|
|
@@ -607,4 +612,4 @@ | |
| "vscode-jsonrpc": "^9.0.0-next.5", | ||
| "which": "^4.0.0" | ||
| } | ||
| } | ||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To be used elsewhere.