The project started off building from the prompts, however once I manually made an edit to the code being generated, none of the subsequent prompts actually resulted in any code changes. Even in subsequent prompts, it acknowledged that it made no actual changes, again and again.
Hey,
Hope you’re keeping well.
In AI Studio, once you manually edit the generated code in the editor, the prompt-to-code synchronization can be affected because the model’s context is based on the last generated output, not your modified version. To restore expected behavior, try regenerating from a fresh cell or reloading the workspace so the model picks up the latest code state. If you need iterative changes after manual edits, explicitly paste the updated code into the prompt so the model has full visibility. If this persists, capture the session ID and submit feedback via the Help > Send feedback option so the team can investigate the generation context issue.
Thanks and regards,
Taz
Hi @aarona , Thank you for bringing this to our attention. We truly appreciate you flagging this issue, we have filed a bug internally.
Hi @aarona ,
A fix has been rolled out to improve this behavior, which should significantly reduce instances of code returning in chat rather than updating files.
