File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 15831583 "inputSchema" : {
15841584 "type" : " object" ,
15851585 "properties" : {
1586+ "packageList" : {
1587+ "type" : " array" ,
1588+ "items" : {
1589+ "type" : " string"
1590+ },
1591+ "description" : " The list of packages to install."
1592+ },
15861593 "resourcePath" : {
15871594 "type" : " string" ,
15881595 "description" : " The path to the Python file or workspace for which a Python Environment needs to be configured."
Original file line number Diff line number Diff line change @@ -40,7 +40,11 @@ import { createVirtualEnvironment } from '../pythonEnvironments/creation/createE
4040import { traceError , traceVerbose , traceWarn } from '../logging' ;
4141import { StopWatch } from '../common/utils/stopWatch' ;
4242
43- export class CreateVirtualEnvTool implements LanguageModelTool < IResourceReference > {
43+ interface ICreateVirtualEnvToolParams extends IResourceReference {
44+ packageList : string [ ] ; // Added only becausewe have ability to create a virtual env with list of packages same tool within the in Python Env extension.
45+ }
46+
47+ export class CreateVirtualEnvTool implements LanguageModelTool < ICreateVirtualEnvToolParams > {
4448 private readonly terminalExecutionService : TerminalCodeExecutionProvider ;
4549 private readonly terminalHelper : ITerminalHelper ;
4650 private readonly recommendedEnvService : IRecommendedEnvironmentService ;
You can’t perform that action at this time.
0 commit comments