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 1583
1583
"inputSchema" : {
1584
1584
"type" : " object" ,
1585
1585
"properties" : {
1586
+ "packageList" : {
1587
+ "type" : " array" ,
1588
+ "items" : {
1589
+ "type" : " string"
1590
+ },
1591
+ "description" : " The list of packages to install."
1592
+ },
1586
1593
"resourcePath" : {
1587
1594
"type" : " string" ,
1588
1595
"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
40
40
import { traceError , traceVerbose , traceWarn } from '../logging' ;
41
41
import { StopWatch } from '../common/utils/stopWatch' ;
42
42
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 > {
44
48
private readonly terminalExecutionService : TerminalCodeExecutionProvider ;
45
49
private readonly terminalHelper : ITerminalHelper ;
46
50
private readonly recommendedEnvService : IRecommendedEnvironmentService ;
You can’t perform that action at this time.
0 commit comments