From 3531a7202ac77145a30caf7308cf0fcf5236b573 Mon Sep 17 00:00:00 2001 From: Andrew Nguonly Date: Thu, 1 Feb 2024 15:18:58 -0800 Subject: [PATCH] Pass handle_parsing_errors param through agent_executor_kwargs. --- streamlit_agent/chat_pandas_df.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"):