Instant Apply
Quickstart
Switch from full file rewrites to snippets + apply in 5 minutes
Prerequisites
1. Generate Code Snippets
Add instructions for formatting edits somewhere in the system prompt for your LLM of choice.
2. Merge with Instant Apply
Pass the abbreviated edit snippet along with the initial code to the Instant Apply endpoint.
3. Parse Final Code from Response
Collect the merged code from the response json.
For more code examples and options see our API reference.