mirror of
https://github.com/hwchase17/langchain.git
synced 2026-07-12 19:31:24 +00:00
- Use _astream_events_v3 helper (not astream_events(version="v3")) when calling through a RunnableBinding — the binding's astream_events is an async generator and cannot be awaited directly for v3. - Revert langchain_v1 agent tests back to agent.stream_v2 / astream_v2: these call langgraph CompiledStateGraph.stream_v2, a graph-level API unrelated to BaseChatModel.stream_v2 and not supported via stream_events(version="v3") in the currently installed langgraph.