Skip to content

Commit fabe866

Browse files
Use correct name for GOOGLE_API_KEY
1 parent 11bff9c commit fabe866

File tree

6 files changed

+11
-11
lines changed

6 files changed

+11
-11
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,14 @@ This will show the available commands and options.
4040
The task manager supports multiple LLM providers for generating project plans. You can configure one or more of the following environment variables depending on which providers you want to use:
4141

4242
- `OPENAI_API_KEY`: Required for using OpenAI models (e.g., GPT-4)
43-
- `GOOGLE_GENERATIVE_AI_API_KEY`: Required for using Google's Gemini models
43+
- `GOOGLE_API_KEY`: Required for using Google's Gemini models
4444
- `DEEPSEEK_API_KEY`: Required for using Deepseek models
4545

4646
To generate project plans using the CLI, set these environment variables in your shell:
4747

4848
```bash
4949
export OPENAI_API_KEY="your-api-key"
50-
export GOOGLE_GENERATIVE_AI_API_KEY="your-api-key"
50+
export GOOGLE_API_KEY="your-api-key"
5151
export DEEPSEEK_API_KEY="your-api-key"
5252
```
5353

@@ -61,7 +61,7 @@ Or you can include them in your MCP client configuration to generate project pla
6161
"args": ["-y", "taskqueue-mcp"],
6262
"env": {
6363
"OPENAI_API_KEY": "your-api-key",
64-
"GOOGLE_GENERATIVE_AI_API_KEY": "your-api-key",
64+
"GOOGLE_API_KEY": "your-api-key",
6565
"DEEPSEEK_API_KEY": "your-api-key"
6666
}
6767
}

index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { ListToolsRequestSchema, CallToolRequestSchema } from "@modelcontextprot
1010
const server = new Server(
1111
{
1212
name: "task-manager-server",
13-
version: "1.3.2"
13+
version: "1.3.3"
1414
},
1515
{
1616
capabilities: {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "taskqueue-mcp",
3-
"version": "1.3.2",
3+
"version": "1.3.3",
44
"description": "Task Queue MCP Server",
55
"author": "Christopher C. Smith ([email protected])",
66
"main": "dist/index.js",

src/client/cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const program = new Command();
1616
program
1717
.name("taskqueue")
1818
.description("CLI for the Task Manager MCP Server")
19-
.version("1.3.2")
19+
.version("1.3.3")
2020
.option(
2121
'-f, --file-path <path>',
2222
'Specify the path to the tasks JSON file. Overrides TASK_MANAGER_FILE_PATH env var.'

tests/integration/TaskManager.integration.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ describe('TaskManager Integration', () => {
504504

505505
// --- NEW API TEST ---
506506
// Skip this test by default, as it requires live API keys and makes external calls.
507-
// Remove '.skip' and ensure OPENAI_API_KEY, GOOGLE_GENERATIVE_AI_API_KEY, DEEPSEEK_API_KEY are in .env to run.
507+
// Remove '.skip' and ensure OPENAI_API_KEY, GOOGLE_API_KEY, DEEPSEEK_API_KEY are in .env to run.
508508
it.skip("should generate a project plan using live APIs", async () => {
509509
const testPrompt = "Create a plan for a simple web server using Node.js and Express.";
510510
const attachments: string[] = []; // Add mock attachment content if needed
@@ -546,7 +546,7 @@ describe('TaskManager Integration', () => {
546546
}
547547

548548
// --- Test Google ---
549-
if (process.env.GOOGLE_GENERATIVE_AI_API_KEY) {
549+
if (process.env.GOOGLE_API_KEY) {
550550
console.log("Testing Google Gemini API...");
551551
try {
552552
const googleResult = await server.generateProjectPlan({
@@ -578,7 +578,7 @@ describe('TaskManager Integration', () => {
578578
expect(error).toBeNull();
579579
}
580580
} else {
581-
console.warn("Skipping Google test: GOOGLE_GENERATIVE_AI_API_KEY not found in environment.");
581+
console.warn("Skipping Google test: GOOGLE_API_KEY not found in environment.");
582582
}
583583

584584
// --- Test DeepSeek ---

tests/integration/cli.integration.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,13 +140,13 @@ describe("CLI Integration Tests", () => {
140140
beforeEach(() => {
141141
// Set mock API keys for testing
142142
process.env.OPENAI_API_KEY = 'test-key';
143-
process.env.GOOGLE_GENERATIVE_AI_API_KEY = 'test-key';
143+
process.env.GOOGLE_API_KEY = 'test-key';
144144
process.env.DEEPSEEK_API_KEY = 'test-key';
145145
});
146146

147147
afterEach(() => {
148148
delete process.env.OPENAI_API_KEY;
149-
delete process.env.GOOGLE_GENERATIVE_AI_API_KEY;
149+
delete process.env.GOOGLE_API_KEY;
150150
delete process.env.DEEPSEEK_API_KEY;
151151
});
152152

0 commit comments

Comments
 (0)