Can't start/end session
🐛 Bug Report
🔎 Describe the Bug When trying to init agentops - it should start session if I set auto_start_session=True. It doesn't seem to or may do but if I try end_session - it fails with error saying no current session. I also don't get anything logged in the dashboard.
🔄 Reproduction Steps See below in screenshot.
🙁 Expected Behavior Expect to have data logged in dashboard.
📸 Screenshots
🔍 Additional Context If I try start a session manually says configuration not setup. See screenshot.
Thank you for helping us improve Agentops!
I suspect it's related to the re-intiailising of these variables. It seems to work if i restart the kernel and run it the first time. But I cannot run it again successfully without restarting the kernel (I am using it in a jupyter notebook).
I suspect it's related to the re-intiailising of these variables. It seems to work if i restart the kernel and run it the first time. But I cannot run it again successfully without restarting the kernel (I am using it in a jupyter notebook).
Yep-- that would be the reason. We just launched version 0.3.0 which allows for multiple sessions in a process. This should resolve the issue, but potentially it may lead to some other issue depending on how you're using it.
Can you upgrade your version and try again?
Closing due to inactivity. This issue was resolved in version 0.3 as well. See more info here