Sending status updates from backend (LangGraph) to frontent

I’m building a Streamlit frontend for my LangGraph workflow, and I’d like to have a status indicator using something like st.status that says which node in my workflow is currently “thinking”/generating a response. I can pass the st.status().update() function and get_script_run_ctx to the components of my backend that update this status, but I still get warnings like Thread x: missing ScriptRunContext!.

What is the recommended way to achieve the status updates I’m looking for?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.