awacke1 commited on
Commit
8d44195
1 Parent(s): 0d1aedf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -792,7 +792,7 @@ def main():
792
  st.session_state.chat_history.append({"user": user_input, "claude": response.content[0].text})
793
 
794
  # Save to Cosmos DB
795
- save_to_cosmos_db(container, user_input, response.content[0].text, "")
796
 
797
  # Display Chat History
798
  st.subheader("Past Conversations 📜")
 
792
  st.session_state.chat_history.append({"user": user_input, "claude": response.content[0].text})
793
 
794
  # Save to Cosmos DB
795
+ save_or_clone_to_cosmos_db(container=st.session_state.cosmos_container, query=user_input, response=response.content[0].text, clone_id=None)
796
 
797
  # Display Chat History
798
  st.subheader("Past Conversations 📜")