@prestyj/ai 5.19.0 → 5.20.0

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