Skip to content

Conversation

@cosineai
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