Closed supercrafter100 closed 5 months ago
I tried this but all I got was a lot of jumbled code, with some things erased and new things added and a randomly broken result., can you describe what it is supposed to do, should I work on trying to prompt the model to always provide the full code?
All this pr adds (for the code updation part) is
Emphasis in the system prompt to always return full code
The prompt itself is done in the following format to inform it about the current code.
Dan says: {prompt}
Current code in the editor: ``` {editor.code} ```
- Whenever a new response is received, the entire code in the editor is wiped blank.
So it should pretty much work with normal prompts, not sure what could be going wrong at your end ...
Went a bit out of scope for some very small changes