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

Add Editable Context Windows in UI #4

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

cosineai[bot]
Copy link

@cosineai cosineai bot commented Sep 23, 2024

This PR implements the ability to edit and save context windows directly from the UI. Users can now modify the content of context windows in place and save the changes. The changes include:

  1. A new script in the HTML to handle the save operation by sending a POST request with the updated content.
  2. A new endpoint in the server to handle the save request, update the context window content, and write the changes to the context_windows.jsonl file.

These changes address the need for an editable and savable context window feature, enhancing the user experience by allowing in-place content updates.

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.

1 participant