@ai-sdk/openai 3.0.124 → 3.0.125

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.
@@ -273,21 +273,6 @@ type OpenAIResponsesFileSearchToolCompoundFilter = {
273
273
  declare const openaiResponsesChunkSchema: _ai_sdk_provider_utils.LazySchema<{
274
274
  type: "unknown_chunk";
275
275
  message: string;
276
- } | {
277
- type: "error";
278
- sequence_number: number;
279
- error: {
280
- type: string;
281
- code: string;
282
- message: string;
283
- param?: string | null | undefined;
284
- };
285
- } | {
286
- type: "error";
287
- sequence_number: number;
288
- message: string;
289
- code?: string | null | undefined;
290
- param?: string | null | undefined;
291
276
  } | {
292
277
  type: "response.output_text.delta";
293
278
  item_id: string;
@@ -762,6 +747,21 @@ declare const openaiResponsesChunkSchema: _ai_sdk_provider_utils.LazySchema<{
762
747
  item_id: string;
763
748
  output_index: number;
764
749
  diff: string;
750
+ } | {
751
+ type: "error";
752
+ sequence_number: number;
753
+ error: {
754
+ type: string;
755
+ message: string;
756
+ code?: string | null | undefined;
757
+ param?: string | null | undefined;
758
+ };
759
+ } | {
760
+ type: "error";
761
+ sequence_number: number;
762
+ message: string;
763
+ code?: string | null | undefined;
764
+ param?: string | null | undefined;
765
765
  }>;
766
766
  type OpenAIResponsesChunk = InferSchema<typeof openaiResponsesChunkSchema>;
767
767
  type OpenAIResponsesLogprobs = NonNullable<(OpenAIResponsesChunk & {
@@ -273,21 +273,6 @@ type OpenAIResponsesFileSearchToolCompoundFilter = {
273
273
  declare const openaiResponsesChunkSchema: _ai_sdk_provider_utils.LazySchema<{
274
274
  type: "unknown_chunk";
275
275
  message: string;
276
- } | {
277
- type: "error";
278
- sequence_number: number;
279
- error: {
280
- type: string;
281
- code: string;
282
- message: string;
283
- param?: string | null | undefined;
284
- };
285
- } | {
286
- type: "error";
287
- sequence_number: number;
288
- message: string;
289
- code?: string | null | undefined;
290
- param?: string | null | undefined;
291
276
  } | {
292
277
  type: "response.output_text.delta";
293
278
  item_id: string;
@@ -762,6 +747,21 @@ declare const openaiResponsesChunkSchema: _ai_sdk_provider_utils.LazySchema<{
762
747
  item_id: string;
763
748
  output_index: number;
764
749
  diff: string;
750
+ } | {
751
+ type: "error";
752
+ sequence_number: number;
753
+ error: {
754
+ type: string;
755
+ message: string;
756
+ code?: string | null | undefined;
757
+ param?: string | null | undefined;
758
+ };
759
+ } | {
760
+ type: "error";
761
+ sequence_number: number;
762
+ message: string;
763
+ code?: string | null | undefined;
764
+ param?: string | null | undefined;
765
765
  }>;
766
766
  type OpenAIResponsesChunk = InferSchema<typeof openaiResponsesChunkSchema>;
767
767
  type OpenAIResponsesLogprobs = NonNullable<(OpenAIResponsesChunk & {