Skip to content
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

Update unit tests to catch up with langchain-core #743

Merged
merged 15 commits into from
Sep 6, 2024
Merged

Conversation

eyurtsev
Copy link
Collaborator

@eyurtsev eyurtsev commented Sep 6, 2024

Updating the unit tests to catch up with langchain-core. No adjustements should
be necessary to user code, the issues manifest themselves only with the given
test set up (e.g., snapshots). langchain-core changes were either additive or
self-consistent.

@cla-bot cla-bot bot added the cla-signed label Sep 6, 2024
assert (
tracer.runs[0].child_runs[0].extra["kwargs"]["name"] == "add_one_or_passthrough"
)
# Picking up the run from the server side, and client side should also log a run
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks like funkiness created by the fact that we're testing the client and the server in the same process AND using contextvars in langchain-core to propagate the config (so looks like a test only artifact)

@eyurtsev eyurtsev merged commit 41a9d79 into main Sep 6, 2024
11 checks passed
@eyurtsev eyurtsev deleted the eugene/update_tests branch September 6, 2024 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant