KEMBAR78
Update unit tests to catch up with langchain-core by eyurtsev · Pull Request #743 · langchain-ai/langserve · GitHub
Skip to content

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
10 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