AgentOps-AI / agentops

Python SDK for AI 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
2.14k stars 209 forks source link

[Bug]: LiteLLM conflicts with OpenAI #471

Open areibman opened 3 weeks ago

areibman commented 3 weeks ago

Contact Details

No response

📦 Package Version

0.3.14

🎞️ Framework Version

openai==1.52.2, litellm==1.50.2

🔎 Describe the Bug

LiteLLM alone: Works

image

OpenAI alone: Works

image

Import both OpenAI and LiteLLM - Doesn't Work

image

Same does not apply when you only use LiteLLM

image

🤝 Contribution

sarath59 commented 3 weeks ago

Working on this

teocns commented 1 week ago

How does LLMTracker co-live with the instrumentation provider? Also what's its deprecation status? do we have a feature flag? I am feeling they collide thus causing issues, but without knowing specifics I can only guess