I am getting the below error when trying to run streamlit from Agno V1.1.13
RuntimeError: There is no current event loop in thread ‘ScriptRunner.scriptThread’.
Any idea what might be wrong
This is the snippet of code that streamlit is trying to call:
with st.chat_message(“assistant”):
chunks: RunResponse = team_agent.run(prompt, stream=False)
print("The id is " + str(chunks.session_id))
response = chunks.content
#response = st.write_stream(as_stream(chunks))
st.write(response)
st.session_state.messages.append({“role”: “assistant”, “content”: response})