@kenkaiiii/gg-ai 5.60.2 → 5.60.4
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 +4 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2572,7 +2572,7 @@ function extractRequestIdFromMessage(message) {
|
|
|
2572
2572
|
|
|
2573
2573
|
// src/providers/openai-codex.ts
|
|
2574
2574
|
var DEFAULT_BASE_URL = "https://chatgpt.com/backend-api";
|
|
2575
|
-
var CODEX_CLIENT_VERSION = "0.
|
|
2575
|
+
var CODEX_CLIENT_VERSION = "0.155.1";
|
|
2576
2576
|
var CODEX_REQUEST_COMPRESSION_MIN_BYTES = 16 * 1024;
|
|
2577
2577
|
var zstdInitPromise;
|
|
2578
2578
|
async function encodeCodexRequest(body) {
|
|
@@ -2676,6 +2676,9 @@ async function* runStream3(options, retriedWithoutReasoning = false) {
|
|
|
2676
2676
|
summary: "auto",
|
|
2677
2677
|
...responsesLite ? { context: "all_turns" } : {}
|
|
2678
2678
|
};
|
|
2679
|
+
if (responsesLite) {
|
|
2680
|
+
body.text = { verbosity: "low" };
|
|
2681
|
+
}
|
|
2679
2682
|
const headers = {
|
|
2680
2683
|
"Content-Type": "application/json",
|
|
2681
2684
|
Accept: "text/event-stream",
|