Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Element picker and duplicate code #206

Open
GRZLY53 opened this issue Sep 26, 2024 · 1 comment
Open

Element picker and duplicate code #206

GRZLY53 opened this issue Sep 26, 2024 · 1 comment

Comments

@GRZLY53
Copy link

GRZLY53 commented Sep 26, 2024

Hi,

I am using the most recent docker build with gpt-4o. The initial prompt works fine and generates a great v0 for my project. Unfortunately when I try to manipulate the v0 by using the element picker, there are several issues.

I can choose an element and send a custom promt, but afterwards a few things happen:

  1. The preview frame doesn't auto-refresh anymore. It also doesn't react to a manual "refresh frame".
  2. The code gets generated, but since I can't see the preview, I have to refresh the whole page.
  3. After refreshing the page, the code duplicates.

Does anyone else experience this behaviour? I wasn't able to resolve myself. I use everything out of the box and also tried different LLMs and different browsers and did a complete new setup. Nothing worked for me so far.

Otherwise it is a beautiful tool, best regards!

EDIT: It seems like there is a problem with theroom.js, that causes the a stop. Here is a typical log:

theroom.js:145
Uncaught TypeError:
Cannot read properties of undefined (reading 'remove')
at Object.stop (theroom.js:145:1)
at index.html?id=3Y5VUVfH:559:22
stop @ theroom.js:145
(anonymous)@index.html?id=3Y5VUVfH:559

@grexe
Copy link

grexe commented Sep 30, 2024

same here, tried with default model and gpt4o.
preview updates forever, only showing the progress icon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants