jamram
September 21, 2024, 4:35am
1
Looking for a mac download link to downgrade to 0.40.4
deanrie
September 21, 2024, 8:23am
2
Hi @jamram
Why do you want to roll back the version? Did you know it auto-updates?
jamram
September 21, 2024, 5:23pm
3
Because I am having issues with Composer. It suggests changes, pretends to go through the code, and then says Completed without doing anything.
jamram
September 21, 2024, 5:25pm
4
It’s also consistently duplicating all the code most times.
three
September 21, 2024, 8:25pm
5
I suspect you’ll find that changing the IDE version isn’t going to make much difference. Community consensus is that the recent bug with Apply, and the code duplication, are back-end issues. I’ve been experiencing similar issues applying from chat, and it was the same on 0.40.4 and 0.40.3. This thread has some more:
I have noticed on that Apply seems to be broken.
I’m a Pro subscriber and using sonnet-3.5.
Giving composer and image for how an existing React component should look like
Chat does come up with code for the updated UI, but when applying, It duplicates the content (NOT rewrite) of the file. So, now there exist two declarations for every variable, function, etc.
You can see stuff being repeated starting line 389 (I can’t upload more than one image since I’m new here.)
[image]
Specifically for the whole-file duplication, you could try reading this:
I’m quite sure this doesn’t cover all cases, BUT here’s something to watch out for if you’re getting whole-script duplication.
It seems sometimes Claude-3.5-sonnet likes to put in // ... existing code markers even before the start of the actual script. Let’s say you’re writing JS and your file starts:
<script>
// things ...
Sometimes it seems Claude will supply your suggested change as:
// ... existing code ...
<script>
// ... existing functions
something
This seems to lead to the …
and see if that helps at all.