这是indexloc提供的服务,不要输入任何密码
Skip to content

bug: Subtask generation fails on gemini-2.5-pro unless explicitly prompted to return 'details' field as a string not an object #844

@wes-davis

Description

@wes-davis

Description

Since 17.0, when running tm expand on any task, the task fails (at least on gemini-2.5-pro) with:

Error expanding task 2: AI response contained potential subtasks, but none passed validation.

I have to manually add --prompt="details field must be string, not object"
 every time I expand or else it fails.

Steps to Reproduce

  1. Run tm expand with model set to gemini-2.5-pro (submitter has not tested other models)

Expected Behavior

Subtasks are generated.

Actual Behavior

Subtask generation fails with [WARN] - Field 'details': Expected string, received object

Environment

  • Task Master version: since 17.0
  • Node.js version:
  • Operating system:
  • IDE (if applicable): Cursor

Additional Context

Model config was set to gemini-2.5-pro-05-06

Metadata

Metadata

Labels

bugSomething isn't working

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions