@myassis/gateway 1.0.63 → 1.0.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -477,7 +477,6 @@ class Session {
|
|
|
477
477
|
*/
|
|
478
478
|
async streamChat(content, attachments = [], res, userMessageId, assistantMessageId, childAgent = false) {
|
|
479
479
|
// 如果正在生成,等待当前生成完成(最多等待 2 秒)
|
|
480
|
-
console.log('------------------------------');
|
|
481
480
|
if (this.isGenerating) {
|
|
482
481
|
const maxWait = 2000;
|
|
483
482
|
const startTime = Date.now();
|