# The AI doesn't complete code generation in the middle of a response

**URL:** <https://forum.builder.io/t/the-ai-doesnt-complete-code-generation-in-the-middle-of-a-response/6863>\
**Category:** General\
**Created:** [December 2, 2024, 2:05pm UTC](https://forum.builder.io/t/the-ai-doesnt-complete-code-generation-in-the-middle-of-a-response/6863 "2024-12-02T14:05:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jj142321](https://avatars.discourse-cdn.com/v4/letter/j/91b2a8/32.png) [@jj142321](https://forum.builder.io/u/jj142321)\
**Post date:** [December 2, 2024, 2:05pm UTC](https://forum.builder.io/t/the-ai-doesnt-complete-code-generation-in-the-middle-of-a-response/6863/1 "2024-12-02T14:05:37Z")

</div>

![Screenshot 2024-12-02 at 11.05.56 PM](https://us1.discourse-cdn.com/flex020/uploads/builder/original/2X/c/ca4811510c782341d4c02ca6725e7ed927e3e653.png)

The AI refuses to provide the full code. I recall there used to be a “Continue” button to generate more code, but it has disappeared. Instead, when the context size is large, it skips some content related to the website design and only generates code partially, as shown in the attached screenshot. It skips a significant amount of content.

---

<div class="post-metadata">

**Author:** ![jj142321](https://avatars.discourse-cdn.com/v4/letter/j/91b2a8/32.png) [@jj142321](https://forum.builder.io/u/jj142321)\
**Post date:** [December 3, 2024, 11:04am UTC](https://forum.builder.io/t/the-ai-doesnt-complete-code-generation-in-the-middle-of-a-response/6863/2 "2024-12-03T11:04:42Z")

</div>

![Screenshot 2024-12-03 at 8.04.01 PM](https://us1.discourse-cdn.com/flex020/uploads/builder/original/2X/8/85a9ad88e183702c5b24442346a2090b496802c9.png)

Again. It says

// … Rest of the styled components from the original code …

and refuses to generate more code

 ![Screenshot 2024-12-03 at 8.08.02 PM](https://us1.discourse-cdn.com/flex020/uploads/builder/original/2X/b/beb50e20144e07ca1418709d435e7e03ca4e36a2.png)

---

<div class="post-metadata">

**Author:** ![jj142321](https://avatars.discourse-cdn.com/v4/letter/j/91b2a8/32.png) [@jj142321](https://forum.builder.io/u/jj142321)\
**Post date:** [December 19, 2024, 2:28pm UTC](https://forum.builder.io/t/the-ai-doesnt-complete-code-generation-in-the-middle-of-a-response/6863/3 "2024-12-19T14:28:03Z")

</div>

No solution for this? It says

[Previous full code with components replaced by imported ones and remaining content organized]
