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/agent@2.0.0
Major Changes
#51574b6fd Thanks @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.
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.
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/agent@2.0.0
Major Changes
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.createAgentMiddleware(…)
function was introduced to facilitate agent message history. You can also useagent.wrap(model)
to wrap a model with Stately Agent middleware.