@ai-sdk/openai 1.2.5 → 1.2.7

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.
@@ -136,10 +136,6 @@ function convertToOpenAIChatMessages({
136
136
  text += part.text;
137
137
  break;
138
138
  }
139
- case "redacted-reasoning":
140
- case "reasoning": {
141
- break;
142
- }
143
139
  case "tool-call": {
144
140
  toolCalls.push({
145
141
  id: part.toolCallId,
@@ -151,10 +147,6 @@ function convertToOpenAIChatMessages({
151
147
  });
152
148
  break;
153
149
  }
154
- default: {
155
- const _exhaustiveCheck = part;
156
- throw new Error(`Unsupported part: ${_exhaustiveCheck}`);
157
- }
158
150
  }
159
151
  }
160
152
  if (useLegacyFunctionCalling) {