From ade9f94e73ceba300a2f7a6829278779ffe9bb7e Mon Sep 17 00:00:00 2001 From: Ralph Khreish <35776126+Crunchyman-ralph@users.noreply.github.com> Date: Fri, 22 Aug 2025 16:58:19 +0200 Subject: [PATCH] fix: temporarily disable streaming --- .changeset/rich-emus-say.md | 5 +++++ .../modules/task-manager/parse-prd/parse-prd-config.js | 10 ++++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 .changeset/rich-emus-say.md 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' + ); } /**