@ai-sdk/openai 2.0.67 → 2.0.68

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.
@@ -3007,6 +3007,7 @@ var openaiResponsesModelIds = [
3007
3007
  var openaiResponsesProviderOptionsSchema = lazyValidator12(
3008
3008
  () => zodSchema13(
3009
3009
  z15.object({
3010
+ conversation: z15.string().nullish(),
3010
3011
  include: z15.array(
3011
3012
  z15.enum([
3012
3013
  "reasoning.encrypted_content",
@@ -3515,6 +3516,13 @@ var OpenAIResponsesLanguageModel = class {
3515
3516
  providerOptions,
3516
3517
  schema: openaiResponsesProviderOptionsSchema
3517
3518
  });
3519
+ if ((openaiOptions == null ? void 0 : openaiOptions.conversation) && (openaiOptions == null ? void 0 : openaiOptions.previousResponseId)) {
3520
+ warnings.push({
3521
+ type: "unsupported-setting",
3522
+ setting: "conversation",
3523
+ details: "conversation and previousResponseId cannot be used together"
3524
+ });
3525
+ }
3518
3526
  const { input, warnings: inputWarnings } = await convertToOpenAIResponsesInput({
3519
3527
  prompt,
3520
3528
  systemMessageMode: modelConfig.systemMessageMode,
@@ -3577,6 +3585,7 @@ var OpenAIResponsesLanguageModel = class {
3577
3585
  }
3578
3586
  },
3579
3587
  // provider options:
3588
+ conversation: openaiOptions == null ? void 0 : openaiOptions.conversation,
3580
3589
  max_tool_calls: openaiOptions == null ? void 0 : openaiOptions.maxToolCalls,
3581
3590
  metadata: openaiOptions == null ? void 0 : openaiOptions.metadata,
3582
3591
  parallel_tool_calls: openaiOptions == null ? void 0 : openaiOptions.parallelToolCalls,