This update adds four features for when ChainForge is running locally:
- You can now Favorite ♥️ your nodes and models (at their precise settings), to recreate them later.
- To favorite a node, just right-click it and hit "Favorite".
- To favorite a model, open the model's settings screen and click the Favorite button in the top-right.
- Favorites persist across sessions.
- Global Settings ⚙️ now persist across sessions, by storing a
settings.jsonfile to the same directory as Saved Flows. - If you are running Ollama 🦙 locally, the menu model list now autopopulates for easy access (refresh the page if it doesn't show up):
- You can now password-encrypt 🔐 the locally Saved Flows and settings config file, if you want. Just add the flag --secure when running
chainforge serve.Seechainforge serve --helpfor options. (The "Export" and "Import" UI buttons will continue to only serve unencrypted flows.)- This is useful if you want to store API keys on the front-end UI, using the new Global Settings storage, but are worried about saving such information in a text file. There's a 'settings' option that will only encrypt this settings file.
- The Nodes list in Add Nodes is a bit nicer and has a nested menu.
Pick your Favorites ♥️:
cf-favorites.mov
and Encrypt your Flows 🔐:
This is part of an effort to make ChainForge more customizable and secure.
As a bonus, the update adds support for OpenAI GPT-4.1 and Google Gemini 2.5 Pro models.
This update required some rearranging to improve code quality. The App.tsx file now uses a custom NestedMenu, and same with the models dropdown, since Mantine ContextMenu was too limited. The nodes menu in App.tsx is also closer to a JSON spec rather than written as React elements.
Warning
This update introduced a significant number of changes to the codebase, including a number of refactorings. If you encounter any issues, please raise an Issue.