Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: AI-generated file path issues with -i #728

Closed
wants to merge 1 commit into from

Conversation

RareMojo
Copy link
Contributor

Remove workspace\ from the file_list.txt context to prevent nesting another workspace folder.

Could do this a dozen ways.
Core issue: GPT would state filenames as workspace\... causing new file creation and no overwrites.

@ATheorell
Copy link
Collaborator

Can you make a solution that does this, but:

  • works on all operating systems
  • only targets directories that are called exactly workspace (the current one can distort cases when workspace is a substring in an actual directory)
  • Only removes the first occurrence of a folder called workspace in the path

I may be missing something :)

@ATheorell
Copy link
Collaborator

I imagine this is obsolete, now that the concept of workspace has been removed. Happy to open again in case I'm wrong

@ATheorell ATheorell closed this Oct 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants