@ai-sdk/openai 4.0.0-beta.15 → 4.0.0-beta.16

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-sdk/openai",
3
- "version": "4.0.0-beta.15",
3
+ "version": "4.0.0-beta.16",
4
4
  "license": "Apache-2.0",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/index.js",
@@ -36,8 +36,8 @@
36
36
  }
37
37
  },
38
38
  "dependencies": {
39
- "@ai-sdk/provider": "4.0.0-beta.4",
40
- "@ai-sdk/provider-utils": "5.0.0-beta.6"
39
+ "@ai-sdk/provider": "4.0.0-beta.5",
40
+ "@ai-sdk/provider-utils": "5.0.0-beta.7"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@types/node": "20.17.24",
@@ -546,7 +546,7 @@ export async function convertToOpenAIResponsesInput({
546
546
  }
547
547
 
548
548
  case 'custom': {
549
- if (part.kind === 'openai-compaction') {
549
+ if (part.kind === 'openai.compaction') {
550
550
  const providerOpts =
551
551
  part.providerOptions?.[providerOptionsName];
552
552
  const id = providerOpts?.itemId as string | undefined;
@@ -996,7 +996,7 @@ export class OpenAIResponsesLanguageModel implements LanguageModelV4 {
996
996
  case 'compaction': {
997
997
  content.push({
998
998
  type: 'custom',
999
- kind: 'openai-compaction',
999
+ kind: 'openai.compaction',
1000
1000
  providerMetadata: {
1001
1001
  [providerOptionsName]: {
1002
1002
  type: 'compaction',
@@ -1815,7 +1815,7 @@ export class OpenAIResponsesLanguageModel implements LanguageModelV4 {
1815
1815
  } else if (value.item.type === 'compaction') {
1816
1816
  controller.enqueue({
1817
1817
  type: 'custom',
1818
- kind: 'openai-compaction',
1818
+ kind: 'openai.compaction',
1819
1819
  providerMetadata: {
1820
1820
  [providerOptionsName]: {
1821
1821
  type: 'compaction',