Spaces:
Sleeping
Sleeping
samlonka
commited on
Commit
•
d21f567
1
Parent(s):
c64eee9
'memory'
Browse files
app.py
CHANGED
@@ -158,7 +158,7 @@ if st.session_state.messages[-1]["role"] != "assistant":
|
|
158 |
with st.chat_message("assistant"):
|
159 |
with st.spinner("Thinking..."):
|
160 |
# Using the cached chat_engine
|
161 |
-
response = st.session_state.chat_engine.chat(prompt
|
162 |
st.write(response.response)
|
163 |
message = {"role": "assistant", "content": response.response}
|
164 |
st.session_state.messages.append(message)
|
|
|
158 |
with st.chat_message("assistant"):
|
159 |
with st.spinner("Thinking..."):
|
160 |
# Using the cached chat_engine
|
161 |
+
response = st.session_state.chat_engine.chat(prompt)
|
162 |
st.write(response.response)
|
163 |
message = {"role": "assistant", "content": response.response}
|
164 |
st.session_state.messages.append(message)
|