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

agentops functions dont work without first calling init #255

Merged
merged 6 commits into from
Jun 13, 2024

Conversation

bboynton97
Copy link
Contributor

This PR adds a state to init.py for tracking whether or not the SDK has been initialized. If it has not been initialized, most functions will not be used.

Fixes an issue where partners are getting logs that there is no active session when they have not called init.

@bboynton97 bboynton97 requested review from siyangqiu and HowieG June 13, 2024 19:43
@bboynton97 bboynton97 merged commit 961ba21 into main Jun 13, 2024
7 checks passed
@bboynton97 bboynton97 deleted the block-without-init branch June 13, 2024 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants