v1.11.0
Ironclad/rivetv1.11.0Oct 24, 2023by abrenneke
AI Summary
This release introduces significant streaming capabilities for graph events and nodes, along with improvements to existing nodes. The most notable additions include async generator and SSE streaming for graph events, a finish event for GraphProcessor, and enhancements to the Trim Chat Messages, Loop Controller, and global nodes.
Key Highlights
- Added simplified streaming of graph events via async generator (getEvents) and SSE (getSSEStream)
- Added single node streaming via streamNode(nodeIdOrTitle) for SSE
- GraphProcessor now emits a 'finish' event on completion or failure
- Enhanced Trim Chat Messages Node with max token count and 'from beginning' inputs
- Fixed empty header causing chat node errors and improved error handling for code and HTTP Call nodes
New Features
- Simplified streaming of graph events - async generator via createProcessor(...).getEvents(spec)
- Simplified streaming of graph events - SSE implementation via createProcessor(...).getSSEStream(spec)
- Simplified streaming for a single node via createProcessor(...).streamNode(nodeIdOrTitle) (SSE)
- GraphProcessor emits a 'finish' event when completed successfully or failed
- Add input ports to Trim Chat Messages Node for max token count and 'from beginning'
- Add an 'iteration' output to the loop controller node
- Add variable name output to get and set global nodes
Full Release Notes
## New Features - Add simplified streaming of graph events - an async generator via `createProcessor(...).getEvents(spec)` and an SSE implementation via `createProcessor(...).getSSEStream(spec)`. See docs for more info. - Add simplified streaming for a single node via `createProcessor(...).streamNode(nodeIdOrTitle)` (SSE) - GraphProcessor now emits a `finish` event when it has either completed successfully or failed - Add input ports to Trim Chat Messages Node for max token count & "from beginning" - Add an `iteration` output to the loop controller node - Add variable name output to get and set global nodes ## Changes & Bug Fixes - Updated all dependencies to their latest versions - Fix empty header causing chat node to error - Better code node error when it doesn't return something valid - Better HTTP Call node errors