diff --git a/streamlit_agent/chat_pandas_df.py b/streamlit_agent/chat_pandas_df.py index f64b2427..0766e993 100644 --- a/streamlit_agent/chat_pandas_df.py +++ b/streamlit_agent/chat_pandas_df.py @@ -79,7 +79,7 @@ def load_data(uploaded_file): df, verbose=True, agent_type=AgentType.OPENAI_FUNCTIONS, - handle_parsing_errors=True, + agent_executor_kwargs={"handle_parsing_errors": True}, ) with st.chat_message("assistant"):