@kenkaiiii/gg-agent 5.71.0 → 5.72.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.cjs +2 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -359,6 +359,10 @@ interface AgentOptions {
|
|
|
359
359
|
defaultHeaders?: StreamOptions["defaultHeaders"];
|
|
360
360
|
/** OpenAI service tier for latency-sensitive first-party API requests. */
|
|
361
361
|
serviceTier?: StreamOptions["serviceTier"];
|
|
362
|
+
/** Codex Responses-Lite request shape override (see StreamOptions). */
|
|
363
|
+
responsesLite?: StreamOptions["responsesLite"];
|
|
364
|
+
/** Codex strict tool schema override (see StreamOptions). */
|
|
365
|
+
strictTools?: StreamOptions["strictTools"];
|
|
362
366
|
/** Whether the target model supports image input. When false, image blocks
|
|
363
367
|
* in messages/tool_results are downgraded to text placeholders. Default: true. */
|
|
364
368
|
supportsImages?: boolean;
|
package/dist/index.d.ts
CHANGED
|
@@ -359,6 +359,10 @@ interface AgentOptions {
|
|
|
359
359
|
defaultHeaders?: StreamOptions["defaultHeaders"];
|
|
360
360
|
/** OpenAI service tier for latency-sensitive first-party API requests. */
|
|
361
361
|
serviceTier?: StreamOptions["serviceTier"];
|
|
362
|
+
/** Codex Responses-Lite request shape override (see StreamOptions). */
|
|
363
|
+
responsesLite?: StreamOptions["responsesLite"];
|
|
364
|
+
/** Codex strict tool schema override (see StreamOptions). */
|
|
365
|
+
strictTools?: StreamOptions["strictTools"];
|
|
362
366
|
/** Whether the target model supports image input. When false, image blocks
|
|
363
367
|
* in messages/tool_results are downgraded to text placeholders. Default: true. */
|
|
364
368
|
supportsImages?: boolean;
|
package/dist/index.js
CHANGED
|
@@ -821,6 +821,8 @@ async function* agentLoop(messages, options) {
|
|
|
821
821
|
onContextPrepared: options.onContextPrepared,
|
|
822
822
|
promptCacheKey: options.promptCacheKey,
|
|
823
823
|
serviceTier: options.serviceTier,
|
|
824
|
+
responsesLite: options.responsesLite,
|
|
825
|
+
strictTools: options.strictTools,
|
|
824
826
|
supportsImages: options.supportsImages,
|
|
825
827
|
supportsVideo: options.supportsVideo,
|
|
826
828
|
compaction: options.compaction,
|