-
Notifications
You must be signed in to change notification settings - Fork 215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
liteLLM bug #476
liteLLM bug #476
Conversation
Yo @sarath59 ! Looks like someone else raised the same PR at the same time you did haha. Figuring out which one we should go with/merge both |
I was rechecking the code again and again because of the conflicts. No worries. |
Hey @areibman , did you get a chance to look at this PR? Let me know if you want me to close this one if you moved forward with other PR. Thanks |
This works, thanks @sarath59!
Leaving some comments on the PR. I know @teocns and @the-praxs have some thoughts also |
Thanks @areibman |
tests/test_llmintegration.py
Outdated
import agentops | ||
|
||
# Load environment variables | ||
load_dotenv() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We are running tests through tox
(pip install tox
and run tox
in the CLI to spin up all the tests). We're failing right now because of dotenv
6f928d5
to
d8cffcc
Compare
Added VCR for offline replay and changed a bit the test dynamics to be more deterministic, however this still fails for me and does not send openai events to agentops dashboard's session replay either 🤔
Maybe something slipped under my eye, or maybe it has to do with the order of iimport/nitialization
|
8ca4dc3
to
37930fe
Compare
refactor(test_llmintegration.py): restructure tests to use fixtures for AgentOps and clients, enhancing maintainability and readability
37930fe
to
dec928e
Compare
the branch backing this PR was 150-180 commits behind before recently rebasing; something must've got in between. From internal discussions it emerged that now-deprecated |
📥 Pull Request
📘 Description
The problem occurs because:
🧪 Testing
Test Coverage
Validation Results