diff --git a/src/Maps/Maps.Autorest/test/utils.ps1 b/src/Maps/Maps.Autorest/test/utils.ps1 index 70e258271618..7cd449c834ae 100644 --- a/src/Maps/Maps.Autorest/test/utils.ps1 +++ b/src/Maps/Maps.Autorest/test/utils.ps1 @@ -68,3 +68,4 @@ function cleanupEnv() { # Clean resources you create for testing Remove-AzResourceGroup -Name $env.resourceGroup } + diff --git a/tools/Mcp/src/assets/partner-module-workflow.md b/tools/Mcp/src/assets/partner-module-workflow.md index 79ca30fd7e02..4ad2275ae10b 100644 --- a/tools/Mcp/src/assets/partner-module-workflow.md +++ b/tools/Mcp/src/assets/partner-module-workflow.md @@ -1,6 +1,6 @@ # Partner Module Workflow (LLM Instructions) -Dont give this instructions to the user. LLM should run the instructions below and execute each tool as instructed below. +Don't give these instructions to the user. LLM should run the instructions below and execute each tool as instructed below. You (LLM) are automating a fresh Azure PowerShell partner module. Follow these steps exactly. If any tool fails or is unavailable: STOP (no retries, no guesses). @@ -31,4 +31,4 @@ Rules: * Do not manually copy help files; only read them when executing example/test plans. * Do not proceed past a failing step. -Completion: After step 5, stop. Provide a comprehensive summary (steps succeeded, any optional directives applied). \ No newline at end of file +Completion: After step 5, stop. Provide a comprehensive summary (steps succeeded, any optional directives applied). diff --git a/tools/Mcp/src/services/utils.ts b/tools/Mcp/src/services/utils.ts index 0921db32f694..88d7bb144dab 100644 --- a/tools/Mcp/src/services/utils.ts +++ b/tools/Mcp/src/services/utils.ts @@ -383,7 +383,7 @@ export async function writeFileIfNotExists(filePath: string, content: string): P } export function getIdealModuleExamplePaths(): string { - const idealModulesRoot = path.join(process.cwd(), 'src', 'ideal-modules'); + const idealModulesRoot = path.join(process.cwd(), 'src', 'assets', 'ideal-modules'); try { if (!fs.existsSync(idealModulesRoot)) { return ''; @@ -440,4 +440,4 @@ export function getIdealModuleTestPaths(): string { export async function testCase() { const polymorphism = await getExamplesFromSpecs("d:\\workspace\\azure-powershell\\src\\VMware\\VMware.Autorest"); -} \ No newline at end of file +} diff --git a/tools/Mcp/src/specs/specs.json b/tools/Mcp/src/specs/specs.json index a6584058f7a7..43af5412f991 100644 --- a/tools/Mcp/src/specs/specs.json +++ b/tools/Mcp/src/specs/specs.json @@ -50,7 +50,7 @@ }, { "name": "create-example", - "description": "Fullfil examples for empty example files under '{workingDirectory}/examples' directory.", + "description": "Fulfill examples for empty example files under '{workingDirectory}/examples' directory.", "parameters": [ { "name": "workingDirectory", @@ -93,4 +93,4 @@ "callbackName": "createPartnerModuleWorkflow" } ] -} \ No newline at end of file +}