From b0d4cf3f3e2bdce84abfa9e51d13a9c864952724 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 2 Jan 2024 13:51:52 -0800 Subject: [PATCH] Version Packages (#893) Co-authored-by: github-actions[bot] --- .changeset/slow-scissors-attend.md | 5 ---- .changeset/slow-students-roll.md | 5 ---- examples/next-anthropic/package.json | 2 +- examples/next-aws-bedrock/package.json | 2 +- examples/next-fireworks/package.json | 2 +- .../next-google-generative-ai/package.json | 2 +- examples/next-huggingface/package.json | 2 +- examples/next-langchain/package.json | 2 +- examples/next-mistral/package.json | 2 +- examples/next-openai-pages/package.json | 2 +- examples/next-openai-rate-limits/package.json | 2 +- examples/next-openai/package.json | 2 +- examples/nuxt-openai/package.json | 2 +- examples/solidstart-openai/package.json | 2 +- examples/sveltekit-openai/package.json | 2 +- packages/core/CHANGELOG.md | 7 +++++ packages/core/package.json | 2 +- pnpm-lock.yaml | 26 +++++++++---------- 18 files changed, 34 insertions(+), 37 deletions(-) delete mode 100644 .changeset/slow-scissors-attend.md delete mode 100644 .changeset/slow-students-roll.md diff --git a/.changeset/slow-scissors-attend.md b/.changeset/slow-scissors-attend.md deleted file mode 100644 index cb604fcfc68f..000000000000 --- a/.changeset/slow-scissors-attend.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'ai': patch ---- - -react/use-assistant: Expose setInput diff --git a/.changeset/slow-students-roll.md b/.changeset/slow-students-roll.md deleted file mode 100644 index 6a699f42c5fa..000000000000 --- a/.changeset/slow-students-roll.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'ai': patch ---- - -ai/react: Add experimental_onToolCall to useChat. diff --git a/examples/next-anthropic/package.json b/examples/next-anthropic/package.json index 4427d5f678db..497f1495c025 100644 --- a/examples/next-anthropic/package.json +++ b/examples/next-anthropic/package.json @@ -10,7 +10,7 @@ }, "dependencies": { "@anthropic-ai/sdk": "0.12.0", - "ai": "2.2.30", + "ai": "2.2.31", "next": "14.0.3", "react": "18.2.0", "react-dom": "^18.2.0" diff --git a/examples/next-aws-bedrock/package.json b/examples/next-aws-bedrock/package.json index ba8c207062aa..6ae97c3de4e9 100644 --- a/examples/next-aws-bedrock/package.json +++ b/examples/next-aws-bedrock/package.json @@ -10,7 +10,7 @@ }, "dependencies": { "@aws-sdk/client-bedrock-runtime": "3.451.0", - "ai": "2.2.30", + "ai": "2.2.31", "next": "14.0.3", "react": "18.2.0", "react-dom": "^18.2.0" diff --git a/examples/next-fireworks/package.json b/examples/next-fireworks/package.json index 5a1fc3342bb8..91acc06e040c 100644 --- a/examples/next-fireworks/package.json +++ b/examples/next-fireworks/package.json @@ -9,7 +9,7 @@ "lint": "next lint" }, "dependencies": { - "ai": "2.2.30", + "ai": "2.2.31", "next": "14.0.3", "openai": "4.16.1", "react": "18.2.0", diff --git a/examples/next-google-generative-ai/package.json b/examples/next-google-generative-ai/package.json index ea1c1e5d08d4..2b492ebd7316 100644 --- a/examples/next-google-generative-ai/package.json +++ b/examples/next-google-generative-ai/package.json @@ -10,7 +10,7 @@ }, "dependencies": { "@google/generative-ai": "0.1.1", - "ai": "2.2.30", + "ai": "2.2.31", "next": "14.0.3", "react": "18.2.0", "react-dom": "^18.2.0" diff --git a/examples/next-huggingface/package.json b/examples/next-huggingface/package.json index c19e343425a6..ad6cbd8e6579 100644 --- a/examples/next-huggingface/package.json +++ b/examples/next-huggingface/package.json @@ -11,7 +11,7 @@ "dependencies": { "@huggingface/inference": "^2.5.1", "next": "14.0.3", - "ai": "2.2.30", + "ai": "2.2.31", "react": "18.2.0", "react-dom": "^18.2.0" }, diff --git a/examples/next-langchain/package.json b/examples/next-langchain/package.json index 340184ee580c..332e3114bb8a 100644 --- a/examples/next-langchain/package.json +++ b/examples/next-langchain/package.json @@ -9,7 +9,7 @@ "lint": "next lint" }, "dependencies": { - "ai": "2.2.30", + "ai": "2.2.31", "langchain": "^0.0.196", "next": "14.0.3", "react": "18.2.0", diff --git a/examples/next-mistral/package.json b/examples/next-mistral/package.json index a357be6a19a2..c52f4613b5d1 100644 --- a/examples/next-mistral/package.json +++ b/examples/next-mistral/package.json @@ -9,7 +9,7 @@ "lint": "next lint" }, "dependencies": { - "ai": "2.2.30", + "ai": "2.2.31", "next": "14.0.3", "@mistralai/mistralai": "0.0.7", "react": "18.2.0", diff --git a/examples/next-openai-pages/package.json b/examples/next-openai-pages/package.json index 3a86381fae6b..f78d81fc98d8 100644 --- a/examples/next-openai-pages/package.json +++ b/examples/next-openai-pages/package.json @@ -9,7 +9,7 @@ "lint": "next lint" }, "dependencies": { - "ai": "2.2.30", + "ai": "2.2.31", "next": "14.0.3", "openai": "4.16.1", "react": "18.2.0", diff --git a/examples/next-openai-rate-limits/package.json b/examples/next-openai-rate-limits/package.json index 94648a0ccddc..d93aed712f3c 100644 --- a/examples/next-openai-rate-limits/package.json +++ b/examples/next-openai-rate-limits/package.json @@ -11,7 +11,7 @@ "dependencies": { "@upstash/ratelimit": "^0.4.3", "@vercel/kv": "^0.2.2", - "ai": "2.2.30", + "ai": "2.2.31", "next": "14.0.3", "openai": "4.16.1", "react": "18.2.0", diff --git a/examples/next-openai/package.json b/examples/next-openai/package.json index fc32dee29b32..9633a0b67957 100644 --- a/examples/next-openai/package.json +++ b/examples/next-openai/package.json @@ -9,7 +9,7 @@ "lint": "next lint" }, "dependencies": { - "ai": "2.2.30", + "ai": "2.2.31", "next": "14.0.3", "openai": "4.16.1", "react": "18.2.0", diff --git a/examples/nuxt-openai/package.json b/examples/nuxt-openai/package.json index ee18f7667a61..06f4b4ce5d9b 100644 --- a/examples/nuxt-openai/package.json +++ b/examples/nuxt-openai/package.json @@ -17,7 +17,7 @@ "@vue/runtime-core": "^3.3.4", "@vue/runtime-dom": "^3.3.4", "@vue/shared": "^3.3.4", - "ai": "2.2.30", + "ai": "2.2.31", "nuxt": "^3.6.5", "openai": "4.16.1", "tailwindcss": "^3.3.3", diff --git a/examples/solidstart-openai/package.json b/examples/solidstart-openai/package.json index b8f7c5b13e7e..9dc3a6141619 100644 --- a/examples/solidstart-openai/package.json +++ b/examples/solidstart-openai/package.json @@ -18,7 +18,7 @@ "dependencies": { "@solidjs/meta": "0.29.3", "@solidjs/router": "0.8.2", - "ai": "2.2.30", + "ai": "2.2.31", "openai": "4.16.1", "solid-js": "1.8.7", "solid-start": "0.3.10", diff --git a/examples/sveltekit-openai/package.json b/examples/sveltekit-openai/package.json index a6ca534b38d5..dcaff2778447 100644 --- a/examples/sveltekit-openai/package.json +++ b/examples/sveltekit-openai/package.json @@ -11,7 +11,7 @@ }, "dependencies": { "openai": "4.16.1", - "ai": "2.2.30" + "ai": "2.2.31" }, "devDependencies": { "@fontsource/fira-mono": "^4.5.10", diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index 455cc711d23e..349ea98430b4 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,12 @@ # ai +## 2.2.31 + +### Patch Changes + +- 9b89c4d: react/use-assistant: Expose setInput +- 75751c9: ai/react: Add experimental_onToolCall to useChat. + ## 2.2.30 ### Patch Changes diff --git a/packages/core/package.json b/packages/core/package.json index aac6f72d0748..fff4e6c959d7 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "ai", - "version": "2.2.30", + "version": "2.2.31", "license": "Apache-2.0", "sideEffects": false, "main": "./dist/index.js", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 14d0598b97d0..9e7c8aa5edc9 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -42,7 +42,7 @@ importers: specifier: 0.12.0 version: 0.12.0 ai: - specifier: 2.2.30 + specifier: 2.2.31 version: link:../../packages/core next: specifier: 14.0.3 @@ -88,7 +88,7 @@ importers: specifier: 3.451.0 version: 3.451.0 ai: - specifier: 2.2.30 + specifier: 2.2.31 version: link:../../packages/core next: specifier: 14.0.3 @@ -174,7 +174,7 @@ importers: examples/next-fireworks: dependencies: ai: - specifier: 2.2.30 + specifier: 2.2.31 version: link:../../packages/core next: specifier: 14.0.3 @@ -223,7 +223,7 @@ importers: specifier: 0.1.1 version: 0.1.1 ai: - specifier: 2.2.30 + specifier: 2.2.31 version: link:../../packages/core next: specifier: 14.0.3 @@ -269,7 +269,7 @@ importers: specifier: ^2.5.1 version: 2.6.4 ai: - specifier: 2.2.30 + specifier: 2.2.31 version: link:../../packages/core next: specifier: 14.0.3 @@ -312,7 +312,7 @@ importers: examples/next-langchain: dependencies: ai: - specifier: 2.2.30 + specifier: 2.2.31 version: link:../../packages/core langchain: specifier: ^0.0.196 @@ -361,7 +361,7 @@ importers: specifier: 0.0.7 version: 0.0.7 ai: - specifier: 2.2.30 + specifier: 2.2.31 version: link:../../packages/core next: specifier: 14.0.3 @@ -404,7 +404,7 @@ importers: examples/next-openai: dependencies: ai: - specifier: 2.2.30 + specifier: 2.2.31 version: link:../../packages/core next: specifier: 14.0.3 @@ -450,7 +450,7 @@ importers: examples/next-openai-pages: dependencies: ai: - specifier: 2.2.30 + specifier: 2.2.31 version: link:../../packages/core next: specifier: 14.0.3 @@ -502,7 +502,7 @@ importers: specifier: ^0.2.2 version: 0.2.4 ai: - specifier: 2.2.30 + specifier: 2.2.31 version: link:../../packages/core next: specifier: 14.0.3 @@ -676,7 +676,7 @@ importers: specifier: ^3.3.4 version: 3.3.8 ai: - specifier: 2.2.30 + specifier: 2.2.31 version: link:../../packages/core nuxt: specifier: ^3.6.5 @@ -709,7 +709,7 @@ importers: specifier: 0.8.2 version: 0.8.2(solid-js@1.8.7) ai: - specifier: 2.2.30 + specifier: 2.2.31 version: link:../../packages/core openai: specifier: 4.16.1 @@ -746,7 +746,7 @@ importers: examples/sveltekit-openai: dependencies: ai: - specifier: 2.2.30 + specifier: 2.2.31 version: link:../../packages/core openai: specifier: 4.16.1