Skip to content

bug: tm parse-prd hangs with Gemini model #1145

@ez-office-eden

Description

@ez-office-eden

Description

When running tm parse-prd, the PRD file is detected correctly, but no tokens are consumed and task generation hangs. It stays at Tasks 0/10 indefinitely with Tokens (I/O): 0/0.

Steps to Reproduce

  1. tm init
  2. main model, research model, fallback model : gemini-cli / gemini-2.5-pro
  3. add GOOGLE_API_KEY to the .env file
  4. write sample prd file
  5. tm parse-prd

Screenshots or Logs

`


|_ | _ | | __ | / | __ _ | | ___ _ __
| |/ / __| |/ / | |\/| |/ _ / __| / _ \ '|
| | (
| _
\ < | | | | (
| _
\ || __/ |
|
|_
,|/|_\ || ||_,|/___|_|

by https://x.com/eyaltoledano
╭───────────────────────────────────────────╮
│ │
│ Version: 0.25.0 Project: Taskmaster │
│ │
╰───────────────────────────────────────────╯

🏷️ tag: master
Parsing PRD file: /home/eden_lee/trade/v4/.taskmaster/docs/prd.md
Generating 10 tasks...
[INFO] Tag 'master' is empty or doesn't exist. Creating/updating tag with new tasks.
╭────────────────────────────────────────────────────────────────╮
│ │
│ 🤖 Parsing PRD and Generating Tasks │
│ Model: gemini-2.5-pro | Temperature: 0.2 │
│ │
│ Input: /home/eden_lee/trade/v4/.taskmaster/docs/prd.md │
│ Output: /home/eden_lee/trade/v4/.taskmaster/tasks/tasks.json │
│ Tasks to Generate: 10 │
│ │
╰────────────────────────────────────────────────────────────────╯
⏱️ 20m 56s | ⋮ 0 : 0 . 0 | Tokens (I/O): 0/0 | Est: ~calculating...
Tasks 0/10 |░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░| 0%`

Environment

  • Task Master version : 0.25.0
  • Node.js version : v22.18.0
  • Operating system : wsl ubuntu 22.04.5 lts
  • IDE (if applicable) : cursor

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions