Type less, code more: Cody is an AI code assistant that uses advanced search and codebase context to help you write and fix code.
2.71k
stars
297
forks
source link
bug: The application regenerates the annotation content, removes the code, and only displays the annotation information #5206
Open
HangLu123 opened 2 months ago
Version
latest
Describe the bug
1、Select a piece of code, click the "Document Code" button, and generate code comments.
2、Click the "Edit & Retry" button, regenerate the comment information, and notice that the generated comment information is located below the code.
3、Click the "Accept" button, apply the comment information, and notice that it will remove the code, displaying only the comment information.
Expected behavior
Just change the content of the comment.
Additional context
No response