agent
agent copied to clipboard
Version Packages
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@statelyai/[email protected]
Major Changes
-
#51
574b6fd
Thanks @davidkpiano! - -agent.generateText(…)
is removed in favor of using the AI SDK'sgenerateText(…)
function with a wrapped model.-
agent.streamText(…)
is removed in favor of using the AI SDK'sstreamText(…)
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.
- The
createAgentMiddleware(…)
function was introduced to facilitate agent message history. You can also useagent.wrap(model)
to wrap a model with Stately Agent middleware.
-