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

Langchain upgrade #339

Merged
merged 19 commits into from
Aug 9, 2024
Merged

Langchain upgrade #339

merged 19 commits into from
Aug 9, 2024

Conversation

bboynton97
Copy link
Contributor

  • Changes the langchain example to support Langchain 0.2
  • Modifies the Langchain handler to support the new configuration setup

@bboynton97 bboynton97 requested review from siyangqiu and HowieG August 8, 2024 23:49
Copy link

codecov bot commented Aug 8, 2024

Codecov Report

Attention: Patch coverage is 12.50000% with 14 lines in your changes missing coverage. Please review.

Files Patch % Lines
agentops/partners/langchain_callback_handler.py 14.28% 12 Missing ⚠️
agentops/client.py 0.00% 1 Missing and 1 partial ⚠️
Flag Coverage Δ
unittests 44.90% <12.50%> (-0.19%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
agentops/client.py 68.55% <0.00%> (-0.72%) ⬇️
agentops/partners/langchain_callback_handler.py 44.19% <14.28%> (-1.35%) ⬇️

agentops/client.py Outdated Show resolved Hide resolved
agentops/partners/langchain_callback_handler.py Outdated Show resolved Hide resolved
docs/v1/usage/langchain-callback-handler.mdx Outdated Show resolved Hide resolved
Copy link

gitguardian bot commented Aug 9, 2024

⚠️ GitGuardian has uncovered 2 secrets following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

🔎 Detected hardcoded secrets in your pull request
GitGuardian id GitGuardian status Secret Commit Filename
12083425 Triggered Generic High Entropy Secret d93f614 tests/core_manual_tests/agentchat_agentops.ipynb View secret
12083425 Triggered Generic High Entropy Secret d93f614 tests/core_manual_tests/agentchat_agentops.ipynb View secret
🛠 Guidelines to remediate hardcoded secrets
  1. Understand the implications of revoking this secret by investigating where it is used in your code.
  2. Replace and store your secrets safely. Learn here the best practices.
  3. Revoke and rotate these secrets.
  4. If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.

To avoid such incidents in the future consider


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

@bboynton97 bboynton97 merged commit a12b59a into main Aug 9, 2024
10 of 13 checks passed
@bboynton97 bboynton97 deleted the langchain-upgrade branch August 9, 2024 21:24
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