fix: temporarily disable streaming

This commit is contained in:
Ralph Khreish
2025-08-22 16:58:19 +02:00
parent 89335578ff
commit ade9f94e73
2 changed files with 13 additions and 2 deletions

View File

@@ -0,0 +1,5 @@
---
"task-master-ai": patch
---
Temporarily disable streaming for improved model compatibility - will be re-enabled in upcoming release

View File

@@ -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'
);
}
/**