mirror of
https://github.com/meta-llama/llama-stack.git
synced 2026-01-05 01:32:14 +00:00
fix chat rag providers
This commit is contained in:
parent
9f14382d82
commit
b66d2bb492
3 changed files with 27 additions and 18 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue