diff --git a/.changeset/rich-emus-say.md b/.changeset/rich-emus-say.md new file mode 100644 index 00000000..b7feadb8 --- /dev/null +++ b/.changeset/rich-emus-say.md @@ -0,0 +1,5 @@ +--- +"task-master-ai": patch +--- + +Temporarily disable streaming for improved model compatibility - will be re-enabled in upcoming release diff --git a/scripts/modules/task-manager/parse-prd/parse-prd-config.js b/scripts/modules/task-manager/parse-prd/parse-prd-config.js index e88a098d..b0b7a9db 100644 --- a/scripts/modules/task-manager/parse-prd/parse-prd-config.js +++ b/scripts/modules/task-manager/parse-prd/parse-prd-config.js @@ -63,8 +63,14 @@ export class PrdParseConfig { this.targetTag = this.tag || getCurrentTag(this.projectRoot) || 'master'; this.isMCP = !!this.mcpLog; this.outputFormat = this.isMCP && !this.reportProgress ? 'json' : 'text'; - this.useStreaming = - typeof this.reportProgress === 'function' || this.outputFormat === 'text'; + + // Feature flag: Temporarily disable streaming, use generateObject instead + // TODO: Re-enable streaming once issues are resolved + const ENABLE_STREAMING = false; + + this.useStreaming = ENABLE_STREAMING && ( + typeof this.reportProgress === 'function' || this.outputFormat === 'text' + ); } /**