-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
streamlit query Runtime Error #81
Comments
did not make any changes, just had to disable billing overnight to prevent spending. re attached it this morning and ran sb deploy and query is now working. no error logs on llm-service, just on streamlit:
|
I am getting this error with when trying the query in Streamlit:
`
{
errorGroups: [1]
insertId: "kqt3ugge77p89rfh"
labels: {4}
logName: "projects/genie-jumphost-test/logs/stderr"
receiveTimestamp: "2023-11-13T19:16:52.593389302Z"
resource: {2}
severity: "ERROR"
textPayload: "Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 537, in _run_script
self._session_state.on_script_will_rerun(rerun_data.widget_states)
File "/usr/local/lib/python3.9/site-packages/streamlit/runtime/state/safe_session_state.py", line 68, in on_script_will_rerun
self._state.on_script_will_rerun(latest_widget_states)
File "/usr/local/lib/python3.9/site-packages/streamlit/runtime/state/session_state.py", line 500, in on_script_will_rerun
self._call_callbacks()
File "/usr/local/lib/python3.9/site-packages/streamlit/runtime/state/session_state.py", line 513, in _call_callbacks
self._new_widget_state.call_callback(wid)
File "/usr/local/lib/python3.9/site-packages/streamlit/runtime/state/session_state.py", line 260, in call_callback
callback(*args, **kwargs)
File "/opt/pages/4_Query.py", line 34, in on_input_change
response = run_query(query_engine_id, user_input, chat_id=st.session_state.chat_id)
File "/opt/api.py", line 136, in run_query
handle_error(resp)
File "/opt/api.py", line 40, in handle_error
raise RuntimeError(f"Error with status {response.status_code}: {str(response)}")
RuntimeError: Error with status 500: <Response [500]>"
timestamp: "2023-11-13T19:16:51.748504453Z"
}
`
The text was updated successfully, but these errors were encountered: