File Sets in Context Selection

Hi, thats an interesting idea.

Have you tried just giving the filepath and name into the chat without attaching the file directly? For me thats usually sufficient or even using a class or function name from the file i want to be edited. So basically the actual content that needs change.

In case many files are attached as context to chat it does indeed pollute quickly the context and may cause it to hallucinate or edit the wrong file.

Something like the workflow which another user created works well for complex changes and reduces the context size plus prevents having to copy paste all the stuff into the prompt each time.

1 Like