You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
stream_mode (Optional[Union[StreamMode, list[StreamMode]]], default: None ) – The mode to stream output, defaults to self.stream_mode. Options are 'values', 'updates', and 'debug'. values: Emit the current values of the state for each step. updates: Emit only the updates to the state for each step. Output is a dict with the node name as key and the updated values as value. debug: Emit debug events for each step.
For example, this is the definition of stream_mode in the async meth under the CompiledStateGraph url with mention for 'values', 'updates', and 'debug' but no 'messages'. I thought it was deprecated or something. But I tried it out and it works.
Idea or request for content:
add the 'messages' stream mode and it's definition to the stream_mode definition.
The text was updated successfully, but these errors were encountered:
Issue with current documentation:
stream_mode (Optional[Union[StreamMode, list[StreamMode]]], default: None ) – The mode to stream output, defaults to self.stream_mode. Options are 'values', 'updates', and 'debug'. values: Emit the current values of the state for each step. updates: Emit only the updates to the state for each step. Output is a dict with the node name as key and the updated values as value. debug: Emit debug events for each step.
For example, this is the definition of stream_mode in the async meth under the CompiledStateGraph url with mention for 'values', 'updates', and 'debug' but no 'messages'. I thought it was deprecated or something. But I tried it out and it works.
Idea or request for content:
add the 'messages' stream mode and it's definition to the stream_mode definition.
The text was updated successfully, but these errors were encountered: