Loading video...
Video Failed to Load
Today we're excited to launch a highly requested feature preview: Diff Based Edits. Diffs allow the AI to edit individual lines of code instead of rewriting entire files, making edits *much* faster & decreasing token usage ~20% on avg (and far more on large files) 🧵
33,262 views • 1 year ago •via X (Twitter)
10 Comments

First, to set proper expectations- some disclaimers! ⚠️ This is experimental, you may (will?) encounter bugs! 🧪 This is the first item in our Feature Previews! 🧑🔬 To start, only available to Pro users as we test/iterate!

Under the hood/important info: Diffs rely heavily on caching, making token savings most impactful when subsequent messages are sent within a few minutes. To this end, you may notice a message consuming more tokens when a cache miss happens! We plan to spend the next few months improving Diffs to make it even smoother, more reliable, and consume even less tokens before it becomes default on Bolt 🙇

To enable Diffs, simply go to "Settings>Feature Previews" and enable the Diffs toggle! We love (and need!) to hear your feedback to improve Diffs- please report any bugs you find here:

We can't wait to see how many more amazing things you can now build with Diffs 🙌🚀 (p.s. this is just the first token savings from diffs and other R&D we've been working on... more landing 🔜!)

Time to give this a test run!

A template library with editable parts would be awesome: landing pages (SaaS, portfolio, blogs), dashboards (CRM, data analysis), ChatGPT-like UIs, RAG (chat with PDFs/CSVs), and AI agents (OpenAI API, LangChain, Crewa AI, LlamaIndex, etc.)

💯, great idea- we're on it!!

finally!

Gréât the fight have been launched. V0 or bolt first choice is bolt the winner

Game changer!

