Spaces:
Build error
Build error
Commit
·
9e3b7f0
1
Parent(s):
ba6de26
update callback
Browse files
app.py
CHANGED
@@ -463,7 +463,7 @@ if prompt := st.chat_input(placeholder="Input Your Request"):
|
|
463 |
|
464 |
with st.chat_message("assistant"):
|
465 |
# response = GPTfake(prompt)
|
466 |
-
st_cb = StreamlitCallbackHandler(st.container(), expand_new_thoughts=
|
467 |
response = agent.run(prompt, callbacks=[st_cb])
|
468 |
# st.write(response)
|
469 |
try:
|
|
|
463 |
|
464 |
with st.chat_message("assistant"):
|
465 |
# response = GPTfake(prompt)
|
466 |
+
st_cb = StreamlitCallbackHandler(st.container(), expand_new_thoughts=True, collapse_completed_thoughts=True)
|
467 |
response = agent.run(prompt, callbacks=[st_cb])
|
468 |
# st.write(response)
|
469 |
try:
|