@opencode-ai/ai 0.0.0-next-16255 → 0.0.0-next-16273

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.
Files changed (42) hide show
  1. package/dist/llm.d.ts +60 -60
  2. package/dist/protocols/anthropic-messages.d.ts +303 -303
  3. package/dist/protocols/anthropic-messages.js +1 -0
  4. package/dist/protocols/bedrock-converse.d.ts +246 -242
  5. package/dist/protocols/gemini.d.ts +136 -132
  6. package/dist/protocols/gemini.js +1 -0
  7. package/dist/protocols/open-responses.d.ts +232 -232
  8. package/dist/protocols/openai-chat.d.ts +147 -141
  9. package/dist/protocols/openai-chat.js +1 -0
  10. package/dist/protocols/openai-compatible-chat.d.ts +48 -46
  11. package/dist/protocols/openai-compatible-responses.d.ts +56 -56
  12. package/dist/protocols/openai-responses.d.ts +388 -388
  13. package/dist/protocols/shared.d.ts +5 -4
  14. package/dist/protocols/shared.js +1 -0
  15. package/dist/protocols/utils/bedrock-media.d.ts +10 -10
  16. package/dist/protocols/utils/tool-stream.d.ts +180 -180
  17. package/dist/providers/amazon-bedrock.d.ts +109 -107
  18. package/dist/providers/anthropic-compatible.d.ts +145 -145
  19. package/dist/providers/anthropic.d.ts +145 -145
  20. package/dist/providers/azure.d.ts +112 -110
  21. package/dist/providers/cloudflare.d.ts +144 -138
  22. package/dist/providers/github-copilot.d.ts +112 -110
  23. package/dist/providers/google-vertex-chat.d.ts +48 -46
  24. package/dist/providers/google-vertex-messages.d.ts +145 -146
  25. package/dist/providers/google-vertex-responses.d.ts +56 -56
  26. package/dist/providers/google-vertex.d.ts +52 -50
  27. package/dist/providers/google.d.ts +52 -50
  28. package/dist/providers/openai-compatible-responses.d.ts +56 -56
  29. package/dist/providers/openai-compatible.d.ts +48 -46
  30. package/dist/providers/openai.d.ts +176 -174
  31. package/dist/providers/openrouter.d.ts +147 -141
  32. package/dist/providers/xai.d.ts +112 -110
  33. package/dist/route/client.d.ts +60 -60
  34. package/dist/schema/errors.d.ts +2 -6
  35. package/dist/schema/errors.js +2 -5
  36. package/dist/schema/events.d.ts +1117 -1115
  37. package/dist/schema/messages.d.ts +9 -9
  38. package/dist/schema/messages.js +3 -4
  39. package/dist/tool-runtime.js +1 -1
  40. package/dist/tool.d.ts +5 -4
  41. package/dist/tool.js +1 -0
  42. package/package.json +5 -5
@@ -114,64 +114,64 @@ export type OpenAIResponsesBody = Schema.Schema.Type<typeof OpenAIResponsesBody>
114
114
  export declare const protocol: Protocol<{
115
115
  readonly input: readonly ({
116
116
  readonly type: "reasoning";
117
- readonly summary: readonly Schema.Struct.ReadonlySide<{
118
- readonly type: Schema.tag<"summary_text">;
119
- readonly text: Schema.String;
120
- }, "Type">[];
117
+ readonly summary: readonly {
118
+ readonly type: "summary_text";
119
+ readonly text: string;
120
+ }[];
121
121
  readonly id?: string | undefined;
122
122
  readonly encrypted_content?: string | null | undefined;
123
- } | Schema.Struct.ReadonlySide<{
124
- readonly type: Schema.tag<"item_reference">;
125
- readonly id: Schema.String;
126
- }, "Type"> | Schema.Struct.ReadonlySide<{
127
- readonly role: Schema.tag<"system">;
128
- readonly content: Schema.String;
129
- }, "Type"> | Schema.Struct.ReadonlySide<{
130
- readonly role: Schema.tag<"user">;
131
- readonly content: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
132
- readonly type: Schema.tag<"input_text">;
133
- readonly text: Schema.String;
134
- }>, Schema.Union<readonly [Schema.Struct<{
135
- readonly type: Schema.tag<"input_image">;
136
- readonly image_url: Schema.String;
137
- }>, Schema.Struct<{
138
- readonly type: Schema.tag<"input_file">;
139
- readonly filename: Schema.String;
140
- readonly file_data: Schema.String;
141
- readonly mime_type: Schema.optional<Schema.String>;
142
- }>]>]>>;
143
- }, "Type"> | {
144
- readonly content: readonly Schema.Struct.ReadonlySide<{
145
- readonly type: Schema.tag<"output_text">;
146
- readonly text: Schema.String;
147
- }, "Type">[];
123
+ } | {
124
+ readonly type: "item_reference";
125
+ readonly id: string;
126
+ } | {
127
+ readonly role: "system";
128
+ readonly content: string;
129
+ } | {
130
+ readonly role: "user";
131
+ readonly content: readonly ({
132
+ readonly type: "input_image";
133
+ readonly image_url: string;
134
+ } | {
135
+ readonly type: "input_file";
136
+ readonly filename: string;
137
+ readonly file_data: string;
138
+ readonly mime_type?: string | undefined;
139
+ } | {
140
+ readonly type: "input_text";
141
+ readonly text: string;
142
+ })[];
143
+ } | {
144
+ readonly content: readonly {
145
+ readonly type: "output_text";
146
+ readonly text: string;
147
+ }[];
148
148
  readonly role: "assistant";
149
149
  readonly phase?: "commentary" | "final_answer" | undefined;
150
- } | Schema.Struct.ReadonlySide<{
151
- readonly type: Schema.tag<"function_call">;
152
- readonly call_id: Schema.String;
153
- readonly name: Schema.String;
154
- readonly arguments: Schema.String;
155
- }, "Type"> | Schema.Struct.ReadonlySide<{
156
- readonly type: Schema.tag<"function_call_output">;
157
- readonly call_id: Schema.String;
158
- readonly output: Schema.Union<readonly [Schema.String, Schema.$Array<Schema.Union<readonly [Schema.Struct<{
159
- readonly type: Schema.tag<"input_text">;
160
- readonly text: Schema.String;
161
- }>, Schema.Struct<{
162
- readonly type: Schema.tag<"input_image">;
163
- readonly image_url: Schema.String;
164
- }>, Schema.Struct<{
165
- readonly type: Schema.tag<"input_file">;
166
- readonly filename: Schema.String;
167
- readonly file_data: Schema.String;
168
- readonly mime_type: Schema.optional<Schema.String>;
169
- }>]>>]>;
170
- }, "Type"> | {
171
- readonly content: readonly Schema.Struct.ReadonlySide<{
172
- readonly type: Schema.tag<"output_text">;
173
- readonly text: Schema.String;
174
- }, "Type">[];
150
+ } | {
151
+ readonly type: "function_call";
152
+ readonly call_id: string;
153
+ readonly name: string;
154
+ readonly arguments: string;
155
+ } | {
156
+ readonly type: "function_call_output";
157
+ readonly call_id: string;
158
+ readonly output: string | readonly ({
159
+ readonly type: "input_image";
160
+ readonly image_url: string;
161
+ } | {
162
+ readonly type: "input_file";
163
+ readonly filename: string;
164
+ readonly file_data: string;
165
+ readonly mime_type?: string | undefined;
166
+ } | {
167
+ readonly type: "input_text";
168
+ readonly text: string;
169
+ })[];
170
+ } | {
171
+ readonly content: readonly {
172
+ readonly type: "output_text";
173
+ readonly text: string;
174
+ }[];
175
175
  readonly role: "assistant";
176
176
  readonly phase?: "commentary" | "final_answer" | null | undefined;
177
177
  })[];
@@ -180,9 +180,10 @@ export declare const protocol: Protocol<{
180
180
  readonly text?: {
181
181
  readonly verbosity?: "low" | "medium" | "high" | undefined;
182
182
  } | undefined;
183
+ readonly instructions?: string | undefined;
183
184
  readonly reasoning?: {
184
- readonly effort?: string | undefined;
185
185
  readonly summary?: "auto" | "concise" | "detailed" | undefined;
186
+ readonly effort?: string | undefined;
186
187
  } | undefined;
187
188
  readonly tools?: readonly ({
188
189
  readonly type: "function";
@@ -194,25 +195,24 @@ export declare const protocol: Protocol<{
194
195
  readonly strict?: boolean | undefined;
195
196
  } | {
196
197
  readonly type: "image_generation";
197
- readonly output_format?: "png" | "jpeg" | "webp" | undefined;
198
198
  readonly size?: string | undefined;
199
+ readonly action?: "generate" | "auto" | "edit" | undefined;
200
+ readonly output_format?: "png" | "jpeg" | "webp" | undefined;
199
201
  readonly quality?: "low" | "medium" | "high" | "auto" | undefined;
200
202
  readonly background?: "auto" | "opaque" | "transparent" | undefined;
201
203
  readonly output_compression?: number | undefined;
202
- readonly action?: "generate" | "auto" | "edit" | undefined;
203
204
  readonly input_fidelity?: "low" | "high" | undefined;
204
205
  readonly partial_images?: number | undefined;
205
206
  })[] | undefined;
206
207
  readonly temperature?: number | undefined;
207
- readonly tool_choice?: "required" | "none" | "auto" | Schema.Struct.ReadonlySide<{
208
- readonly type: Schema.tag<"function">;
209
- readonly name: Schema.String;
210
- }, "Type"> | Schema.Struct.ReadonlySide<{
211
- readonly type: Schema.tag<"image_generation">;
212
- }, "Type"> | undefined;
208
+ readonly tool_choice?: "required" | "none" | "auto" | {
209
+ readonly type: "function";
210
+ readonly name: string;
211
+ } | {
212
+ readonly type: "image_generation";
213
+ } | undefined;
213
214
  readonly top_p?: number | undefined;
214
215
  readonly include?: readonly ("file_search_call.results" | "web_search_call.results" | "web_search_call.action.sources" | "message.input_image.image_url" | "computer_call_output.output.image_url" | "code_interpreter_call.outputs" | "reasoning.encrypted_content" | "message.output_text.logprobs")[] | undefined;
215
- readonly instructions?: string | undefined;
216
216
  readonly store?: boolean | undefined;
217
217
  readonly service_tier?: "auto" | "default" | "flex" | "priority" | undefined;
218
218
  readonly prompt_cache_key?: string | undefined;
@@ -226,6 +226,9 @@ export declare const protocol: Protocol<{
226
226
  readonly param?: string | null | undefined;
227
227
  } | null | undefined;
228
228
  readonly text?: string | undefined;
229
+ readonly message?: string | undefined;
230
+ readonly code?: string | null | undefined;
231
+ readonly delta?: string | undefined;
229
232
  readonly response?: {
230
233
  readonly [x: string]: unknown;
231
234
  readonly error?: {
@@ -251,18 +254,15 @@ export declare const protocol: Protocol<{
251
254
  readonly reason?: string | undefined;
252
255
  } | null | undefined;
253
256
  } | undefined;
254
- readonly message?: string | undefined;
255
- readonly code?: string | null | undefined;
256
257
  readonly item?: {
257
258
  readonly [x: string]: unknown;
258
259
  readonly type: string;
259
- readonly name?: string | undefined;
260
260
  readonly id?: string | undefined;
261
+ readonly name?: string | undefined;
261
262
  readonly arguments?: string | undefined;
262
263
  readonly encrypted_content?: string | null | undefined;
263
264
  readonly call_id?: string | undefined;
264
265
  } | undefined;
265
- readonly delta?: string | undefined;
266
266
  readonly param?: string | null | undefined;
267
267
  readonly item_id?: string | undefined;
268
268
  readonly summary_index?: number | undefined;
@@ -270,64 +270,64 @@ export declare const protocol: Protocol<{
270
270
  export declare const httpTransport: HttpTransport.HttpJsonTransport<{
271
271
  readonly input: readonly ({
272
272
  readonly type: "reasoning";
273
- readonly summary: readonly Schema.Struct.ReadonlySide<{
274
- readonly type: Schema.tag<"summary_text">;
275
- readonly text: Schema.String;
276
- }, "Type">[];
273
+ readonly summary: readonly {
274
+ readonly type: "summary_text";
275
+ readonly text: string;
276
+ }[];
277
277
  readonly id?: string | undefined;
278
278
  readonly encrypted_content?: string | null | undefined;
279
- } | Schema.Struct.ReadonlySide<{
280
- readonly type: Schema.tag<"item_reference">;
281
- readonly id: Schema.String;
282
- }, "Type"> | Schema.Struct.ReadonlySide<{
283
- readonly role: Schema.tag<"system">;
284
- readonly content: Schema.String;
285
- }, "Type"> | Schema.Struct.ReadonlySide<{
286
- readonly role: Schema.tag<"user">;
287
- readonly content: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
288
- readonly type: Schema.tag<"input_text">;
289
- readonly text: Schema.String;
290
- }>, Schema.Union<readonly [Schema.Struct<{
291
- readonly type: Schema.tag<"input_image">;
292
- readonly image_url: Schema.String;
293
- }>, Schema.Struct<{
294
- readonly type: Schema.tag<"input_file">;
295
- readonly filename: Schema.String;
296
- readonly file_data: Schema.String;
297
- readonly mime_type: Schema.optional<Schema.String>;
298
- }>]>]>>;
299
- }, "Type"> | {
300
- readonly content: readonly Schema.Struct.ReadonlySide<{
301
- readonly type: Schema.tag<"output_text">;
302
- readonly text: Schema.String;
303
- }, "Type">[];
279
+ } | {
280
+ readonly type: "item_reference";
281
+ readonly id: string;
282
+ } | {
283
+ readonly role: "system";
284
+ readonly content: string;
285
+ } | {
286
+ readonly role: "user";
287
+ readonly content: readonly ({
288
+ readonly type: "input_image";
289
+ readonly image_url: string;
290
+ } | {
291
+ readonly type: "input_file";
292
+ readonly filename: string;
293
+ readonly file_data: string;
294
+ readonly mime_type?: string | undefined;
295
+ } | {
296
+ readonly type: "input_text";
297
+ readonly text: string;
298
+ })[];
299
+ } | {
300
+ readonly content: readonly {
301
+ readonly type: "output_text";
302
+ readonly text: string;
303
+ }[];
304
304
  readonly role: "assistant";
305
305
  readonly phase?: "commentary" | "final_answer" | undefined;
306
- } | Schema.Struct.ReadonlySide<{
307
- readonly type: Schema.tag<"function_call">;
308
- readonly call_id: Schema.String;
309
- readonly name: Schema.String;
310
- readonly arguments: Schema.String;
311
- }, "Type"> | Schema.Struct.ReadonlySide<{
312
- readonly type: Schema.tag<"function_call_output">;
313
- readonly call_id: Schema.String;
314
- readonly output: Schema.Union<readonly [Schema.String, Schema.$Array<Schema.Union<readonly [Schema.Struct<{
315
- readonly type: Schema.tag<"input_text">;
316
- readonly text: Schema.String;
317
- }>, Schema.Struct<{
318
- readonly type: Schema.tag<"input_image">;
319
- readonly image_url: Schema.String;
320
- }>, Schema.Struct<{
321
- readonly type: Schema.tag<"input_file">;
322
- readonly filename: Schema.String;
323
- readonly file_data: Schema.String;
324
- readonly mime_type: Schema.optional<Schema.String>;
325
- }>]>>]>;
326
- }, "Type"> | {
327
- readonly content: readonly Schema.Struct.ReadonlySide<{
328
- readonly type: Schema.tag<"output_text">;
329
- readonly text: Schema.String;
330
- }, "Type">[];
306
+ } | {
307
+ readonly type: "function_call";
308
+ readonly call_id: string;
309
+ readonly name: string;
310
+ readonly arguments: string;
311
+ } | {
312
+ readonly type: "function_call_output";
313
+ readonly call_id: string;
314
+ readonly output: string | readonly ({
315
+ readonly type: "input_image";
316
+ readonly image_url: string;
317
+ } | {
318
+ readonly type: "input_file";
319
+ readonly filename: string;
320
+ readonly file_data: string;
321
+ readonly mime_type?: string | undefined;
322
+ } | {
323
+ readonly type: "input_text";
324
+ readonly text: string;
325
+ })[];
326
+ } | {
327
+ readonly content: readonly {
328
+ readonly type: "output_text";
329
+ readonly text: string;
330
+ }[];
331
331
  readonly role: "assistant";
332
332
  readonly phase?: "commentary" | "final_answer" | null | undefined;
333
333
  })[];
@@ -336,9 +336,10 @@ export declare const httpTransport: HttpTransport.HttpJsonTransport<{
336
336
  readonly text?: {
337
337
  readonly verbosity?: "low" | "medium" | "high" | undefined;
338
338
  } | undefined;
339
+ readonly instructions?: string | undefined;
339
340
  readonly reasoning?: {
340
- readonly effort?: string | undefined;
341
341
  readonly summary?: "auto" | "concise" | "detailed" | undefined;
342
+ readonly effort?: string | undefined;
342
343
  } | undefined;
343
344
  readonly tools?: readonly ({
344
345
  readonly type: "function";
@@ -350,25 +351,24 @@ export declare const httpTransport: HttpTransport.HttpJsonTransport<{
350
351
  readonly strict?: boolean | undefined;
351
352
  } | {
352
353
  readonly type: "image_generation";
353
- readonly output_format?: "png" | "jpeg" | "webp" | undefined;
354
354
  readonly size?: string | undefined;
355
+ readonly action?: "generate" | "auto" | "edit" | undefined;
356
+ readonly output_format?: "png" | "jpeg" | "webp" | undefined;
355
357
  readonly quality?: "low" | "medium" | "high" | "auto" | undefined;
356
358
  readonly background?: "auto" | "opaque" | "transparent" | undefined;
357
359
  readonly output_compression?: number | undefined;
358
- readonly action?: "generate" | "auto" | "edit" | undefined;
359
360
  readonly input_fidelity?: "low" | "high" | undefined;
360
361
  readonly partial_images?: number | undefined;
361
362
  })[] | undefined;
362
363
  readonly temperature?: number | undefined;
363
- readonly tool_choice?: "required" | "none" | "auto" | Schema.Struct.ReadonlySide<{
364
- readonly type: Schema.tag<"function">;
365
- readonly name: Schema.String;
366
- }, "Type"> | Schema.Struct.ReadonlySide<{
367
- readonly type: Schema.tag<"image_generation">;
368
- }, "Type"> | undefined;
364
+ readonly tool_choice?: "required" | "none" | "auto" | {
365
+ readonly type: "function";
366
+ readonly name: string;
367
+ } | {
368
+ readonly type: "image_generation";
369
+ } | undefined;
369
370
  readonly top_p?: number | undefined;
370
371
  readonly include?: readonly ("file_search_call.results" | "web_search_call.results" | "web_search_call.action.sources" | "message.input_image.image_url" | "computer_call_output.output.image_url" | "code_interpreter_call.outputs" | "reasoning.encrypted_content" | "message.output_text.logprobs")[] | undefined;
371
- readonly instructions?: string | undefined;
372
372
  readonly store?: boolean | undefined;
373
373
  readonly service_tier?: "auto" | "default" | "flex" | "priority" | undefined;
374
374
  readonly prompt_cache_key?: string | undefined;
@@ -377,64 +377,64 @@ export declare const httpTransport: HttpTransport.HttpJsonTransport<{
377
377
  export declare const route: Route<{
378
378
  readonly input: readonly ({
379
379
  readonly type: "reasoning";
380
- readonly summary: readonly Schema.Struct.ReadonlySide<{
381
- readonly type: Schema.tag<"summary_text">;
382
- readonly text: Schema.String;
383
- }, "Type">[];
380
+ readonly summary: readonly {
381
+ readonly type: "summary_text";
382
+ readonly text: string;
383
+ }[];
384
384
  readonly id?: string | undefined;
385
385
  readonly encrypted_content?: string | null | undefined;
386
- } | Schema.Struct.ReadonlySide<{
387
- readonly type: Schema.tag<"item_reference">;
388
- readonly id: Schema.String;
389
- }, "Type"> | Schema.Struct.ReadonlySide<{
390
- readonly role: Schema.tag<"system">;
391
- readonly content: Schema.String;
392
- }, "Type"> | Schema.Struct.ReadonlySide<{
393
- readonly role: Schema.tag<"user">;
394
- readonly content: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
395
- readonly type: Schema.tag<"input_text">;
396
- readonly text: Schema.String;
397
- }>, Schema.Union<readonly [Schema.Struct<{
398
- readonly type: Schema.tag<"input_image">;
399
- readonly image_url: Schema.String;
400
- }>, Schema.Struct<{
401
- readonly type: Schema.tag<"input_file">;
402
- readonly filename: Schema.String;
403
- readonly file_data: Schema.String;
404
- readonly mime_type: Schema.optional<Schema.String>;
405
- }>]>]>>;
406
- }, "Type"> | {
407
- readonly content: readonly Schema.Struct.ReadonlySide<{
408
- readonly type: Schema.tag<"output_text">;
409
- readonly text: Schema.String;
410
- }, "Type">[];
386
+ } | {
387
+ readonly type: "item_reference";
388
+ readonly id: string;
389
+ } | {
390
+ readonly role: "system";
391
+ readonly content: string;
392
+ } | {
393
+ readonly role: "user";
394
+ readonly content: readonly ({
395
+ readonly type: "input_image";
396
+ readonly image_url: string;
397
+ } | {
398
+ readonly type: "input_file";
399
+ readonly filename: string;
400
+ readonly file_data: string;
401
+ readonly mime_type?: string | undefined;
402
+ } | {
403
+ readonly type: "input_text";
404
+ readonly text: string;
405
+ })[];
406
+ } | {
407
+ readonly content: readonly {
408
+ readonly type: "output_text";
409
+ readonly text: string;
410
+ }[];
411
411
  readonly role: "assistant";
412
412
  readonly phase?: "commentary" | "final_answer" | undefined;
413
- } | Schema.Struct.ReadonlySide<{
414
- readonly type: Schema.tag<"function_call">;
415
- readonly call_id: Schema.String;
416
- readonly name: Schema.String;
417
- readonly arguments: Schema.String;
418
- }, "Type"> | Schema.Struct.ReadonlySide<{
419
- readonly type: Schema.tag<"function_call_output">;
420
- readonly call_id: Schema.String;
421
- readonly output: Schema.Union<readonly [Schema.String, Schema.$Array<Schema.Union<readonly [Schema.Struct<{
422
- readonly type: Schema.tag<"input_text">;
423
- readonly text: Schema.String;
424
- }>, Schema.Struct<{
425
- readonly type: Schema.tag<"input_image">;
426
- readonly image_url: Schema.String;
427
- }>, Schema.Struct<{
428
- readonly type: Schema.tag<"input_file">;
429
- readonly filename: Schema.String;
430
- readonly file_data: Schema.String;
431
- readonly mime_type: Schema.optional<Schema.String>;
432
- }>]>>]>;
433
- }, "Type"> | {
434
- readonly content: readonly Schema.Struct.ReadonlySide<{
435
- readonly type: Schema.tag<"output_text">;
436
- readonly text: Schema.String;
437
- }, "Type">[];
413
+ } | {
414
+ readonly type: "function_call";
415
+ readonly call_id: string;
416
+ readonly name: string;
417
+ readonly arguments: string;
418
+ } | {
419
+ readonly type: "function_call_output";
420
+ readonly call_id: string;
421
+ readonly output: string | readonly ({
422
+ readonly type: "input_image";
423
+ readonly image_url: string;
424
+ } | {
425
+ readonly type: "input_file";
426
+ readonly filename: string;
427
+ readonly file_data: string;
428
+ readonly mime_type?: string | undefined;
429
+ } | {
430
+ readonly type: "input_text";
431
+ readonly text: string;
432
+ })[];
433
+ } | {
434
+ readonly content: readonly {
435
+ readonly type: "output_text";
436
+ readonly text: string;
437
+ }[];
438
438
  readonly role: "assistant";
439
439
  readonly phase?: "commentary" | "final_answer" | null | undefined;
440
440
  })[];
@@ -443,9 +443,10 @@ export declare const route: Route<{
443
443
  readonly text?: {
444
444
  readonly verbosity?: "low" | "medium" | "high" | undefined;
445
445
  } | undefined;
446
+ readonly instructions?: string | undefined;
446
447
  readonly reasoning?: {
447
- readonly effort?: string | undefined;
448
448
  readonly summary?: "auto" | "concise" | "detailed" | undefined;
449
+ readonly effort?: string | undefined;
449
450
  } | undefined;
450
451
  readonly tools?: readonly ({
451
452
  readonly type: "function";
@@ -457,25 +458,24 @@ export declare const route: Route<{
457
458
  readonly strict?: boolean | undefined;
458
459
  } | {
459
460
  readonly type: "image_generation";
460
- readonly output_format?: "png" | "jpeg" | "webp" | undefined;
461
461
  readonly size?: string | undefined;
462
+ readonly action?: "generate" | "auto" | "edit" | undefined;
463
+ readonly output_format?: "png" | "jpeg" | "webp" | undefined;
462
464
  readonly quality?: "low" | "medium" | "high" | "auto" | undefined;
463
465
  readonly background?: "auto" | "opaque" | "transparent" | undefined;
464
466
  readonly output_compression?: number | undefined;
465
- readonly action?: "generate" | "auto" | "edit" | undefined;
466
467
  readonly input_fidelity?: "low" | "high" | undefined;
467
468
  readonly partial_images?: number | undefined;
468
469
  })[] | undefined;
469
470
  readonly temperature?: number | undefined;
470
- readonly tool_choice?: "required" | "none" | "auto" | Schema.Struct.ReadonlySide<{
471
- readonly type: Schema.tag<"function">;
472
- readonly name: Schema.String;
473
- }, "Type"> | Schema.Struct.ReadonlySide<{
474
- readonly type: Schema.tag<"image_generation">;
475
- }, "Type"> | undefined;
471
+ readonly tool_choice?: "required" | "none" | "auto" | {
472
+ readonly type: "function";
473
+ readonly name: string;
474
+ } | {
475
+ readonly type: "image_generation";
476
+ } | undefined;
476
477
  readonly top_p?: number | undefined;
477
478
  readonly include?: readonly ("file_search_call.results" | "web_search_call.results" | "web_search_call.action.sources" | "message.input_image.image_url" | "computer_call_output.output.image_url" | "code_interpreter_call.outputs" | "reasoning.encrypted_content" | "message.output_text.logprobs")[] | undefined;
478
- readonly instructions?: string | undefined;
479
479
  readonly store?: boolean | undefined;
480
480
  readonly service_tier?: "auto" | "default" | "flex" | "priority" | undefined;
481
481
  readonly prompt_cache_key?: string | undefined;
@@ -484,64 +484,64 @@ export declare const route: Route<{
484
484
  export declare const webSocketTransport: import("../route/transport/websocket").JsonTransport<{
485
485
  readonly input: readonly ({
486
486
  readonly type: "reasoning";
487
- readonly summary: readonly Schema.Struct.ReadonlySide<{
488
- readonly type: Schema.tag<"summary_text">;
489
- readonly text: Schema.String;
490
- }, "Type">[];
487
+ readonly summary: readonly {
488
+ readonly type: "summary_text";
489
+ readonly text: string;
490
+ }[];
491
491
  readonly id?: string | undefined;
492
492
  readonly encrypted_content?: string | null | undefined;
493
- } | Schema.Struct.ReadonlySide<{
494
- readonly type: Schema.tag<"item_reference">;
495
- readonly id: Schema.String;
496
- }, "Type"> | Schema.Struct.ReadonlySide<{
497
- readonly role: Schema.tag<"system">;
498
- readonly content: Schema.String;
499
- }, "Type"> | Schema.Struct.ReadonlySide<{
500
- readonly role: Schema.tag<"user">;
501
- readonly content: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
502
- readonly type: Schema.tag<"input_text">;
503
- readonly text: Schema.String;
504
- }>, Schema.Union<readonly [Schema.Struct<{
505
- readonly type: Schema.tag<"input_image">;
506
- readonly image_url: Schema.String;
507
- }>, Schema.Struct<{
508
- readonly type: Schema.tag<"input_file">;
509
- readonly filename: Schema.String;
510
- readonly file_data: Schema.String;
511
- readonly mime_type: Schema.optional<Schema.String>;
512
- }>]>]>>;
513
- }, "Type"> | {
514
- readonly content: readonly Schema.Struct.ReadonlySide<{
515
- readonly type: Schema.tag<"output_text">;
516
- readonly text: Schema.String;
517
- }, "Type">[];
493
+ } | {
494
+ readonly type: "item_reference";
495
+ readonly id: string;
496
+ } | {
497
+ readonly role: "system";
498
+ readonly content: string;
499
+ } | {
500
+ readonly role: "user";
501
+ readonly content: readonly ({
502
+ readonly type: "input_image";
503
+ readonly image_url: string;
504
+ } | {
505
+ readonly type: "input_file";
506
+ readonly filename: string;
507
+ readonly file_data: string;
508
+ readonly mime_type?: string | undefined;
509
+ } | {
510
+ readonly type: "input_text";
511
+ readonly text: string;
512
+ })[];
513
+ } | {
514
+ readonly content: readonly {
515
+ readonly type: "output_text";
516
+ readonly text: string;
517
+ }[];
518
518
  readonly role: "assistant";
519
519
  readonly phase?: "commentary" | "final_answer" | undefined;
520
- } | Schema.Struct.ReadonlySide<{
521
- readonly type: Schema.tag<"function_call">;
522
- readonly call_id: Schema.String;
523
- readonly name: Schema.String;
524
- readonly arguments: Schema.String;
525
- }, "Type"> | Schema.Struct.ReadonlySide<{
526
- readonly type: Schema.tag<"function_call_output">;
527
- readonly call_id: Schema.String;
528
- readonly output: Schema.Union<readonly [Schema.String, Schema.$Array<Schema.Union<readonly [Schema.Struct<{
529
- readonly type: Schema.tag<"input_text">;
530
- readonly text: Schema.String;
531
- }>, Schema.Struct<{
532
- readonly type: Schema.tag<"input_image">;
533
- readonly image_url: Schema.String;
534
- }>, Schema.Struct<{
535
- readonly type: Schema.tag<"input_file">;
536
- readonly filename: Schema.String;
537
- readonly file_data: Schema.String;
538
- readonly mime_type: Schema.optional<Schema.String>;
539
- }>]>>]>;
540
- }, "Type"> | {
541
- readonly content: readonly Schema.Struct.ReadonlySide<{
542
- readonly type: Schema.tag<"output_text">;
543
- readonly text: Schema.String;
544
- }, "Type">[];
520
+ } | {
521
+ readonly type: "function_call";
522
+ readonly call_id: string;
523
+ readonly name: string;
524
+ readonly arguments: string;
525
+ } | {
526
+ readonly type: "function_call_output";
527
+ readonly call_id: string;
528
+ readonly output: string | readonly ({
529
+ readonly type: "input_image";
530
+ readonly image_url: string;
531
+ } | {
532
+ readonly type: "input_file";
533
+ readonly filename: string;
534
+ readonly file_data: string;
535
+ readonly mime_type?: string | undefined;
536
+ } | {
537
+ readonly type: "input_text";
538
+ readonly text: string;
539
+ })[];
540
+ } | {
541
+ readonly content: readonly {
542
+ readonly type: "output_text";
543
+ readonly text: string;
544
+ }[];
545
545
  readonly role: "assistant";
546
546
  readonly phase?: "commentary" | "final_answer" | null | undefined;
547
547
  })[];
@@ -550,9 +550,10 @@ export declare const webSocketTransport: import("../route/transport/websocket").
550
550
  readonly text?: {
551
551
  readonly verbosity?: "low" | "medium" | "high" | undefined;
552
552
  } | undefined;
553
+ readonly instructions?: string | undefined;
553
554
  readonly reasoning?: {
554
- readonly effort?: string | undefined;
555
555
  readonly summary?: "auto" | "concise" | "detailed" | undefined;
556
+ readonly effort?: string | undefined;
556
557
  } | undefined;
557
558
  readonly tools?: readonly ({
558
559
  readonly type: "function";
@@ -564,25 +565,24 @@ export declare const webSocketTransport: import("../route/transport/websocket").
564
565
  readonly strict?: boolean | undefined;
565
566
  } | {
566
567
  readonly type: "image_generation";
567
- readonly output_format?: "png" | "jpeg" | "webp" | undefined;
568
568
  readonly size?: string | undefined;
569
+ readonly action?: "generate" | "auto" | "edit" | undefined;
570
+ readonly output_format?: "png" | "jpeg" | "webp" | undefined;
569
571
  readonly quality?: "low" | "medium" | "high" | "auto" | undefined;
570
572
  readonly background?: "auto" | "opaque" | "transparent" | undefined;
571
573
  readonly output_compression?: number | undefined;
572
- readonly action?: "generate" | "auto" | "edit" | undefined;
573
574
  readonly input_fidelity?: "low" | "high" | undefined;
574
575
  readonly partial_images?: number | undefined;
575
576
  })[] | undefined;
576
577
  readonly temperature?: number | undefined;
577
- readonly tool_choice?: "required" | "none" | "auto" | Schema.Struct.ReadonlySide<{
578
- readonly type: Schema.tag<"function">;
579
- readonly name: Schema.String;
580
- }, "Type"> | Schema.Struct.ReadonlySide<{
581
- readonly type: Schema.tag<"image_generation">;
582
- }, "Type"> | undefined;
578
+ readonly tool_choice?: "required" | "none" | "auto" | {
579
+ readonly type: "function";
580
+ readonly name: string;
581
+ } | {
582
+ readonly type: "image_generation";
583
+ } | undefined;
583
584
  readonly top_p?: number | undefined;
584
585
  readonly include?: readonly ("file_search_call.results" | "web_search_call.results" | "web_search_call.action.sources" | "message.input_image.image_url" | "computer_call_output.output.image_url" | "code_interpreter_call.outputs" | "reasoning.encrypted_content" | "message.output_text.logprobs")[] | undefined;
585
- readonly instructions?: string | undefined;
586
586
  readonly store?: boolean | undefined;
587
587
  readonly service_tier?: "auto" | "default" | "flex" | "priority" | undefined;
588
588
  readonly prompt_cache_key?: string | undefined;
@@ -592,64 +592,64 @@ export declare const webSocketTransport: import("../route/transport/websocket").
592
592
  readonly type: "response.create";
593
593
  readonly input: readonly ({
594
594
  readonly type: "reasoning";
595
- readonly summary: readonly Schema.Struct.ReadonlySide<{
596
- readonly type: Schema.tag<"summary_text">;
597
- readonly text: Schema.String;
598
- }, "Type">[];
595
+ readonly summary: readonly {
596
+ readonly type: "summary_text";
597
+ readonly text: string;
598
+ }[];
599
599
  readonly id?: string | undefined;
600
600
  readonly encrypted_content?: string | null | undefined;
601
- } | Schema.Struct.ReadonlySide<{
602
- readonly type: Schema.tag<"item_reference">;
603
- readonly id: Schema.String;
604
- }, "Type"> | Schema.Struct.ReadonlySide<{
605
- readonly role: Schema.tag<"system">;
606
- readonly content: Schema.String;
607
- }, "Type"> | Schema.Struct.ReadonlySide<{
608
- readonly role: Schema.tag<"user">;
609
- readonly content: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
610
- readonly type: Schema.tag<"input_text">;
611
- readonly text: Schema.String;
612
- }>, Schema.Union<readonly [Schema.Struct<{
613
- readonly type: Schema.tag<"input_image">;
614
- readonly image_url: Schema.String;
615
- }>, Schema.Struct<{
616
- readonly type: Schema.tag<"input_file">;
617
- readonly filename: Schema.String;
618
- readonly file_data: Schema.String;
619
- readonly mime_type: Schema.optional<Schema.String>;
620
- }>]>]>>;
621
- }, "Type"> | {
622
- readonly content: readonly Schema.Struct.ReadonlySide<{
623
- readonly type: Schema.tag<"output_text">;
624
- readonly text: Schema.String;
625
- }, "Type">[];
601
+ } | {
602
+ readonly type: "item_reference";
603
+ readonly id: string;
604
+ } | {
605
+ readonly role: "system";
606
+ readonly content: string;
607
+ } | {
608
+ readonly role: "user";
609
+ readonly content: readonly ({
610
+ readonly type: "input_image";
611
+ readonly image_url: string;
612
+ } | {
613
+ readonly type: "input_file";
614
+ readonly filename: string;
615
+ readonly file_data: string;
616
+ readonly mime_type?: string | undefined;
617
+ } | {
618
+ readonly type: "input_text";
619
+ readonly text: string;
620
+ })[];
621
+ } | {
622
+ readonly content: readonly {
623
+ readonly type: "output_text";
624
+ readonly text: string;
625
+ }[];
626
626
  readonly role: "assistant";
627
627
  readonly phase?: "commentary" | "final_answer" | undefined;
628
- } | Schema.Struct.ReadonlySide<{
629
- readonly type: Schema.tag<"function_call">;
630
- readonly call_id: Schema.String;
631
- readonly name: Schema.String;
632
- readonly arguments: Schema.String;
633
- }, "Type"> | Schema.Struct.ReadonlySide<{
634
- readonly type: Schema.tag<"function_call_output">;
635
- readonly call_id: Schema.String;
636
- readonly output: Schema.Union<readonly [Schema.String, Schema.$Array<Schema.Union<readonly [Schema.Struct<{
637
- readonly type: Schema.tag<"input_text">;
638
- readonly text: Schema.String;
639
- }>, Schema.Struct<{
640
- readonly type: Schema.tag<"input_image">;
641
- readonly image_url: Schema.String;
642
- }>, Schema.Struct<{
643
- readonly type: Schema.tag<"input_file">;
644
- readonly filename: Schema.String;
645
- readonly file_data: Schema.String;
646
- readonly mime_type: Schema.optional<Schema.String>;
647
- }>]>>]>;
648
- }, "Type"> | {
649
- readonly content: readonly Schema.Struct.ReadonlySide<{
650
- readonly type: Schema.tag<"output_text">;
651
- readonly text: Schema.String;
652
- }, "Type">[];
628
+ } | {
629
+ readonly type: "function_call";
630
+ readonly call_id: string;
631
+ readonly name: string;
632
+ readonly arguments: string;
633
+ } | {
634
+ readonly type: "function_call_output";
635
+ readonly call_id: string;
636
+ readonly output: string | readonly ({
637
+ readonly type: "input_image";
638
+ readonly image_url: string;
639
+ } | {
640
+ readonly type: "input_file";
641
+ readonly filename: string;
642
+ readonly file_data: string;
643
+ readonly mime_type?: string | undefined;
644
+ } | {
645
+ readonly type: "input_text";
646
+ readonly text: string;
647
+ })[];
648
+ } | {
649
+ readonly content: readonly {
650
+ readonly type: "output_text";
651
+ readonly text: string;
652
+ }[];
653
653
  readonly role: "assistant";
654
654
  readonly phase?: "commentary" | "final_answer" | null | undefined;
655
655
  })[];
@@ -657,9 +657,10 @@ export declare const webSocketTransport: import("../route/transport/websocket").
657
657
  readonly text?: {
658
658
  readonly verbosity?: "low" | "medium" | "high" | undefined;
659
659
  } | undefined;
660
+ readonly instructions?: string | undefined;
660
661
  readonly reasoning?: {
661
- readonly effort?: string | undefined;
662
662
  readonly summary?: "auto" | "concise" | "detailed" | undefined;
663
+ readonly effort?: string | undefined;
663
664
  } | undefined;
664
665
  readonly tools?: readonly ({
665
666
  readonly type: "function";
@@ -671,25 +672,24 @@ export declare const webSocketTransport: import("../route/transport/websocket").
671
672
  readonly strict?: boolean | undefined;
672
673
  } | {
673
674
  readonly type: "image_generation";
674
- readonly output_format?: "png" | "jpeg" | "webp" | undefined;
675
675
  readonly size?: string | undefined;
676
+ readonly action?: "generate" | "auto" | "edit" | undefined;
677
+ readonly output_format?: "png" | "jpeg" | "webp" | undefined;
676
678
  readonly quality?: "low" | "medium" | "high" | "auto" | undefined;
677
679
  readonly background?: "auto" | "opaque" | "transparent" | undefined;
678
680
  readonly output_compression?: number | undefined;
679
- readonly action?: "generate" | "auto" | "edit" | undefined;
680
681
  readonly input_fidelity?: "low" | "high" | undefined;
681
682
  readonly partial_images?: number | undefined;
682
683
  })[] | undefined;
683
684
  readonly temperature?: number | undefined;
684
- readonly tool_choice?: "required" | "none" | "auto" | Schema.Struct.ReadonlySide<{
685
- readonly type: Schema.tag<"function">;
686
- readonly name: Schema.String;
687
- }, "Type"> | Schema.Struct.ReadonlySide<{
688
- readonly type: Schema.tag<"image_generation">;
689
- }, "Type"> | undefined;
685
+ readonly tool_choice?: "required" | "none" | "auto" | {
686
+ readonly type: "function";
687
+ readonly name: string;
688
+ } | {
689
+ readonly type: "image_generation";
690
+ } | undefined;
690
691
  readonly top_p?: number | undefined;
691
692
  readonly include?: readonly ("file_search_call.results" | "web_search_call.results" | "web_search_call.action.sources" | "message.input_image.image_url" | "computer_call_output.output.image_url" | "code_interpreter_call.outputs" | "reasoning.encrypted_content" | "message.output_text.logprobs")[] | undefined;
692
- readonly instructions?: string | undefined;
693
693
  readonly store?: boolean | undefined;
694
694
  readonly service_tier?: "auto" | "default" | "flex" | "priority" | undefined;
695
695
  readonly prompt_cache_key?: string | undefined;
@@ -698,64 +698,64 @@ export declare const webSocketTransport: import("../route/transport/websocket").
698
698
  export declare const webSocketRoute: Route<{
699
699
  readonly input: readonly ({
700
700
  readonly type: "reasoning";
701
- readonly summary: readonly Schema.Struct.ReadonlySide<{
702
- readonly type: Schema.tag<"summary_text">;
703
- readonly text: Schema.String;
704
- }, "Type">[];
701
+ readonly summary: readonly {
702
+ readonly type: "summary_text";
703
+ readonly text: string;
704
+ }[];
705
705
  readonly id?: string | undefined;
706
706
  readonly encrypted_content?: string | null | undefined;
707
- } | Schema.Struct.ReadonlySide<{
708
- readonly type: Schema.tag<"item_reference">;
709
- readonly id: Schema.String;
710
- }, "Type"> | Schema.Struct.ReadonlySide<{
711
- readonly role: Schema.tag<"system">;
712
- readonly content: Schema.String;
713
- }, "Type"> | Schema.Struct.ReadonlySide<{
714
- readonly role: Schema.tag<"user">;
715
- readonly content: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
716
- readonly type: Schema.tag<"input_text">;
717
- readonly text: Schema.String;
718
- }>, Schema.Union<readonly [Schema.Struct<{
719
- readonly type: Schema.tag<"input_image">;
720
- readonly image_url: Schema.String;
721
- }>, Schema.Struct<{
722
- readonly type: Schema.tag<"input_file">;
723
- readonly filename: Schema.String;
724
- readonly file_data: Schema.String;
725
- readonly mime_type: Schema.optional<Schema.String>;
726
- }>]>]>>;
727
- }, "Type"> | {
728
- readonly content: readonly Schema.Struct.ReadonlySide<{
729
- readonly type: Schema.tag<"output_text">;
730
- readonly text: Schema.String;
731
- }, "Type">[];
707
+ } | {
708
+ readonly type: "item_reference";
709
+ readonly id: string;
710
+ } | {
711
+ readonly role: "system";
712
+ readonly content: string;
713
+ } | {
714
+ readonly role: "user";
715
+ readonly content: readonly ({
716
+ readonly type: "input_image";
717
+ readonly image_url: string;
718
+ } | {
719
+ readonly type: "input_file";
720
+ readonly filename: string;
721
+ readonly file_data: string;
722
+ readonly mime_type?: string | undefined;
723
+ } | {
724
+ readonly type: "input_text";
725
+ readonly text: string;
726
+ })[];
727
+ } | {
728
+ readonly content: readonly {
729
+ readonly type: "output_text";
730
+ readonly text: string;
731
+ }[];
732
732
  readonly role: "assistant";
733
733
  readonly phase?: "commentary" | "final_answer" | undefined;
734
- } | Schema.Struct.ReadonlySide<{
735
- readonly type: Schema.tag<"function_call">;
736
- readonly call_id: Schema.String;
737
- readonly name: Schema.String;
738
- readonly arguments: Schema.String;
739
- }, "Type"> | Schema.Struct.ReadonlySide<{
740
- readonly type: Schema.tag<"function_call_output">;
741
- readonly call_id: Schema.String;
742
- readonly output: Schema.Union<readonly [Schema.String, Schema.$Array<Schema.Union<readonly [Schema.Struct<{
743
- readonly type: Schema.tag<"input_text">;
744
- readonly text: Schema.String;
745
- }>, Schema.Struct<{
746
- readonly type: Schema.tag<"input_image">;
747
- readonly image_url: Schema.String;
748
- }>, Schema.Struct<{
749
- readonly type: Schema.tag<"input_file">;
750
- readonly filename: Schema.String;
751
- readonly file_data: Schema.String;
752
- readonly mime_type: Schema.optional<Schema.String>;
753
- }>]>>]>;
754
- }, "Type"> | {
755
- readonly content: readonly Schema.Struct.ReadonlySide<{
756
- readonly type: Schema.tag<"output_text">;
757
- readonly text: Schema.String;
758
- }, "Type">[];
734
+ } | {
735
+ readonly type: "function_call";
736
+ readonly call_id: string;
737
+ readonly name: string;
738
+ readonly arguments: string;
739
+ } | {
740
+ readonly type: "function_call_output";
741
+ readonly call_id: string;
742
+ readonly output: string | readonly ({
743
+ readonly type: "input_image";
744
+ readonly image_url: string;
745
+ } | {
746
+ readonly type: "input_file";
747
+ readonly filename: string;
748
+ readonly file_data: string;
749
+ readonly mime_type?: string | undefined;
750
+ } | {
751
+ readonly type: "input_text";
752
+ readonly text: string;
753
+ })[];
754
+ } | {
755
+ readonly content: readonly {
756
+ readonly type: "output_text";
757
+ readonly text: string;
758
+ }[];
759
759
  readonly role: "assistant";
760
760
  readonly phase?: "commentary" | "final_answer" | null | undefined;
761
761
  })[];
@@ -764,9 +764,10 @@ export declare const webSocketRoute: Route<{
764
764
  readonly text?: {
765
765
  readonly verbosity?: "low" | "medium" | "high" | undefined;
766
766
  } | undefined;
767
+ readonly instructions?: string | undefined;
767
768
  readonly reasoning?: {
768
- readonly effort?: string | undefined;
769
769
  readonly summary?: "auto" | "concise" | "detailed" | undefined;
770
+ readonly effort?: string | undefined;
770
771
  } | undefined;
771
772
  readonly tools?: readonly ({
772
773
  readonly type: "function";
@@ -778,25 +779,24 @@ export declare const webSocketRoute: Route<{
778
779
  readonly strict?: boolean | undefined;
779
780
  } | {
780
781
  readonly type: "image_generation";
781
- readonly output_format?: "png" | "jpeg" | "webp" | undefined;
782
782
  readonly size?: string | undefined;
783
+ readonly action?: "generate" | "auto" | "edit" | undefined;
784
+ readonly output_format?: "png" | "jpeg" | "webp" | undefined;
783
785
  readonly quality?: "low" | "medium" | "high" | "auto" | undefined;
784
786
  readonly background?: "auto" | "opaque" | "transparent" | undefined;
785
787
  readonly output_compression?: number | undefined;
786
- readonly action?: "generate" | "auto" | "edit" | undefined;
787
788
  readonly input_fidelity?: "low" | "high" | undefined;
788
789
  readonly partial_images?: number | undefined;
789
790
  })[] | undefined;
790
791
  readonly temperature?: number | undefined;
791
- readonly tool_choice?: "required" | "none" | "auto" | Schema.Struct.ReadonlySide<{
792
- readonly type: Schema.tag<"function">;
793
- readonly name: Schema.String;
794
- }, "Type"> | Schema.Struct.ReadonlySide<{
795
- readonly type: Schema.tag<"image_generation">;
796
- }, "Type"> | undefined;
792
+ readonly tool_choice?: "required" | "none" | "auto" | {
793
+ readonly type: "function";
794
+ readonly name: string;
795
+ } | {
796
+ readonly type: "image_generation";
797
+ } | undefined;
797
798
  readonly top_p?: number | undefined;
798
799
  readonly include?: readonly ("file_search_call.results" | "web_search_call.results" | "web_search_call.action.sources" | "message.input_image.image_url" | "computer_call_output.output.image_url" | "code_interpreter_call.outputs" | "reasoning.encrypted_content" | "message.output_text.logprobs")[] | undefined;
799
- readonly instructions?: string | undefined;
800
800
  readonly store?: boolean | undefined;
801
801
  readonly service_tier?: "auto" | "default" | "flex" | "priority" | undefined;
802
802
  readonly prompt_cache_key?: string | undefined;