@kenkaiiii/gg-ai 4.3.218 → 4.3.220
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.js
CHANGED
|
@@ -1655,8 +1655,6 @@ async function* runStream3(options) {
|
|
|
1655
1655
|
contentIndex: contentIndex ?? 0,
|
|
1656
1656
|
text: `${pending?.text ?? ""}${delta}`
|
|
1657
1657
|
});
|
|
1658
|
-
} else if (options.thinking) {
|
|
1659
|
-
yield { type: "thinking_delta", text: delta };
|
|
1660
1658
|
}
|
|
1661
1659
|
}
|
|
1662
1660
|
if (type === "response.output_text.done") {
|
|
@@ -1680,8 +1678,6 @@ async function* runStream3(options) {
|
|
|
1680
1678
|
contentIndex: contentIndex ?? 0,
|
|
1681
1679
|
text: `${pending?.text ?? ""}${missingText}`
|
|
1682
1680
|
});
|
|
1683
|
-
} else if (options.thinking) {
|
|
1684
|
-
yield { type: "thinking_delta", text: missingText };
|
|
1685
1681
|
}
|
|
1686
1682
|
}
|
|
1687
1683
|
}
|
|
@@ -1708,8 +1704,6 @@ async function* runStream3(options) {
|
|
|
1708
1704
|
if (isVisibleOutputItem(itemType)) {
|
|
1709
1705
|
textAccum += pendingPart.text;
|
|
1710
1706
|
yield { type: "text_delta", text: pendingPart.text };
|
|
1711
|
-
} else if (options.thinking) {
|
|
1712
|
-
yield { type: "thinking_delta", text: pendingPart.text };
|
|
1713
1707
|
}
|
|
1714
1708
|
}
|
|
1715
1709
|
}
|