-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Persistent chat history with Cosmos DB is not working #2243
Comments
Did you also enable authentication? |
Yes I did |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This issue is for a: (mark with an
x
)Minimal steps to reproduce
I enabled the persistent chat history feature following the provided guide (setting USE_CHAT_HISTORY_COSMOS to true and running azd up). However, when clicking on "Open chat history" in the web app no history is displayed, even after sending some questions and getting answers.
When deactivating this feature and activating the client-side chat history, it works and the chat history can be viewed.
The environment variable AZURE_COSMODB_ACCOUNT is filled correctly and a respective Cosmos-DB account was created. However, no data can be seen there.
Any log messages given by the failure
TIMESTAMP - IP_ADDRESS:0 - "POST /chat_history/items HTTP/1.1" 401
Expected/desired behavior
The history should be filed as soon as I receive the answer on my 1st prompt from GPT.
OS and Version?
My local device has Windows 10 but I'm running the application on Azure.
azd version?
azd version 1.11.0 (commit 5b92e0687e1fa96dfc8292f4b900c0c58610b6a5)
Versions
Mention any other details that might be useful
The text was updated successfully, but these errors were encountered: