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

Editable Prompts for Contextual Reruns #479

Open
CodingKoalaGeneral opened this issue Jan 18, 2025 · 0 comments
Open

Editable Prompts for Contextual Reruns #479

CodingKoalaGeneral opened this issue Jan 18, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@CodingKoalaGeneral
Copy link

CodingKoalaGeneral commented Jan 18, 2025

Is your feature request related to a problem? Please describe.
Sometimes the response is not what was expected so without wanting to go further in a wrong direction, editing the last prompt and rerun keep the most recent chat context without bulk mislead output given by the model as response before

Describe the solution you'd like
Edit prompts shall split the chain of responses and rerun with edited prompt with previous chat context.

  1. Initial Prompt and Response

    • Prompt 1 → Response 1
    • Prompt 2.1 → Response 2.1
  2. Edited Prompt Creating a New Response Path

    • Prompt 2.2 (Edited version of Prompt 2.1) → Response 2.2

This approach ensures that modifying a prompt doesn’t simply overwrite visually previous inputs but instead creates a new branch while preserving the context.

Additionally
Currently the scrolling seems odd
Delete response shall cause scroll to last prompt
Delete last prompt shall cause scroll to last response

Input Textbox may be better when its separated between the different chats. (keep half finished prompts separated)

@CodingKoalaGeneral CodingKoalaGeneral added the enhancement New feature or request label Jan 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant