We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 193b72e commit d68c55eCopy full SHA for d68c55e
src/features/copilotTools.ts
@@ -59,7 +59,7 @@ export class GetEnvironmentInfoTool implements LanguageModelTool<IResourceRefere
59
if (parameters.resourcePath === undefined || parameters.resourcePath === '') {
60
throw new Error('Invalid input: resourcePath is required');
61
}
62
- const resourcePath: Uri = Uri.file(parameters.resourcePath);
+ const resourcePath: Uri = Uri.parse(parameters.resourcePath);
63
64
// environment info set to default values
65
const envInfo: EnvironmentInfo = {
0 commit comments