Skip to content

bug: #1218

@ehansonddh

Description

@ehansonddh

Description

I've specified that TM is to use Sonar Pro for research tasks and I've added my Perplexity API key to my project's .env file. However, when I run tm analyze-complexity, it uses the main model (Sonnet) to do the analysis.

Steps to Reproduce

  1. Set up a Perplexity account and fund it.
  2. Add the API key to the project's .env file in the format PERPLEXITY_API_KEY="your_perplexity_api_key_here" # Optional: Format: pplx-...
  3. Set Sonar Pro as the research model.
  4. Create a PRD document.
  5. Run tm parse-prd [path/to/file] to expand it.
  6. Run tm analyze-complexity to analyze complexity.
  7. Note the AI Usage Summary.

Expected Behavior

The AI Usage Summary should show perplexity as the provider and sonar-pro as the model.

Actual Behavior

The AI Usage Summary shows claude-code as the provider and sonney as the model.

Screenshots or Logs

Image

Environment

  • Task Master version: 0.26
  • Node.js version: 22.17.1
  • Operating system: WSL2/Ubuntu 24.04.2 LTS
  • IDE (if applicable): N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:ai-modelsAI model integration and configurationarea:cliCLI functionalitybugSomething isn't workingmedium-priorityImportant but not urgentprovider:perplexityPerplexity AI (research)

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions