How Apply works

Apply is a specialized model that takes code generated by chat and integrates it into your files. It processes the code blocks from chat conversations and applies the changes to your codebase.

Apply does not generate code itself. The chat model generates the code, and Apply handles the integration into existing files. It can process changes across multiple files and large codebases.

Apply code blocks

To apply a code block suggestion, press the play button in the top right corner of each chat code block.