TypeError: This app has encountered an error. The original error message is redacted to prevent data leaks. Full error details have been recorded in the logs (if you're on Streamlit Cloud, click on 'Manage app' in the lower right of your app).
Traceback:
File "/home/adminuser/venv/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 542, in _run_script
exec(code, module.dict)
File "/mount/src/chat2plot-sample/main.py", line 127, in
config.json(indent=2, exclude_none=True),
File "/home/adminuser/venv/lib/python3.10/site-packages/pydantic/main.py", line 1056, in json
raise TypeError('dumps_kwargs keyword arguments are no longer supported.')
The streamlit app (https://chat2plot-sample.streamlit.app/) gives the following error now:
TypeError: This app has encountered an error. The original error message is redacted to prevent data leaks. Full error details have been recorded in the logs (if you're on Streamlit Cloud, click on 'Manage app' in the lower right of your app). Traceback: File "/home/adminuser/venv/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 542, in _run_script exec(code, module.dict) File "/mount/src/chat2plot-sample/main.py", line 127, in
config.json(indent=2, exclude_none=True),
File "/home/adminuser/venv/lib/python3.10/site-packages/pydantic/main.py", line 1056, in json
raise TypeError('
dumps_kwargs
keyword arguments are no longer supported.')