@kenkaiiii/gg-ai 4.3.219 → 4.3.221
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/dist/index.cjs +0 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +0 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1704,8 +1704,6 @@ async function* runStream3(options) {
|
|
|
1704
1704
|
contentIndex: contentIndex ?? 0,
|
|
1705
1705
|
text: `${pending?.text ?? ""}${delta}`
|
|
1706
1706
|
});
|
|
1707
|
-
} else if (options.thinking) {
|
|
1708
|
-
yield { type: "thinking_delta", text: delta };
|
|
1709
1707
|
}
|
|
1710
1708
|
}
|
|
1711
1709
|
if (type === "response.output_text.done") {
|
|
@@ -1729,8 +1727,6 @@ async function* runStream3(options) {
|
|
|
1729
1727
|
contentIndex: contentIndex ?? 0,
|
|
1730
1728
|
text: `${pending?.text ?? ""}${missingText}`
|
|
1731
1729
|
});
|
|
1732
|
-
} else if (options.thinking) {
|
|
1733
|
-
yield { type: "thinking_delta", text: missingText };
|
|
1734
1730
|
}
|
|
1735
1731
|
}
|
|
1736
1732
|
}
|
|
@@ -1757,8 +1753,6 @@ async function* runStream3(options) {
|
|
|
1757
1753
|
if (isVisibleOutputItem(itemType)) {
|
|
1758
1754
|
textAccum += pendingPart.text;
|
|
1759
1755
|
yield { type: "text_delta", text: pendingPart.text };
|
|
1760
|
-
} else if (options.thinking) {
|
|
1761
|
-
yield { type: "thinking_delta", text: pendingPart.text };
|
|
1762
1756
|
}
|
|
1763
1757
|
}
|
|
1764
1758
|
}
|