[BUG] Duplicate file contents if file gets updated in same response with Gemini #132
Tr1Fecta-7
started this conversation in
General
Replies: 3 comments
-
|
Hi, what I understand - your response contains more than one code block of the same file? Our logic is to merge them what is expected for "intelligent update" mode, when multiple code blocks show updates of different parts of the file. I'm wondering what is the solution here 🤔 |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Yes correct, it initially wrote the whole file content and then updated
some other files, but then it had to go back and revise some changes on
that initial file, but it pasted it fully at the end. Some clues were there
like "Same as before", a merge i think should work(?), no idea to be honest
Op wo 16 apr 2025 om 05:13 schreef Robert Piosik ***@***.***>:
… Hi, what I understand - your response contains more than one code block of
the same file? Our logic is to merge them what is expected for "intelligent
update" mode, when multiple code blocks show updates of different parts of
the file.
I'm wondering what is the solution here 🤔
—
Reply to this email directly, view it on GitHub
<#128 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMZM2R4ZRMHHNOWSM2CLXHD2ZYNL5AVCNFSM6AAAAAB3HL4SF6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQMBYHEZDIMBSGQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
*robertpiosik* left a comment (robertpiosik/CodeWebChat#128)
<#128 (comment)>
Hi, what I understand - your response contains more than one code block of
the same file? Our logic is to merge them what is expected for "intelligent
update" mode, when multiple code blocks show updates of different parts of
the file.
I'm wondering what is the solution here 🤔
—
Reply to this email directly, view it on GitHub
<#128 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMZM2R4ZRMHHNOWSM2CLXHD2ZYNL5AVCNFSM6AAAAAB3HL4SF6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQMBYHEZDIMBSGQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
-
|
We don't interpret text between code blocks at all. I'll think about it, some changes will land in this area and we will see what we end up at. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I've found a bug when Gemini in AI Studio changes the content of a file to update it after initial update or creation, when I click apply changes, it seems to put the response from the update under the initial changes instead of replacing the content as needed.
Not sure if this is already a known bug, but wanted to let you know! I love it so far, thanks for your work!
Beta Was this translation helpful? Give feedback.
All reactions