@kenkaiiii/gg-ai 5.60.3 → 5.60.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/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.js
CHANGED
|
@@ -2505,7 +2505,7 @@ function extractRequestIdFromMessage(message) {
|
|
|
2505
2505
|
|
|
2506
2506
|
// src/providers/openai-codex.ts
|
|
2507
2507
|
var DEFAULT_BASE_URL = "https://chatgpt.com/backend-api";
|
|
2508
|
-
var CODEX_CLIENT_VERSION = "0.
|
|
2508
|
+
var CODEX_CLIENT_VERSION = "0.155.1";
|
|
2509
2509
|
var CODEX_REQUEST_COMPRESSION_MIN_BYTES = 16 * 1024;
|
|
2510
2510
|
var zstdInitPromise;
|
|
2511
2511
|
async function encodeCodexRequest(body) {
|
|
@@ -2609,6 +2609,9 @@ async function* runStream3(options, retriedWithoutReasoning = false) {
|
|
|
2609
2609
|
summary: "auto",
|
|
2610
2610
|
...responsesLite ? { context: "all_turns" } : {}
|
|
2611
2611
|
};
|
|
2612
|
+
if (responsesLite) {
|
|
2613
|
+
body.text = { verbosity: "low" };
|
|
2614
|
+
}
|
|
2612
2615
|
const headers = {
|
|
2613
2616
|
"Content-Type": "application/json",
|
|
2614
2617
|
Accept: "text/event-stream",
|