@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.
@@ -117,10 +117,6 @@ function convertToOpenAIChatMessages({
117
117
  text += part.text;
118
118
  break;
119
119
  }
120
- case "redacted-reasoning":
121
- case "reasoning": {
122
- break;
123
- }
124
120
  case "tool-call": {
125
121
  toolCalls.push({
126
122
  id: part.toolCallId,
@@ -132,10 +128,6 @@ function convertToOpenAIChatMessages({
132
128
  });
133
129
  break;
134
130
  }
135
- default: {
136
- const _exhaustiveCheck = part;
137
- throw new Error(`Unsupported part: ${_exhaustiveCheck}`);
138
- }
139
131
  }
140
132
  }
141
133
  if (useLegacyFunctionCalling) {