diff --git a/.changeset/ten-waves-change.md b/.changeset/ten-waves-change.md deleted file mode 100644 index b76b7589d488..000000000000 --- a/.changeset/ten-waves-change.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@ai-sdk/openai': patch ---- - -fix (provider/openai): fix reasoning model detection diff --git a/examples/ai-core/package.json b/examples/ai-core/package.json index daf640b66271..17815ef9dcde 100644 --- a/examples/ai-core/package.json +++ b/examples/ai-core/package.json @@ -5,14 +5,14 @@ "dependencies": { "@ai-sdk/amazon-bedrock": "1.0.5", "@ai-sdk/anthropic": "1.0.5", - "@ai-sdk/azure": "1.0.11", + "@ai-sdk/azure": "1.0.12", "@ai-sdk/cohere": "1.0.5", "@ai-sdk/fireworks": "0.0.2", "@ai-sdk/google": "1.0.11", "@ai-sdk/google-vertex": "2.0.10", "@ai-sdk/groq": "1.0.8", "@ai-sdk/mistral": "1.0.5", - "@ai-sdk/openai": "1.0.9", + "@ai-sdk/openai": "1.0.10", "@ai-sdk/openai-compatible": "0.0.8", "@ai-sdk/provider": "1.0.2", "@ai-sdk/togetherai": "0.0.9", diff --git a/examples/express/package.json b/examples/express/package.json index 2325da2a6ee5..4451ec97a22f 100644 --- a/examples/express/package.json +++ b/examples/express/package.json @@ -7,7 +7,7 @@ "type-check": "tsc --noEmit" }, "dependencies": { - "@ai-sdk/openai": "1.0.9", + "@ai-sdk/openai": "1.0.10", "ai": "4.0.20", "dotenv": "16.4.5", "express": "5.0.1" diff --git a/examples/fastify/package.json b/examples/fastify/package.json index 992c3130e202..79ae74afc924 100644 --- a/examples/fastify/package.json +++ b/examples/fastify/package.json @@ -3,7 +3,7 @@ "version": "0.0.0", "private": true, "dependencies": { - "@ai-sdk/openai": "1.0.9", + "@ai-sdk/openai": "1.0.10", "ai": "4.0.20", "dotenv": "16.4.5", "fastify": "5.1.0" diff --git a/examples/hono/package.json b/examples/hono/package.json index d984f1f45edb..f2fe896425b6 100644 --- a/examples/hono/package.json +++ b/examples/hono/package.json @@ -3,7 +3,7 @@ "version": "0.0.0", "private": true, "dependencies": { - "@ai-sdk/openai": "1.0.9", + "@ai-sdk/openai": "1.0.10", "@hono/node-server": "1.13.7", "ai": "4.0.20", "dotenv": "16.4.5", diff --git a/examples/nest/package.json b/examples/nest/package.json index 80a3455f1a1e..d1223c5d0833 100644 --- a/examples/nest/package.json +++ b/examples/nest/package.json @@ -15,7 +15,7 @@ "lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix" }, "dependencies": { - "@ai-sdk/openai": "1.0.9", + "@ai-sdk/openai": "1.0.10", "@nestjs/common": "^10.4.15", "@nestjs/core": "^10.0.0", "@nestjs/platform-express": "^10.4.9", diff --git a/examples/next-openai-kasada-bot-protection/package.json b/examples/next-openai-kasada-bot-protection/package.json index fcaf979f6d62..1fe6b6e0081e 100644 --- a/examples/next-openai-kasada-bot-protection/package.json +++ b/examples/next-openai-kasada-bot-protection/package.json @@ -9,7 +9,7 @@ "lint": "next lint" }, "dependencies": { - "@ai-sdk/openai": "1.0.9", + "@ai-sdk/openai": "1.0.10", "@vercel/functions": "latest", "ai": "4.0.20", "next": "latest", diff --git a/examples/next-openai-pages/package.json b/examples/next-openai-pages/package.json index c8c3b6d37a27..e05e0f923ad6 100644 --- a/examples/next-openai-pages/package.json +++ b/examples/next-openai-pages/package.json @@ -9,7 +9,7 @@ "lint": "next lint" }, "dependencies": { - "@ai-sdk/openai": "1.0.9", + "@ai-sdk/openai": "1.0.10", "@ai-sdk/react": "1.0.6", "ai": "4.0.20", "next": "latest", diff --git a/examples/next-openai-telemetry-sentry/package.json b/examples/next-openai-telemetry-sentry/package.json index 621fb36cd01b..42a7992c9ea6 100644 --- a/examples/next-openai-telemetry-sentry/package.json +++ b/examples/next-openai-telemetry-sentry/package.json @@ -9,7 +9,7 @@ "lint": "next lint" }, "dependencies": { - "@ai-sdk/openai": "1.0.9", + "@ai-sdk/openai": "1.0.10", "@ai-sdk/react": "1.0.6", "@opentelemetry/api-logs": "0.55.0", "@opentelemetry/instrumentation": "0.52.1", diff --git a/examples/next-openai-telemetry/package.json b/examples/next-openai-telemetry/package.json index 08a25fe3f10e..85a3682f82de 100644 --- a/examples/next-openai-telemetry/package.json +++ b/examples/next-openai-telemetry/package.json @@ -9,7 +9,7 @@ "lint": "next lint" }, "dependencies": { - "@ai-sdk/openai": "1.0.9", + "@ai-sdk/openai": "1.0.10", "@ai-sdk/react": "1.0.6", "@opentelemetry/api-logs": "0.55.0", "@opentelemetry/sdk-logs": "0.55.0", diff --git a/examples/next-openai-upstash-rate-limits/package.json b/examples/next-openai-upstash-rate-limits/package.json index bff255de374e..a750bd53aac5 100644 --- a/examples/next-openai-upstash-rate-limits/package.json +++ b/examples/next-openai-upstash-rate-limits/package.json @@ -9,7 +9,7 @@ "lint": "next lint" }, "dependencies": { - "@ai-sdk/openai": "1.0.9", + "@ai-sdk/openai": "1.0.10", "@upstash/ratelimit": "^0.4.3", "@vercel/kv": "^0.2.2", "ai": "4.0.20", diff --git a/examples/next-openai/package.json b/examples/next-openai/package.json index 11e8069d40b8..4ca8b72ad10c 100644 --- a/examples/next-openai/package.json +++ b/examples/next-openai/package.json @@ -9,7 +9,7 @@ "lint": "next lint" }, "dependencies": { - "@ai-sdk/openai": "1.0.9", + "@ai-sdk/openai": "1.0.10", "@ai-sdk/ui-utils": "1.0.5", "@ai-sdk/react": "1.0.6", "@vercel/blob": "^0.26.0", diff --git a/examples/node-http-server/package.json b/examples/node-http-server/package.json index 0a9414494630..5aacc57851a0 100644 --- a/examples/node-http-server/package.json +++ b/examples/node-http-server/package.json @@ -3,7 +3,7 @@ "version": "0.0.0", "private": true, "dependencies": { - "@ai-sdk/openai": "1.0.9", + "@ai-sdk/openai": "1.0.10", "ai": "4.0.20", "dotenv": "16.4.5", "zod": "3.23.8", diff --git a/examples/nuxt-openai/package.json b/examples/nuxt-openai/package.json index 1355237bd634..d68378a51e5e 100644 --- a/examples/nuxt-openai/package.json +++ b/examples/nuxt-openai/package.json @@ -10,7 +10,7 @@ }, "dependencies": { "@ai-sdk/vue": "1.0.6", - "@ai-sdk/openai": "1.0.9", + "@ai-sdk/openai": "1.0.10", "ai": "4.0.20", "zod": "3.23.8" }, diff --git a/examples/solidstart-openai/package.json b/examples/solidstart-openai/package.json index 489ab9815e7a..3fb7c16e5453 100644 --- a/examples/solidstart-openai/package.json +++ b/examples/solidstart-openai/package.json @@ -14,7 +14,7 @@ "vinxi": "^0.4.3" }, "dependencies": { - "@ai-sdk/openai": "1.0.9", + "@ai-sdk/openai": "1.0.10", "@ai-sdk/solid": "1.0.6", "@solidjs/meta": "0.29.4", "@solidjs/router": "^0.15.1", diff --git a/examples/sveltekit-openai/package.json b/examples/sveltekit-openai/package.json index e04627475e4a..fa8fe7abb26d 100644 --- a/examples/sveltekit-openai/package.json +++ b/examples/sveltekit-openai/package.json @@ -10,7 +10,7 @@ "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch" }, "dependencies": { - "@ai-sdk/openai": "1.0.9", + "@ai-sdk/openai": "1.0.10", "@ai-sdk/svelte": "1.0.6", "ai": "4.0.20", "openai": "4.52.6", diff --git a/examples/swarm/package.json b/examples/swarm/package.json index bc996b46839b..1e59460ac108 100644 --- a/examples/swarm/package.json +++ b/examples/swarm/package.json @@ -8,7 +8,7 @@ "@ai-sdk/google-vertex": "2.0.10", "@ai-sdk/groq": "1.0.8", "@ai-sdk/mistral": "1.0.5", - "@ai-sdk/openai": "1.0.9", + "@ai-sdk/openai": "1.0.10", "@ai-sdk/swarm": "0.0.29", "ai": "4.0.20", "dotenv": "16.4.5", diff --git a/packages/azure/CHANGELOG.md b/packages/azure/CHANGELOG.md index dcdd85101cc6..ccd9c7d38953 100644 --- a/packages/azure/CHANGELOG.md +++ b/packages/azure/CHANGELOG.md @@ -1,5 +1,12 @@ # @ai-sdk/azure +## 1.0.12 + +### Patch Changes + +- Updated dependencies [d4fad4e] + - @ai-sdk/openai@1.0.10 + ## 1.0.11 ### Patch Changes diff --git a/packages/azure/package.json b/packages/azure/package.json index 6278ada68789..0f25c9c5d683 100644 --- a/packages/azure/package.json +++ b/packages/azure/package.json @@ -1,6 +1,6 @@ { "name": "@ai-sdk/azure", - "version": "1.0.11", + "version": "1.0.12", "license": "Apache-2.0", "sideEffects": false, "main": "./dist/index.js", @@ -30,7 +30,7 @@ } }, "dependencies": { - "@ai-sdk/openai": "1.0.9", + "@ai-sdk/openai": "1.0.10", "@ai-sdk/provider": "1.0.2", "@ai-sdk/provider-utils": "2.0.4" }, diff --git a/packages/openai/CHANGELOG.md b/packages/openai/CHANGELOG.md index 792d7d7fd24c..0ecbc7398d5f 100644 --- a/packages/openai/CHANGELOG.md +++ b/packages/openai/CHANGELOG.md @@ -1,5 +1,11 @@ # @ai-sdk/openai +## 1.0.10 + +### Patch Changes + +- d4fad4e: fix (provider/openai): fix reasoning model detection + ## 1.0.9 ### Patch Changes diff --git a/packages/openai/package.json b/packages/openai/package.json index ae4571f71d6b..741549891b5c 100644 --- a/packages/openai/package.json +++ b/packages/openai/package.json @@ -1,6 +1,6 @@ { "name": "@ai-sdk/openai", - "version": "1.0.9", + "version": "1.0.10", "license": "Apache-2.0", "sideEffects": false, "main": "./dist/index.js", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6d861c00de07..2fa6de04a6d3 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -63,7 +63,7 @@ importers: specifier: 1.0.5 version: link:../../packages/anthropic '@ai-sdk/azure': - specifier: 1.0.11 + specifier: 1.0.12 version: link:../../packages/azure '@ai-sdk/cohere': specifier: 1.0.5 @@ -84,7 +84,7 @@ importers: specifier: 1.0.5 version: link:../../packages/mistral '@ai-sdk/openai': - specifier: 1.0.9 + specifier: 1.0.10 version: link:../../packages/openai '@ai-sdk/openai-compatible': specifier: 0.0.8 @@ -139,7 +139,7 @@ importers: examples/express: dependencies: '@ai-sdk/openai': - specifier: 1.0.9 + specifier: 1.0.10 version: link:../../packages/openai ai: specifier: 4.0.20 @@ -167,7 +167,7 @@ importers: examples/fastify: dependencies: '@ai-sdk/openai': - specifier: 1.0.9 + specifier: 1.0.10 version: link:../../packages/openai ai: specifier: 4.0.20 @@ -192,7 +192,7 @@ importers: examples/hono: dependencies: '@ai-sdk/openai': - specifier: 1.0.9 + specifier: 1.0.10 version: link:../../packages/openai '@hono/node-server': specifier: 1.13.7 @@ -220,7 +220,7 @@ importers: examples/nest: dependencies: '@ai-sdk/openai': - specifier: 1.0.9 + specifier: 1.0.10 version: link:../../packages/openai '@nestjs/common': specifier: ^10.4.15 @@ -461,7 +461,7 @@ importers: examples/next-openai: dependencies: '@ai-sdk/openai': - specifier: 1.0.9 + specifier: 1.0.10 version: link:../../packages/openai '@ai-sdk/react': specifier: 1.0.6 @@ -525,7 +525,7 @@ importers: examples/next-openai-kasada-bot-protection: dependencies: '@ai-sdk/openai': - specifier: 1.0.9 + specifier: 1.0.10 version: link:../../packages/openai '@vercel/functions': specifier: latest @@ -577,7 +577,7 @@ importers: examples/next-openai-pages: dependencies: '@ai-sdk/openai': - specifier: 1.0.9 + specifier: 1.0.10 version: link:../../packages/openai '@ai-sdk/react': specifier: 1.0.6 @@ -632,7 +632,7 @@ importers: examples/next-openai-telemetry: dependencies: '@ai-sdk/openai': - specifier: 1.0.9 + specifier: 1.0.10 version: link:../../packages/openai '@ai-sdk/react': specifier: 1.0.6 @@ -699,7 +699,7 @@ importers: examples/next-openai-telemetry-sentry: dependencies: '@ai-sdk/openai': - specifier: 1.0.9 + specifier: 1.0.10 version: link:../../packages/openai '@ai-sdk/react': specifier: 1.0.6 @@ -772,7 +772,7 @@ importers: examples/next-openai-upstash-rate-limits: dependencies: '@ai-sdk/openai': - specifier: 1.0.9 + specifier: 1.0.10 version: link:../../packages/openai '@upstash/ratelimit': specifier: ^0.4.3 @@ -827,7 +827,7 @@ importers: examples/node-http-server: dependencies: '@ai-sdk/openai': - specifier: 1.0.9 + specifier: 1.0.10 version: link:../../packages/openai ai: specifier: 4.0.20 @@ -855,7 +855,7 @@ importers: examples/nuxt-openai: dependencies: '@ai-sdk/openai': - specifier: 1.0.9 + specifier: 1.0.10 version: link:../../packages/openai '@ai-sdk/vue': specifier: 1.0.6 @@ -910,7 +910,7 @@ importers: examples/solidstart-openai: dependencies: '@ai-sdk/openai': - specifier: 1.0.9 + specifier: 1.0.10 version: link:../../packages/openai '@ai-sdk/solid': specifier: 1.0.6 @@ -950,7 +950,7 @@ importers: examples/sveltekit-openai: dependencies: '@ai-sdk/openai': - specifier: 1.0.9 + specifier: 1.0.10 version: link:../../packages/openai '@ai-sdk/svelte': specifier: 1.0.6 @@ -1017,7 +1017,7 @@ importers: specifier: 1.0.5 version: link:../../packages/mistral '@ai-sdk/openai': - specifier: 1.0.9 + specifier: 1.0.10 version: link:../../packages/openai '@ai-sdk/swarm': specifier: 0.0.29 @@ -1192,7 +1192,7 @@ importers: packages/azure: dependencies: '@ai-sdk/openai': - specifier: 1.0.9 + specifier: 1.0.10 version: link:../openai '@ai-sdk/provider': specifier: 1.0.2