AgentOps-AI / agentops

Python SDK for agent monitoring, LLM cost tracking, benchmarking, and more. Integrates with most LLMs and agent frameworks like CrewAI, Langchain, and Autogen
https://agentops.ai
MIT License
1.77k stars 170 forks source link

Record trigger_event when recording ErrorEvent #178

Closed HowieG closed 5 months ago

HowieG commented 5 months ago

๐Ÿ“ฅ Pull Request

๐Ÿ“˜ Description Error events now log their associated trigger event

๐Ÿ”„ Related Issue (if applicable) Fixes #176

๐Ÿงช Testing Added raise ValueError to llm_tracker and both LLMEvent and ErrorEvent were recorded

Thank you for your contribution to Agentops!