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

Implement Edit and Save Functionality for Context Windows #3

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

cosineai[bot]
Copy link

@cosineai cosineai bot commented Sep 20, 2024

This pull request introduces the ability to edit and save the contents of context windows in the UI. The following changes were made:

  1. Server-side Changes:

    • Added updateContextWindow function to handle updating context window data in the context_windows.jsonl file.
    • Modified the server to include a new route /context/:id/edit/ for rendering the edit page.
  2. UI Changes:

    • Added an 'Edit' link to the context window view page, allowing users to navigate to the edit page.

These changes enable users to modify the contents of context windows directly from the UI and save their changes back to the server.

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