Open with-heart opened 2 months ago
Thanks a lot for the very detailed report @with-heart! We'll investigate this 🙌
Hey, @with-heart, thanks for your time filling out the reproduction steps for us. I will make sure we have this on our board for upcoming Studio revamps. Keeping this open for now until we sort this out.
Issue Description
Select one of: [ ] Generated codemod is not correct [x] Bug (ish?) in Codemod Studio [ ] UI/UX improvement request [ ] Feature request
When having a conversation with Codemod AI, it forgot that we were talking about updating the Codemod it had just generated for me. It only remembered when I very specifically told it what the context was.
Steps to Reproduce
Fill out Before
Fill out After
Realize that the generated Codemod only handles
it
(because Before/After only usedit
) but our codebase usesit
andtest
Send the message:
Actual Results
Codemod AI responded with a generic explanation of how
test
andit
are often used interchangeably in JavaScript testing frameworks like Mocha or Jest. Here's a codeblock from that explanation demonstrating how generic it is:I responded with:
Codemod AI responded with a generic explanation of how I can use tools like
jscodeshift
to write JavaScript/TypeScript code transformations, including how to installjscodeshift
and an example codemod which usesrecast
.I responded with:
Codemod AI finally responded with an updated version of the Codemod it had just generated for me.
Expected Results
Codemod AI should remember the context of the work we're doing together so that I don't have to specifically instruct it how to do what's expected of it.
I've definitely had conversations with it where it did remember the context, so it was confusing to me that it so obviously blanked on this one.