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

Prompt lost after answering to not refresh the context #182

Open
viraptor opened this issue Aug 14, 2024 · 1 comment
Open

Prompt lost after answering to not refresh the context #182

viraptor opened this issue Aug 14, 2024 · 1 comment
Assignees

Comments

@viraptor
Copy link

viraptor commented Aug 14, 2024

I've got a url in the loaded context.
After plandex t and writing the new prompt, I get a question about whether I want to refresh the updated url context. If I answer n, the whole step is forgotten and I don't have access to the prompt anymore.
This was annoying to lose after I wrote a whole paragraph :(

(Slightly similar to #109 but in this case I would expect the action to continue - just without the refresh.)

@danenania
Copy link
Contributor

Thanks for reporting @viraptor. Aborting if the context isn't updated was done to avoid edge cases with files that could lead to tricky-to-resolve conflicts. The concern doesn't apply if only urls (or other non-file data) are in context though, so there could be different handling in that case.

As a small step, we could also output the prompt to the terminal in case of cancellation so it doesn't get lost. I definitely understand the frustration there.

@danenania danenania self-assigned this Oct 2, 2024
danenania added a commit that referenced this issue Oct 2, 2024
…prompt before exiting so it isn't lost-fixes #109 and #182
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

No branches or pull requests

2 participants