mirror of
https://github.com/langchain-ai/langserve.git
synced 2026-07-01 20:14:01 -04:00
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/langchain-ai/langserve/pull/425
Author: @eyurtsev
Created: 1/26/2024
Status: ✅ Merged
Merged: 1/27/2024
Merged by: @eyurtsev
Base:
main← Head:eugene/fix_serialization_of_config📝 Commits (3)
e69148axbeb8997x4c9ad07x📊 Changes
3 files changed (+140 additions, -15 deletions)
View changed files
📝
langserve/client.py(+71 -13)➕
tests/unit_tests/test_remote_client.py(+0 -0)📝
tests/unit_tests/test_server_client.py(+69 -2)📄 Description
This PR drops all non json serializable values in the config prior to sending the config to the server.
This seems like the correct behavior in general, which is why it's being merged without exposing a way to control it.
Any non serializable value seem to be used only locallly by the runnable or something that wraps. Server side configurable runnables are supposed to only exposed configuration that is trivially json serializable because that's how configurable runnables were designed.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.