@prestyj/agent 5.29.0 → 5.29.1
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
|
@@ -871,6 +871,8 @@ async function* agentLoop(messages, options) {
|
|
|
871
871
|
onContextPrepared: options.onContextPrepared,
|
|
872
872
|
promptCacheKey: options.promptCacheKey,
|
|
873
873
|
serviceTier: options.serviceTier,
|
|
874
|
+
responsesLite: options.responsesLite,
|
|
875
|
+
strictTools: options.strictTools,
|
|
874
876
|
supportsImages: options.supportsImages,
|
|
875
877
|
supportsVideo: options.supportsVideo,
|
|
876
878
|
compaction: options.compaction,
|