Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions e2e-chatbot-app/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -334,3 +334,8 @@ def query_responses_endpoint_and_render(input_messages):

# Add assistant response to history
st.session_state.history.append(assistant_response)

# Rerun so the new response is re-rendered through the history loop above,
# which attaches the feedback widget. Without this the feedback control is
# missing on the first message until the next request triggers a rerun.
st.rerun()