0.12.0
Features
Popout editor for text input
Node inputs can now be expanded into a popout editor, making it a lot easier to edit larger bodies of text.
Streamed Http Fetch API
We've introduced two new functions in the Http namespace (FetchUrlStreamed and NextMessage). These can be used to fetch web resources utilizing the serer-sent-events (SSE) protocol. This is very useful for a lot of LLM APIs, which support streaming tokens as they are generated.
Changes
- Updated default project template to include some AI agent examples.
Bug fixes
- Fixed bug where preview dots on arrows appeared above other nodes
- Tooltips in Panels now appear above or below their buttons. If the button is selected the tooltip is not shown
- Truncates in items names in Module overview instead of breaking lines
- Fixed bug where hovering on back arrow in Modules overview broke styling of panels
Std Lib
Additions
- Http.FetchUrlStreamed - Like FetchUrl, but returns a streamed response context, which can be used by Http.NextMessage to read streamed content.
- Http.NextMessage - Waits for the next message from a streamed response.
- Strings.StartsWith - Returns true if a string starts with a given prefix
- Strings.EndsWith - Returns true if a string ends with a given suffix
- Strings.RemovePrefix - Returns a string with the prefix removed if it exists
- Strings.RemoveSuffix - Returns a string with the suffix removed if it exists