anse-app / chatgpt-demo

Minimal web UI for ChatGPT.
https://chatgpt.ddiu.me
MIT License
8.01k stars 3.81k forks source link

Ability to disable message history #318

Closed erbanku closed 1 year ago

erbanku commented 1 year ago

Clear and concise description of the problem

Disable message history of decreasing the mass usage of API tokens.

Suggested solution

Ability to disable via an environment variable.

Alternative

Let me know how I can achieve this via changing code (thx, btw)

Additional context

No response

Validations

lxxxv5 commented 1 year ago

You can just click the clean button.

erbanku commented 1 year ago

You can just click the clean button.

The desired effect is to clear the history of refreshment, not only by the clean button.

ddiu8081 commented 1 year ago

The UI we initially provided was designed to be minimalistic and not able to carry this feature. We will add it in V2. See #247.

ddiu8081 commented 1 year ago

Added in v2. You can select 'Single Conversion' type to disable chat history.