langchain-ai / opengpts

MIT License
6.44k stars 852 forks source link

Delete an assistant #293

Open sunilgovind opened 5 months ago

sunilgovind commented 5 months ago

I am looking at an API endpoint to delete an assistant and expose the option as a UI element.

In the API, we will look at the following:

  1. Delete an assistant
  2. Provide an option to delete all threads created by that assistant
  3. If no such option is provided, all threads created by the assistant will no longer associate with an assistant.
  4. A move API to move such orphan thread to another assistant.

I will share a PR shortly