@ai-sdk/openai 2.0.97 → 2.0.98

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.mjs CHANGED
@@ -44,7 +44,7 @@ function getOpenAILanguageModelCapabilities(modelId) {
44
44
  const supportsFlexProcessing = modelId.startsWith("o3") || modelId.startsWith("o4-mini") || modelId.startsWith("gpt-5") && !modelId.startsWith("gpt-5-chat");
45
45
  const supportsPriorityProcessing = modelId.startsWith("gpt-4") || modelId.startsWith("gpt-5-mini") || modelId.startsWith("gpt-5") && !modelId.startsWith("gpt-5-nano") && !modelId.startsWith("gpt-5-chat") || modelId.startsWith("o3") || modelId.startsWith("o4-mini");
46
46
  const isReasoningModel = !(modelId.startsWith("gpt-3") || modelId.startsWith("gpt-4") || modelId.startsWith("chatgpt-4o") || modelId.startsWith("gpt-5-chat"));
47
- const supportsNonReasoningParameters = modelId.startsWith("gpt-5.1") || modelId.startsWith("gpt-5.2");
47
+ const supportsNonReasoningParameters = modelId.startsWith("gpt-5.1") || modelId.startsWith("gpt-5.2") || modelId.startsWith("gpt-5.4");
48
48
  const systemMessageMode = isReasoningModel ? "developer" : "system";
49
49
  return {
50
50
  supportsFlexProcessing,
@@ -3003,7 +3003,11 @@ var openaiResponsesReasoningModelIds = [
3003
3003
  "gpt-5.2-chat-latest",
3004
3004
  "gpt-5.2-pro",
3005
3005
  "gpt-5.2-codex",
3006
- "gpt-5.3-codex"
3006
+ "gpt-5.3-codex",
3007
+ "gpt-5.4",
3008
+ "gpt-5.4-2026-03-05",
3009
+ "gpt-5.4-pro",
3010
+ "gpt-5.4-pro-2026-03-05"
3007
3011
  ];
3008
3012
  var openaiResponsesModelIds = [
3009
3013
  "gpt-4.1",
@@ -4711,7 +4715,7 @@ var OpenAITranscriptionModel = class {
4711
4715
  };
4712
4716
 
4713
4717
  // src/version.ts
4714
- var VERSION = true ? "2.0.97" : "0.0.0-test";
4718
+ var VERSION = true ? "2.0.98" : "0.0.0-test";
4715
4719
 
4716
4720
  // src/openai-provider.ts
4717
4721
  function createOpenAI(options = {}) {