Skip navigation
Today we're excited to launch a highly requested feature preview: Diff Based Edits.
0:00 / 0:21

Today we're excited to launch a highly requested feature preview: Diff Based Edits.

bolt.new

@boltdotnew119K followers

Visit on X
293 likesDownloadOriginal post

33,262 views

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) 🧵

10 Comments

Comments from the original post on X (Twitter)

  • bolt.new's profile picture

    @boltdotnew

    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!

    21 likes

  • bolt.new's profile picture

    @boltdotnew

    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 🙇

    20 likes

  • bolt.new's profile picture

    @boltdotnew

    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:

    19 likes

  • bolt.new's profile picture

    @boltdotnew

    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 🔜!)

    17 likes

  • Wes Winder's profile picture

    @weswinder

    Time to give this a test run!

    5 likes

  • David Segura's profile picture

    @DavidSeguraIA

    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.)

    5 likes

  • bolt.new's profile picture

    @boltdotnew

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

    2 likes

  • mohammad 👾's profile picture

    @asleMammadam

    finally!

    4 likes

  • DIAWARA GUILE's profile picture

    @DiawaraGuile

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

    3 likes

  • Flob's profile picture

    @technextgen6

    Game changer!

    3 likes