Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/Maps/Maps.Autorest/test/utils.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,4 @@ function cleanupEnv() {
# Clean resources you create for testing
Remove-AzResourceGroup -Name $env.resourceGroup
}

4 changes: 2 additions & 2 deletions tools/Mcp/src/assets/partner-module-workflow.md
Original file line number Diff line number Diff line change
@@ -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).

Expand Down Expand Up @@ -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).
Completion: After step 5, stop. Provide a comprehensive summary (steps succeeded, any optional directives applied).
4 changes: 2 additions & 2 deletions tools/Mcp/src/services/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 '';
Expand Down Expand Up @@ -440,4 +440,4 @@ export function getIdealModuleTestPaths(): string {

export async function testCase() {
const polymorphism = await getExamplesFromSpecs("d:\\workspace\\azure-powershell\\src\\VMware\\VMware.Autorest");
}
}
4 changes: 2 additions & 2 deletions tools/Mcp/src/specs/specs.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -93,4 +93,4 @@
"callbackName": "createPartnerModuleWorkflow"
}
]
}
}