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

fix: dupe client created with autogen #235

Merged
merged 3 commits into from
Jun 1, 2024

Conversation

bboynton97
Copy link
Contributor

Addresses two issues:

  • If ConfigurationError is thrown, we dont create a Config property on the client, causing an invalid reference issue later.
  • We cannot use agentops.add_tags() in the constructor of the client, because it relies on the singleton pattern and the client has not been fully constructed yet.

@bboynton97 bboynton97 requested review from siyangqiu and areibman May 31, 2024 22:38
agentops/client.py Show resolved Hide resolved
@bboynton97 bboynton97 merged commit 52e069e into main Jun 1, 2024
7 checks passed
@bboynton97 bboynton97 deleted the handle-start-session-no-api-key branch June 1, 2024 00:00
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