docs: Remove danger on how to migrate to astream events v2 (#24825)

Users should migrate to v2 now
This commit is contained in:
Eugene Yurtsev 2024-07-30 11:28:07 -04:00 committed by GitHub
parent 435771fe74
commit 873f64751e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5,13 +5,7 @@ sidebar_label: astream_events v2
# Migrating to Astream Events v2
:::danger
This migration guide is a work in progress and is not complete. Please wait to migrate astream_events.
:::
We've added a `v2` of the astream_events API with the release of `0.2.0`. You can see this [PR](https://github.com/langchain-ai/langchain/pull/21638) for more details.
We've added a `v2` of the astream_events API with the release of `0.2.x`. You can see this [PR](https://github.com/langchain-ai/langchain/pull/21638) for more details.
The `v2` version is a re-write of the `v1` version, and should be more efficient, with more consistent output for the events. The `v1` version of the API will be deprecated in favor of the `v2` version and will be removed in `0.4.0`.