@ai-sdk/openai 2.0.98 → 2.0.99
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/CHANGELOG.md +6 -0
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -2
- package/dist/index.mjs.map +1 -1
- package/dist/internal/index.d.mts +2 -2
- package/dist/internal/index.d.ts +2 -2
- package/dist/internal/index.js +2 -1
- package/dist/internal/index.js.map +1 -1
- package/dist/internal/index.mjs +2 -1
- package/dist/internal/index.mjs.map +1 -1
- package/package.json +1 -1
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") || modelId.startsWith("gpt-5.4");
|
|
47
|
+
const supportsNonReasoningParameters = modelId.startsWith("gpt-5.1") || modelId.startsWith("gpt-5.2") || modelId.startsWith("gpt-5.3") || modelId.startsWith("gpt-5.4");
|
|
48
48
|
const systemMessageMode = isReasoningModel ? "developer" : "system";
|
|
49
49
|
return {
|
|
50
50
|
supportsFlexProcessing,
|
|
@@ -3003,6 +3003,7 @@ 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-chat-latest",
|
|
3006
3007
|
"gpt-5.3-codex",
|
|
3007
3008
|
"gpt-5.4",
|
|
3008
3009
|
"gpt-5.4-2026-03-05",
|
|
@@ -4715,7 +4716,7 @@ var OpenAITranscriptionModel = class {
|
|
|
4715
4716
|
};
|
|
4716
4717
|
|
|
4717
4718
|
// src/version.ts
|
|
4718
|
-
var VERSION = true ? "2.0.
|
|
4719
|
+
var VERSION = true ? "2.0.99" : "0.0.0-test";
|
|
4719
4720
|
|
|
4720
4721
|
// src/openai-provider.ts
|
|
4721
4722
|
function createOpenAI(options = {}) {
|