fix chat rag providers

This commit is contained in:
Xi Yan 2025-01-16 18:53:23 -08:00
parent 9f14382d82
commit b66d2bb492
3 changed files with 27 additions and 18 deletions

View file

@ -121,7 +121,7 @@ if prompt := st.chat_input("Example: What is Llama Stack?"):
if stream:
for chunk in response:
if chunk.event.event_type == "progress":
full_response += chunk.event.delta
full_response += chunk.event.delta.text
message_placeholder.markdown(full_response + "")
message_placeholder.markdown(full_response)
else: