@ai-sdk/openai 3.0.44 → 3.0.45
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 +5 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -4
- 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 +4 -3
- package/dist/internal/index.js.map +1 -1
- package/dist/internal/index.mjs +4 -3
- package/dist/internal/index.mjs.map +1 -1
- package/docs/03-openai.mdx +3 -0
- package/package.json +1 -1
- package/src/chat/openai-chat-options.ts +1 -0
- package/src/openai-language-model-capabilities.ts +1 -0
- package/src/responses/openai-responses-options.ts +4 -2
package/docs/03-openai.mdx
CHANGED
|
@@ -2041,6 +2041,9 @@ The following optional provider options are available for OpenAI completion mode
|
|
|
2041
2041
|
|
|
2042
2042
|
| Model | Image Input | Audio Input | Object Generation | Tool Usage |
|
|
2043
2043
|
| --------------------- | ------------------- | ------------------- | ------------------- | ------------------- |
|
|
2044
|
+
| `gpt-5.4-pro` | <Check size={18} /> | <Cross size={18} /> | <Check size={18} /> | <Check size={18} /> |
|
|
2045
|
+
| `gpt-5.4` | <Check size={18} /> | <Cross size={18} /> | <Check size={18} /> | <Check size={18} /> |
|
|
2046
|
+
| `gpt-5.3-chat-latest` | <Check size={18} /> | <Cross size={18} /> | <Check size={18} /> | <Check size={18} /> |
|
|
2044
2047
|
| `gpt-5.2-pro` | <Check size={18} /> | <Cross size={18} /> | <Check size={18} /> | <Check size={18} /> |
|
|
2045
2048
|
| `gpt-5.2-chat-latest` | <Check size={18} /> | <Cross size={18} /> | <Check size={18} /> | <Check size={18} /> |
|
|
2046
2049
|
| `gpt-5.2` | <Check size={18} /> | <Cross size={18} /> | <Check size={18} /> | <Check size={18} /> |
|
package/package.json
CHANGED
|
@@ -40,6 +40,7 @@ export function getOpenAILanguageModelCapabilities(
|
|
|
40
40
|
const supportsNonReasoningParameters =
|
|
41
41
|
modelId.startsWith('gpt-5.1') ||
|
|
42
42
|
modelId.startsWith('gpt-5.2') ||
|
|
43
|
+
modelId.startsWith('gpt-5.3') ||
|
|
43
44
|
modelId.startsWith('gpt-5.4');
|
|
44
45
|
|
|
45
46
|
const systemMessageMode = isReasoningModel ? 'developer' : 'system';
|
|
@@ -37,11 +37,12 @@ export const openaiResponsesReasoningModelIds = [
|
|
|
37
37
|
'gpt-5.2-chat-latest',
|
|
38
38
|
'gpt-5.2-pro',
|
|
39
39
|
'gpt-5.2-codex',
|
|
40
|
+
'gpt-5.3-chat-latest',
|
|
41
|
+
'gpt-5.3-codex',
|
|
40
42
|
'gpt-5.4',
|
|
41
43
|
'gpt-5.4-2026-03-05',
|
|
42
44
|
'gpt-5.4-pro',
|
|
43
45
|
'gpt-5.4-pro-2026-03-05',
|
|
44
|
-
'gpt-5.3-codex',
|
|
45
46
|
] as const;
|
|
46
47
|
|
|
47
48
|
export const openaiResponsesModelIds = [
|
|
@@ -98,11 +99,12 @@ export type OpenAIResponsesModelId =
|
|
|
98
99
|
| 'gpt-5.2-pro'
|
|
99
100
|
| 'gpt-5.2-pro-2025-12-11'
|
|
100
101
|
| 'gpt-5.2-codex'
|
|
102
|
+
| 'gpt-5.3-chat-latest'
|
|
103
|
+
| 'gpt-5.3-codex'
|
|
101
104
|
| 'gpt-5.4'
|
|
102
105
|
| 'gpt-5.4-2026-03-05'
|
|
103
106
|
| 'gpt-5.4-pro'
|
|
104
107
|
| 'gpt-5.4-pro-2026-03-05'
|
|
105
|
-
| 'gpt-5.3-codex'
|
|
106
108
|
| 'gpt-5-2025-08-07'
|
|
107
109
|
| 'gpt-5-chat-latest'
|
|
108
110
|
| 'gpt-5-codex'
|