microsoft / sample-app-aoai-chatGPT

Sample code for a simple web chat experience through Azure OpenAI, including Azure OpenAI On Your Data.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Chat history button removed when UI_SHOW_SHARE_BUTTON is set to False

dmbuk opened this issue · comments

Describe the bug
as per title.

To Reproduce
Steps to reproduce the behavior:
Set UI_SHOW_SHARE_BUTTON to True
Reload the app

Expected behavior
The share button is removed but show history is displayed.

Screenshots
the condition is AND which means history is disabled when share button UI_SHOW_SHARE_BUTTON is set to False.
image

Configuration: Please provide the following

  • Azure OpenAI model name and version (e.g. 'gpt-35-turbo-16k, version 0613')
  • Is chat history enabled? Yes
  • Are you using data? If so, what data source? Yes - Azure AI Search