@ai-sdk/openai 3.0.120 → 3.0.122

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.
@@ -206,9 +206,9 @@ The following provider options are available:
206
206
  Reasoning effort for reasoning models. Defaults to `medium`. If you use `providerOptions` to set the `reasoningEffort` option, this model setting will be ignored.
207
207
 
208
208
  <Note>
209
- Supported reasoning efforts vary by model. GPT-5.6 and GPT-6 support `'none'`,
210
- `'low'`, `'medium'`, `'high'`, `'xhigh'`, and `'max'`. GPT-6 Astra does not
211
- support `'none'`.
209
+ Supported reasoning efforts vary by model. GPT-5.6, GPT-6 Sol, and GPT-6 Luna
210
+ support `'none'`, `'low'`, `'medium'`, `'high'`, `'xhigh'`, and `'max'`. GPT-6
211
+ Astra and GPT-6.1 Sol do not support `'none'`.
212
212
  </Note>
213
213
 
214
214
  <Note>
@@ -2559,6 +2559,7 @@ The following optional provider options are available for OpenAI completion mode
2559
2559
  | Model | Image Input | Audio Input | Object Generation | Tool Usage |
2560
2560
  | --------------------- | ------------------- | ------------------- | ------------------- | ------------------- |
2561
2561
  | `gpt-6-astra` | <Check size={18} /> | <Cross size={18} /> | <Check size={18} /> | <Check size={18} /> |
2562
+ | `gpt-6.1-sol` | <Check size={18} /> | <Cross size={18} /> | <Check size={18} /> | <Check size={18} /> |
2562
2563
  | `gpt-6-luna` | <Check size={18} /> | <Cross size={18} /> | <Check size={18} /> | <Check size={18} /> |
2563
2564
  | `gpt-6-sol` | <Check size={18} /> | <Cross size={18} /> | <Check size={18} /> | <Check size={18} /> |
2564
2565
  | `gpt-5.6` | <Check size={18} /> | <Cross size={18} /> | <Check size={18} /> | <Check size={18} /> |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-sdk/openai",
3
- "version": "3.0.120",
3
+ "version": "3.0.122",
4
4
  "license": "Apache-2.0",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/index.js",
@@ -37,7 +37,7 @@
37
37
  },
38
38
  "dependencies": {
39
39
  "@ai-sdk/provider": "3.0.18",
40
- "@ai-sdk/provider-utils": "4.0.56"
40
+ "@ai-sdk/provider-utils": "4.0.57"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@types/node": "20.17.24",
@@ -71,6 +71,7 @@ export type OpenAIChatModelId =
71
71
  | 'gpt-5.6-sol'
72
72
  | 'gpt-5.6-terra'
73
73
  | 'gpt-6-astra'
74
+ | 'gpt-6.1-sol'
74
75
  | 'gpt-6-luna'
75
76
  | 'gpt-6-sol'
76
77
  | (string & {});
@@ -58,6 +58,7 @@ export const openaiResponsesReasoningModelIds = [
58
58
  'gpt-5.6-sol',
59
59
  'gpt-5.6-terra',
60
60
  'gpt-6-astra',
61
+ 'gpt-6.1-sol',
61
62
  'gpt-6-luna',
62
63
  'gpt-6-sol',
63
64
  ] as const;
@@ -133,6 +134,7 @@ export type OpenAIResponsesModelId =
133
134
  | 'gpt-5.6-sol'
134
135
  | 'gpt-5.6-terra'
135
136
  | 'gpt-6-astra'
137
+ | 'gpt-6.1-sol'
136
138
  | 'gpt-6-luna'
137
139
  | 'gpt-6-sol'
138
140
  | 'gpt-5-2025-08-07'