From 0e1e34d32d16b62553a081f316e0354db0c3a8f3 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sun, 6 Oct 2024 15:36:24 +0000 Subject: [PATCH] Version Packages --- .changeset/light-hats-drive.md | 9 --------- CHANGELOG.md | 10 ++++++++++ package.json | 2 +- 3 files changed, 11 insertions(+), 10 deletions(-) delete mode 100644 .changeset/light-hats-drive.md diff --git a/.changeset/light-hats-drive.md b/.changeset/light-hats-drive.md deleted file mode 100644 index e10de99..0000000 --- a/.changeset/light-hats-drive.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -'@statelyai/agent': major ---- - -- `agent.generateText(…)` is removed in favor of using the AI SDK's `generateText(…)` function with a wrapped model. -- `agent.streamText(…)` is removed in favor of using the AI SDK's `streamText(…)` function with a wrapped model. -- Custom adapters are removed for now, but may be re-added in future releases. Using the AI SDK is recommended for now. -- Correlation IDs are removed in favor of using [OpenTelemetry with the AI SDK](https://sdk.vercel.ai/docs/ai-sdk-core/telemetry#telemetry). -- The `createAgentMiddleware(…)` function was introduced to facilitate agent message history. You can also use `agent.wrap(model)` to wrap a model with Stately Agent middleware. diff --git a/CHANGELOG.md b/CHANGELOG.md index e9b35e2..fd4893c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # @statelyai/agent +## 2.0.0 + +### Major Changes + +- [#51](https://github.com/statelyai/agent/pull/51) [`574b6fd`](https://github.com/statelyai/agent/commit/574b6fd62e8a41df311aa1ea00fae60c32ad595e) Thanks [@davidkpiano](https://github.com/davidkpiano)! - - `agent.generateText(…)` is removed in favor of using the AI SDK's `generateText(…)` function with a wrapped model. + - `agent.streamText(…)` is removed in favor of using the AI SDK's `streamText(…)` function with a wrapped model. + - Custom adapters are removed for now, but may be re-added in future releases. Using the AI SDK is recommended for now. + - Correlation IDs are removed in favor of using [OpenTelemetry with the AI SDK](https://sdk.vercel.ai/docs/ai-sdk-core/telemetry#telemetry). + - The `createAgentMiddleware(…)` function was introduced to facilitate agent message history. You can also use `agent.wrap(model)` to wrap a model with Stately Agent middleware. + ## 1.1.6 ### Patch Changes diff --git a/package.json b/package.json index 019cbb9..a89439a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@statelyai/agent", - "version": "1.1.6", + "version": "2.0.0", "description": "Stateful agents that make decisions based on finite-state machine models", "main": "dist/index.js", "module": "dist/index.mjs",