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

Fixing LLMEvent returns and streaming logic #181

Closed HowieG closed 5 months ago

HowieG commented 5 months ago

๐Ÿ“ฅ Pull Request

๐Ÿ“˜ Description Fixes ENG-332 Previously we were not returning the response for LLMEvents which we need for troubleshooting. Our streaming logic was also incomplete

๐Ÿงช Testing _test_handler_openai_v0.py _test_handler_openai_v1.py