INNER CODE UNIT · Python
msg_index
business-science/free-ai-tips · 014_ai_exploratory_copilot_app/app.py:428
msg_index = len(msgs.messages) - 1
st.session_state["chat_artifacts"][msg_index] = artifact_list
# =============================================================================
# FINAL RENDER: DISPLAY THE COMPLETE CHAT HISTORY WITH ARTIFACTS
# =============================================================================
display_chat_history()