"""Executive summary display components.""" from __future__ import annotations from typing import Dict, Optional import streamlit as st def render_summary(summary: Optional[Dict[str, str]]) -> None: """Render executive summary card.""" st.subheader("Executive Summary", anchor=False) if not summary: st.warning("Executive summary disabled. Provide an OpenAI API key to unlock this section.", icon="🤖") return st.markdown( """
""", unsafe_allow_html=True, ) st.markdown(summary.get("raw", "")) st.markdown("
", unsafe_allow_html=True)