fix: temporarily disable streaming
This commit is contained in:
5
.changeset/rich-emus-say.md
Normal file
5
.changeset/rich-emus-say.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"task-master-ai": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Temporarily disable streaming for improved model compatibility - will be re-enabled in upcoming release
|
||||||
@@ -63,8 +63,14 @@ export class PrdParseConfig {
|
|||||||
this.targetTag = this.tag || getCurrentTag(this.projectRoot) || 'master';
|
this.targetTag = this.tag || getCurrentTag(this.projectRoot) || 'master';
|
||||||
this.isMCP = !!this.mcpLog;
|
this.isMCP = !!this.mcpLog;
|
||||||
this.outputFormat = this.isMCP && !this.reportProgress ? 'json' : 'text';
|
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'
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user