[go: nahoru, domu]

Skip to content
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

Can't start/end session #290

Open
alvins82 opened this issue Jul 9, 2024 · 2 comments
Open

Can't start/end session #290

alvins82 opened this issue Jul 9, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@alvins82
Copy link
alvins82 commented Jul 9, 2024

🐛 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
Screenshot 2024-07-09 at 1 52 21 pm

🔍 Additional Context
If I try start a session manually says configuration not setup. See screenshot.

Screenshot 2024-07-09 at 1 53 50 pm
Screenshot 2024-07-09 at 1 54 54 pm

Thank you for helping us improve Agentops!

@alvins82 alvins82 added the bug Something isn't working label Jul 9, 2024
@alvins82
Copy link
Author
alvins82 commented Jul 9, 2024

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).

@areibman
Copy link
Contributor

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants