agentops icon indicating copy to clipboard operation
agentops copied to clipboard

separated llm tracker by model

Open bboynton97 opened this issue 1 year ago • 2 comments

Each LLM now has functions in a different file. I will probably continue this to use inheritance and consistent function names

bboynton97 avatar Aug 09 '24 22:08 bboynton97

⚠️ 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 4bf8ba1805b4b6567641dcef86f1a89be09ab66b tests/core_manual_tests/agentchat_agentops.ipynb View secret
12083425 Triggered Generic High Entropy Secret 4bf8ba1805b4b6567641dcef86f1a89be09ab66b 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.

gitguardian[bot] avatar Aug 14 '24 19:08 gitguardian[bot]

Codecov Report

Attention: Patch coverage is 20.38288% with 707 lines in your changes missing coverage. Please review.

Files Patch % Lines
agentops/llms/anthropic.py 12.66% 131 Missing :warning:
agentops/llms/cohere.py 14.09% 128 Missing :warning:
agentops/llms/openai.py 13.98% 123 Missing :warning:
agentops/llms/litellm.py 15.32% 116 Missing :warning:
agentops/llms/groq.py 16.66% 90 Missing :warning:
agentops/llms/ollama.py 25.31% 59 Missing :warning:
agentops/llms/__init__.py 30.66% 51 Missing and 1 partial :warning:
agentops/llms/instrumented_provider.py 69.23% 8 Missing :warning:
Flag Coverage Δ
unittests 43.54% <20.38%> (-0.98%) :arrow_down:

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

Files Coverage Δ
agentops/client.py 68.55% <100.00%> (ø)
agentops/event.py 92.00% <ø> (ø)
agentops/helpers.py 65.93% <ø> (-6.14%) :arrow_down:
agentops/singleton.py 100.00% <100.00%> (ø)
agentops/time_travel.py 32.07% <100.00%> (ø)
agentops/llms/instrumented_provider.py 69.23% <69.23%> (ø)
agentops/llms/__init__.py 30.66% <30.66%> (ø)
agentops/llms/ollama.py 25.31% <25.31%> (ø)
agentops/llms/groq.py 16.66% <16.66%> (ø)
agentops/llms/litellm.py 15.32% <15.32%> (ø)
... and 3 more

codecov[bot] avatar Aug 14 '24 19:08 codecov[bot]

I ran a core manual test and it worked

siyangqiu avatar Aug 15 '24 23:08 siyangqiu