yiyan-browser-agent 1.8.3 → 1.8.5
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.
- package/package.json +1 -1
- package/src/browser.js +1 -1
package/package.json
CHANGED
package/src/browser.js
CHANGED
|
@@ -323,7 +323,7 @@ class YiyanBrowser {
|
|
|
323
323
|
// ── 统一稳定性检测:两者都不变才算稳定 ──
|
|
324
324
|
const thinkingStable = thinkingInfo.text === lastThinkingText;
|
|
325
325
|
const answerStable = text === lastText;
|
|
326
|
-
const hasContent = thinkingInfo.text.length > 5 && text.length >
|
|
326
|
+
const hasContent = thinkingInfo.text.length > 5 && text.length > 0;
|
|
327
327
|
|
|
328
328
|
if (thinkingStable && answerStable && hasContent) {
|
|
329
329
|
// 两者都稳定且有内容,检查稳定时间
|