chore: adjust the setupMCPConfiguration so it adds in the new env stuff.

This commit is contained in:
Eyal Toledano
2025-04-02 22:29:38 -04:00
parent 225a0781e9
commit 433c5df414
3 changed files with 16 additions and 3 deletions

View File

@@ -10,8 +10,8 @@
"PERPLEXITY_API_KEY": "%PERPLEXITY_API_KEY%",
"MODEL": "%MODEL%",
"PERPLEXITY_MODEL": "%PERPLEXITY_MODEL%",
"MAX_TOKENS": "%MAX_TOKENS%",
"TEMPERATURE": "%TEMPERATURE%",
"MAX_TOKENS": 64000,
"TEMPERATURE": 0.4,
"DEFAULT_SUBTASKS": 5,
"DEFAULT_PRIORITY": "medium"
}

View File

@@ -702,7 +702,17 @@ function setupMCPConfiguration(targetDir, projectName) {
"args": [
"-y",
"task-master-mcp-server"
]
],
"env": {
"ANTHROPIC_API_KEY": "%ANTHROPIC_API_KEY%",
"PERPLEXITY_API_KEY": "%PERPLEXITY_API_KEY%",
"MODEL": "%MODEL%",
"PERPLEXITY_MODEL": "%PERPLEXITY_MODEL%",
"MAX_TOKENS": "%MAX_TOKENS%",
"TEMPERATURE": "%TEMPERATURE%",
"DEFAULT_SUBTASKS": 5,
"DEFAULT_PRIORITY": "medium"
}
}
};

View File

@@ -171,6 +171,9 @@ Guidelines:
6. Set appropriate dependency IDs (a task can only depend on tasks with lower IDs)
7. Assign priority (high/medium/low) based on criticality and dependency order
8. Include detailed implementation guidance in the "details" field
9. If the PRD contains specific requirements for libraries, database schemas, frameworks, tech stacks, or any other implementation details, STRICTLY ADHERE to these requirements in your task breakdown and do not discard them under any circumstance
10. Focus on filling in any gaps left by the PRD or areas that aren't fully specified, while preserving all explicit requirements
11. Always aim to provide the most direct path to implementation, avoiding over-engineering or roundabout approaches
Expected output format:
{