Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request includes significant changes to the anomaly detection system, specifically transitioning from using individual LLM providers like OpenAI and Anthropic to a unified
anomaly-agent
approach. Additionally, there are updates to the environment variables and documentation to reflect these changes.Updates to anomaly detection:
openai
andanthropic
withanomaly-agent
inanomstack/jobs/llmalert.py
and created a newanomstack/llm/agent.py
file to handle anomaly detection withanomaly-agent
. [1] [2] [3]anomstack/llm/anthropic.py
,anomstack/llm/detect.py
,anomstack/llm/models.py
, andanomstack/llm/openai.py
. [1] [2] [3] [4]Environment variables:
LANGSMITH
andOPENAI_API_KEY
in.example.env
file to support the newanomaly-agent
setup.Documentation updates:
README.md
to reflect the newLLM Agent Alerts
terminology and provided links to theanomaly-agent
repository. [1] [2] [3]Dependency changes:
requirements.compile
to removeanthropic
andopenai
dependencies and addanomaly-agent
. [1] [2]