From 0a611843b56a856ef0a479dc34078326e05ac3a8 Mon Sep 17 00:00:00 2001 From: Ralph Khreish <35776126+Crunchyman-ralph@users.noreply.github.com> Date: Thu, 15 May 2025 01:32:49 +0200 Subject: [PATCH] fix: Inline comments in .env.example conflicting with env variable values (#501) * fix: Update API key format in env.example to use quotes for consistency * chore: add changelog --- .changeset/soft-zoos-flow.md | 7 +++++++ assets/env.example | 14 +++++++------- 2 files changed, 14 insertions(+), 7 deletions(-) create mode 100644 .changeset/soft-zoos-flow.md diff --git a/.changeset/soft-zoos-flow.md b/.changeset/soft-zoos-flow.md new file mode 100644 index 00000000..d908fa64 --- /dev/null +++ b/.changeset/soft-zoos-flow.md @@ -0,0 +1,7 @@ +--- +'task-master-ai': patch +--- + +Fix initial .env.example to work out of the box + +- Closes #419 diff --git a/assets/env.example b/assets/env.example index d44c6b09..1c9b41e4 100644 --- a/assets/env.example +++ b/assets/env.example @@ -1,8 +1,8 @@ # API Keys (Required to enable respective provider) -ANTHROPIC_API_KEY=your_anthropic_api_key_here # Required: Format: sk-ant-api03-... -PERPLEXITY_API_KEY=your_perplexity_api_key_here # Optional: Format: pplx-... -OPENAI_API_KEY=your_openai_api_key_here # Optional, for OpenAI/OpenRouter models. Format: sk-proj-... -GOOGLE_API_KEY=your_google_api_key_here # Optional, for Google Gemini models. -MISTRAL_API_KEY=your_mistral_key_here # Optional, for Mistral AI models. -XAI_API_KEY=YOUR_XAI_KEY_HERE # Optional, for xAI AI models. -AZURE_OPENAI_API_KEY=your_azure_key_here # Optional, for Azure OpenAI models (requires endpoint in .taskmasterconfig). \ No newline at end of file +ANTHROPIC_API_KEY="your_anthropic_api_key_here" # Required: Format: sk-ant-api03-... +PERPLEXITY_API_KEY="your_perplexity_api_key_here" # Optional: Format: pplx-... +OPENAI_API_KEY="your_openai_api_key_here" # Optional, for OpenAI/OpenRouter models. Format: sk-proj-... +GOOGLE_API_KEY="your_google_api_key_here" # Optional, for Google Gemini models. +MISTRAL_API_KEY="your_mistral_key_here" # Optional, for Mistral AI models. +XAI_API_KEY="YOUR_XAI_KEY_HERE" # Optional, for xAI AI models. +AZURE_OPENAI_API_KEY="your_azure_key_here" # Optional, for Azure OpenAI models (requires endpoint in .taskmasterconfig). \ No newline at end of file